/* =========================================================
   NENEL GROUP — Predlog dizajna
   Smer: Moderan industrijski / precizno inženjerski "blueprint"
   Boje iz logoa: signalna plava #2EA3E0 + čelično siva
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800;900&family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

:root {
  --ink:        #0B1116;
  --panel:      #101922;
  --panel-2:    #16222C;
  --blue:       #2EA3E0;
  --blue-bright:#5CC5F7;
  --copper:     #E0A24A;   /* topli akcent — samo za "dobra volja" / ljudsku stranu */
  --steel:      #8A99A5;
  --steel-dim:  #5E6E7A;
  --line:       rgba(255,255,255,.09);
  --line-strong:rgba(255,255,255,.16);
  --paper:      #F4F6F8;
  --paper-2:    #E9EDF1;
  --paper-ink:  #0B1116;
  --paper-line: rgba(11,17,22,.10);

  --maxw: 1240px;
  --gut: clamp(20px, 5vw, 64px);

  --f-display: 'Archivo', system-ui, sans-serif;
  --f-body: 'IBM Plex Sans', system-ui, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  background: var(--ink);
  color: #E8EDF1;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }

/* ---------- Utility / spec labels ---------- */
.mono {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
}
.mono-dim { color: var(--steel-dim); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-mono);
  font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--blue);
}

/* ---------- Headings ---------- */
h1,h2,h3 { font-family: var(--f-display); font-weight: 800; line-height: 1.02; margin: 0; letter-spacing: -.01em; }
.h-xl { font-size: clamp(2.6rem, 6.6vw, 5.4rem); font-weight: 900; letter-spacing: -.025em; }
.h-lg { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.h-md { font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.24rem); color: var(--steel); max-width: 60ch; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,17,22,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: .9rem; }
.brand img { height: 30px; width: auto; }
.brand .tag {
  font-family: var(--f-mono); font-size: .6rem; letter-spacing: .16em;
  color: var(--steel-dim); text-transform: uppercase;
  border-left: 1px solid var(--line-strong); padding-left: .9rem; line-height: 1.3;
  max-width: 130px;
}
.menu { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.menu a {
  font-size: .82rem; font-weight: 500; letter-spacing: .02em; color: #C6D0D8;
  position: relative; padding: .3rem 0; transition: color .2s;
}
.menu a:hover, .menu a.active { color: #fff; }
.menu a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--blue);
}
.nav-cta {
  font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--line-strong); padding: .62rem 1.1rem; border-radius: 2px;
  color: #fff; transition: all .2s;
}
.nav-cta:hover { background: var(--blue); border-color: var(--blue); color: #04121b; }
.burger { display: none; }

/* =========================================================
   BLUEPRINT BACKGROUND (signature)
   ========================================================= */
.blueprint {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  background-image:
    linear-gradient(rgba(46,163,224,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,163,224,.055) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 90% 80% at 70% 30%, #000 40%, transparent 100%);
}
.tick {
  position: absolute; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .14em;
  color: var(--steel-dim); text-transform: uppercase;
}
.crosshair { position: absolute; width: 14px; height: 14px; }
.crosshair::before, .crosshair::after {
  content:""; position:absolute; background: rgba(46,163,224,.5);
}
.crosshair::before { left:50%; top:0; bottom:0; width:1px; transform:translateX(-.5px); }
.crosshair::after { top:50%; left:0; right:0; height:1px; transform:translateY(-.5px); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; padding: clamp(40px, 6.5vh, 78px) 0 clamp(44px, 6vh, 78px); overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(2rem,4vw,3.4rem); align-items: center; }
.hero-copy { min-width: 0; }
.hero h1 { margin-bottom: 1.4rem; }
.hero h1 .accent { color: var(--blue); }

/* inline metrics row (fills left column) */
.hero-metrics { display: grid; grid-template-columns: repeat(4, auto); gap: clamp(1.2rem, 3vw, 2.4rem); margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.hero-metrics > div { display: flex; flex-direction: column; }
.hero-metrics .v { font-family: var(--f-display); font-weight: 900; font-size: clamp(1.5rem, 2.4vw, 2.05rem); letter-spacing: -.02em; line-height: 1; }
.hero-metrics .v small { font-size: .55em; color: var(--blue); font-weight: 700; }
.hero-metrics .k { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-dim); margin-top: .5rem; }

/* hero visual: schematic + readout */
.hero-visual { display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
.schem-frame { position: relative; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(22,34,44,.5), rgba(16,25,34,.15)); padding: 2rem 1.3rem 1.1rem; }
.schem-corner { position: absolute; top: -1px; left: -1px; font-family: var(--f-mono); font-size: .58rem; letter-spacing: .14em; color: #04121b; background: var(--blue); padding: .24rem .6rem; }
.schematic { width: 100%; height: auto; display: block; }
.schematic .ln { fill: none; stroke: var(--blue); stroke-width: 1.3; stroke-linejoin: round; }
.schematic .ln-dim { fill: none; stroke: var(--steel-dim); stroke-width: 1; }
.schematic .fill { fill: rgba(46,163,224,.07); stroke: var(--blue); stroke-width: 1.3; stroke-linejoin: round; }
.schematic .cl { stroke: rgba(46,163,224,.55); stroke-width: 1; stroke-dasharray: 5 5; }
.schematic .dot { fill: var(--blue-bright); }
.schematic .lbl { fill: var(--steel); font-family: var(--f-mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.schematic .lbl-b { fill: var(--blue); font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; }
.readout--wide .v { font-size: 1rem; font-family: var(--f-mono); font-weight: 500; }
.readout--wide .readout-row { padding: .7rem 0; }
.slogan {
  display: inline-block; font-family: var(--f-mono); font-size: .8rem; letter-spacing: .28em;
  text-transform: uppercase; color: #fff; padding: .5rem .9rem; margin-bottom: 2rem;
  border: 1px solid var(--line-strong); border-left: 2px solid var(--copper);
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.4rem; }
.btn {
  display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .92rem;
  padding: .95rem 1.5rem; border-radius: 2px; transition: all .22s; border: 1px solid transparent;
}
.btn-primary { background: var(--blue); color: #04121b; }
.btn-primary:hover { background: var(--blue-bright); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line-strong); color: #fff; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn .arw { font-family: var(--f-mono); }

/* readout panel (right side of hero) */
.readout {
  border: 1px solid var(--line); background: linear-gradient(180deg, rgba(22,34,44,.6), rgba(16,25,34,.3));
  padding: 1.4rem; position: relative;
}
.readout::before {
  content: "// SISTEM"; position: absolute; top: -1px; left: -1px;
  font-family: var(--f-mono); font-size: .6rem; letter-spacing: .16em; color: #04121b;
  background: var(--blue); padding: .25rem .6rem;
}
.readout-row { display: flex; justify-content: space-between; align-items: baseline; padding: .85rem 0; border-bottom: 1px dashed var(--line); }
.readout-row:last-child { border-bottom: 0; }
.readout-row .k { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; color: var(--steel-dim); text-transform: uppercase; }
.readout-row .v { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; }
.readout-row .v small { font-size: .8rem; color: var(--blue); font-weight: 600; }

/* =========================================================
   MARQUEE / brand strip
   ========================================================= */
.brandstrip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); }
.brandstrip .wrap { display: flex; align-items: center; gap: 2.5rem; padding-block: 1.4rem; flex-wrap: wrap; justify-content: space-between; }
.brandstrip .label { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .16em; color: var(--steel-dim); text-transform: uppercase; white-space: nowrap; }
.brand-list { display: flex; gap: clamp(1.4rem, 4vw, 3rem); flex-wrap: wrap; }
.brand-list span { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; color: #9FB0BC; letter-spacing: .02em; transition: color .2s; }
.brand-list span:hover { color: #fff; }

/* =========================================================
   SECTION scaffolding
   ========================================================= */
section { position: relative; }
.section { padding: clamp(64px, 10vh, 120px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 3.2rem; flex-wrap: wrap; }
.section-head .lead { margin-top: 1rem; }
.idx { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .16em; color: var(--steel-dim); }

/* Light section variant */
.section--paper { background: var(--paper); color: var(--paper-ink); }
.section--paper .lead { color: #46545e; }
.section--paper .eyebrow { color: #1a7fb8; }
.section--paper .eyebrow::before { background: #1a7fb8; }
.section--paper .idx { color: #91a0aa; }

/* =========================================================
   DIRECTOR'S WORD
   ========================================================= */
.director { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem,5vw,4.5rem); align-items: start; }
.director-card {
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); padding: 2rem; position: relative;
}
.director-card .mark { font-family: var(--f-display); font-size: 5rem; line-height: .6; color: var(--copper); }
.director .name { font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; margin-top: 1.4rem; }
.director .role { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; color: var(--steel-dim); text-transform: uppercase; margin-top: .3rem; }
.director blockquote { margin: 0; font-size: clamp(1.15rem, 1.9vw, 1.55rem); font-weight: 500; line-height: 1.5; color: #DCE4EA; }
.director blockquote .hl { color: #fff; box-shadow: inset 0 -.5em 0 rgba(46,163,224,.22); }
.director .since { font-family: var(--f-display); font-weight: 900; font-size: clamp(3rem,7vw,5rem); color: transparent; -webkit-text-stroke: 1px var(--line-strong); letter-spacing: -.03em; }

/* =========================================================
   BRAND INDEX (cards)
   ========================================================= */
.grid-cards { display: grid; gap: 1px; background: var(--paper-line); border: 1px solid var(--paper-line); }
.grid-cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--paper); padding: 1.8rem 1.6rem 1.6rem; position: relative;
  display: flex; flex-direction: column; min-height: 210px; transition: background .2s;
}
.card:hover { background: #fff; }
.card .num { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; color: #9aa8b2; }
.card h3 { font-size: 1.5rem; margin: .8rem 0 .4rem; color: var(--paper-ink); }
.card .cat { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #1a7fb8; }
.card p { font-size: .9rem; color: #56636d; margin: .7rem 0 0; }
.card .go { margin-top: auto; padding-top: 1.2rem; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; color: var(--paper-ink); display: flex; align-items: center; gap: .5rem; }
.card .go .arw { color: var(--blue); transition: transform .2s; }
.card:hover .go .arw { transform: translateX(5px); }
.card::after { content:""; position:absolute; left:0; top:0; width:0; height:2px; background: var(--blue); transition: width .28s; }
.card:hover::after { width: 100%; }

/* =========================================================
   EQUIPMENT categories (dark)
   ========================================================= */
.equip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.equip .cell { background: var(--panel); padding: 1.6rem 1.4rem; min-height: 180px; display: flex; flex-direction: column; transition: background .2s; }
.equip .cell:hover { background: var(--panel-2); }
.equip .cell .ic { width: 34px; height: 34px; border: 1px solid var(--blue); display: grid; place-items: center; color: var(--blue); margin-bottom: 1.1rem; font-family: var(--f-mono); font-size: .8rem; }
.equip .cell h4 { font-family: var(--f-display); font-weight: 700; font-size: 1.12rem; margin: 0 0 .4rem; }
.equip .cell p { font-size: .82rem; color: var(--steel); margin: 0; }
.equip .cell .n { margin-top: auto; font-family: var(--f-mono); font-size: .66rem; color: var(--steel-dim); letter-spacing: .1em; padding-top: 1rem; }

/* =========================================================
   SERVICES
   ========================================================= */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.svc { border-top: 2px solid var(--line-strong); padding-top: 1.4rem; transition: border-color .2s; }
.svc:hover { border-color: var(--blue); }
.svc .no { font-family: var(--f-mono); font-size: .72rem; color: var(--blue); letter-spacing: .14em; }
.svc h4 { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; margin: 1rem 0 .5rem; }
.svc p { font-size: .9rem; color: var(--steel); margin: 0; }

/* =========================================================
   STATS band
   ========================================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.stat { padding: 2.2rem 1.6rem; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .v { font-family: var(--f-display); font-weight: 900; font-size: clamp(2.4rem, 4vw, 3.4rem); letter-spacing: -.03em; }
.stat .v .u { color: var(--blue); }
.stat .k { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-dim); margin-top: .4rem; }

/* =========================================================
   CTA
   ========================================================= */
.cta { position: relative; overflow: hidden; }
.cta .wrap { position: relative; z-index: 2; text-align: center; padding-block: clamp(70px, 12vh, 130px); }
.cta h2 { margin-bottom: 1.4rem; }
.cta .lead { margin: 0 auto 2.4rem; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: #070C10; border-top: 1px solid var(--line); padding: clamp(50px,8vh,80px) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer .brand img { height: 28px; }
.footer h5 { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--steel-dim); margin: 0 0 1.2rem; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .7rem; }
.footer a { font-size: .9rem; color: #A9B6C0; transition: color .2s; }
.footer a:hover { color: var(--blue); }
.footer .contact-line { font-size: .9rem; color: #A9B6C0; margin-bottom: .6rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 3.5rem; padding-top: 1.6rem; border-top: 1px solid var(--line); flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em; color: var(--steel-dim); margin: 0; }

/* =========================================================
   INNER PAGE — breadcrumb + brand hero
   ========================================================= */
.crumb { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; color: var(--steel-dim); text-transform: uppercase; }
.crumb a:hover { color: var(--blue); }
.crumb .sep { color: var(--line-strong); margin: 0 .5rem; }

.brandhero { position: relative; overflow: hidden; padding: clamp(50px,9vh,100px) 0 clamp(40px,7vh,80px); border-bottom: 1px solid var(--line); }
.brandhero .wrap { position: relative; z-index: 2; }
.brandhero .kicker { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .2em; color: var(--blue); text-transform: uppercase; }
.brandhero h1 { margin: 1.2rem 0; }
.brandhero .origin { display: inline-flex; gap: 1.4rem; flex-wrap: wrap; margin-top: 1.4rem; }
.brandhero .origin div { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; color: var(--steel); }
.brandhero .origin b { color: #fff; display: block; font-size: 1rem; letter-spacing: 0; margin-top: .2rem; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .director { grid-template-columns: 1fr; }
  .grid-cards.cols-3, .grid-cards.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .equip { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .menu, .nav-cta { display: none; }
  .burger { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-strong); color: #fff; font-size: 1.2rem; }
  .brand .tag { display: none; }
  .grid-cards.cols-3, .grid-cards.cols-4, .equip, .services, .stats { grid-template-columns: 1fr; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 1rem; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; }
  .brandstrip .wrap { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
}

/* focus */
a:focus-visible, .btn:focus-visible, .nav-cta:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; }
