/* =============================================
   MARKING SYSTEM d.o.o. — Glavni CSS
   Paleta: CRNA · CRVENA · BIJELA
   ============================================= */

/* --- Varijable --- */
:root {
  --black:        #0d0d0d;
  --black-soft:   #1a1a1a;
  --black-light:  #262626;
  --primary:      #0d0d0d;
  --primary-dark: #000000;
  --accent:       #e30613;
  --accent-hover: #b8050f;
  --accent-soft:  rgba(227, 6, 19, .10);
  --light-bg:     #f5f5f5;
  --light-bg-2:   #ebebeb;
  --white:        #ffffff;
  --text:         #141414;
  --text-muted:   #6e6e6e;
  --border:       #e0e0e0;
  --border-dark:  #d0d0d0;
  --shadow:       0 4px 24px rgba(0,0,0,.10);
  --shadow-lg:    0 12px 40px rgba(0,0,0,.18);
  --radius:       10px;
  --radius-lg:    16px;
  --transition:   .25s ease;
  --nav-h:        74px;
  --font:         'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* --- Reset & base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img  { display: block; max-width: 100%; height: auto; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* --- Utility --- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.section    { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.text-center { text-align: center; }
.tag { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--black); margin-bottom: 14px; line-height: 1.25; }
.section-sub   { font-size: 1.05rem; color: var(--text-muted); max-width: 640px; margin: 0 auto 48px; }
.divider { width: 52px; height: 4px; background: var(--accent); border-radius: 2px; margin: 12px auto 0; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius);
  font-size: .95rem; font-weight: 700; letter-spacing: .02em;
  transition: var(--transition); white-space: nowrap;
  border: 2px solid transparent;
}
.btn-primary  { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(227,6,19,.35); }
.btn-outline  { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-dark     { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-dark:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(227,6,19,.28); }
.btn-ghost    { border-color: var(--black); color: var(--black); background: transparent; }
.btn-ghost:hover { background: var(--black); color: var(--white); }
.btn-sm { padding: 9px 20px; font-size: .875rem; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* =============================================
   NAVIGACIJA
   ============================================= */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition), background var(--transition);
}
.navbar.scrolled {
  background: var(--white);
  box-shadow: 0 4px 24px rgba(0,0,0,.13);
}
.navbar::after {
  content: '';
  position: absolute; bottom: -1px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 26%, transparent 26%);
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
}
.nav-logo img { height: 44px; width: auto; }
.nav-logo span { font-size: 1.15rem; font-weight: 800; color: var(--black); letter-spacing: .04em; }

/* Desktop menu */
.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }

.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 10px 14px;
  color: var(--text);
  font-size: .875rem; font-weight: 600; letter-spacing: .02em;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.nav-link:hover,
.nav-item.hovered > .nav-link {
  color: var(--accent);
  background: var(--accent-soft);
}
.nav-link.active { color: var(--accent); }
.nav-link .chevron {
  width: 14px; height: 14px; opacity: .7;
  transition: transform var(--transition);
}
.nav-item.hovered .chevron { transform: rotate(180deg); }

/* ---------- DROPDOWN — HARMONIKA SA PODGRUPAMA ---------- */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 340px;
  padding-top: 12px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 1001;
}
/* nevidljivi most — miš ne gubi hover pri prelasku */
.dropdown::before {
  content: '';
  position: absolute;
  top: 0; left: -16px; right: -16px;
  height: 16px;
}
/* panel uz desnu ivicu ako bi iscurio iz ekrana */
.dropdown.align-right { left: auto; right: 0; }

.nav-item.hovered > .dropdown {
  opacity: 1; visibility: visible; pointer-events: all; transform: translateY(0);
}

.dropdown-inner {
  background: var(--white);
  border: 1px solid var(--border-dark);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(0,0,0,.22);
  overflow: hidden;
}

/* Spisak podgrupa */
.acc-wrap {
  max-height: calc(100vh - var(--nav-h) - 90px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px 0;
}
.acc-wrap::-webkit-scrollbar { width: 8px; }
.acc-wrap::-webkit-scrollbar-track { background: var(--light-bg); }
.acc-wrap::-webkit-scrollbar-thumb { background: var(--border-dark); border-radius: 4px; }
.acc-wrap::-webkit-scrollbar-thumb:hover { background: var(--accent); }

.acc-group { border-bottom: 1px solid var(--border); }
.acc-group:last-child { border-bottom: none; }

/* Zaglavlje podgrupe — klikom se otvara */
.acc-head {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 13px 18px;
  text-align: left;
  font-size: .875rem; font-weight: 700; letter-spacing: .01em;
  color: var(--text);
  background: transparent;
  transition: background var(--transition), color var(--transition);
}
.acc-head:hover { background: var(--light-bg); color: var(--accent); }
.acc-head span { flex: 1; line-height: 1.35; }
.acc-chevron {
  width: 15px; height: 15px; flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--transition), color var(--transition);
}
.acc-head:hover .acc-chevron { color: var(--accent); }

/* Otvorena podgrupa */
.acc-group.is-open > .acc-head { background: var(--light-bg); color: var(--accent); }
.acc-group.is-open > .acc-head .acc-chevron { transform: rotate(180deg); color: var(--accent); }

/* Stavke podgrupe */
.acc-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 18px;
}
.acc-group.is-open > .acc-list { max-height: 1400px; padding: 4px 18px 10px; }
.acc-list li { border-bottom: 1px solid var(--border); }
.acc-list li:last-child { border-bottom: none; }
.acc-list a {
  display: block;
  padding: 9px 10px;
  font-size: .855rem; font-weight: 500;
  color: var(--text-muted);
  border-left: 2px solid transparent;
  border-radius: 0 5px 5px 0;
  transition: background var(--transition), color var(--transition),
              padding-left var(--transition), border-color var(--transition);
}
.acc-list a:hover {
  background: var(--accent-soft);
  color: var(--accent);
  border-left-color: var(--accent);
  padding-left: 14px;
}

/* Podnožje panela */
.acc-foot {
  border-top: 1px solid var(--border-dark);
  background: var(--light-bg);
  padding: 11px 18px;
  text-align: center;
}
.acc-foot a {
  display: block;
  font-size: .83rem; font-weight: 800;
  color: var(--black);
  transition: color var(--transition);
}
.acc-foot a:hover { color: var(--accent); }

/* Aktivna stranica */
.nav-link.active-page { color: var(--accent); }

/* B2B badge */
.btn-b2b {
  margin-left: 12px;
  background: var(--accent); color: var(--white) !important;
  padding: 9px 20px; border-radius: var(--radius);
  font-size: .82rem; font-weight: 800; letter-spacing: .05em;
  text-transform: uppercase;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-b2b:hover {
  background: var(--accent-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(227,6,19,.45);
}

/* Hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: var(--black); border-radius: 2px; transition: var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); background: var(--accent); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); background: var(--accent); }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 55% at 82% 18%, rgba(227,6,19,.10) 0%, transparent 62%),
    radial-gradient(ellipse 55% 45% at 5% 88%, rgba(227,6,19,.055) 0%, transparent 58%),
    linear-gradient(165deg, #ffffff 0%, #fafafa 50%, #f2f2f2 100%);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: var(--nav-h);
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Cpath d='M0 0h1v60H0zM0 0h60v1H0z' fill='rgba(0,0,0,.035)'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
/* crveni dijagonalni akcent */
.hero::after {
  content: '';
  position: absolute;
  top: 0; right: -6%;
  width: 5px; height: 140%;
  background: var(--accent);
  transform: rotate(14deg);
  opacity: .75;
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  padding: 80px 0 60px;
  position: relative; z-index: 2;
}
.hero-tag {
  font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--white); background: var(--accent);
  display: inline-block; padding: 7px 16px; border-radius: 4px;
  margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.3rem);
  font-weight: 900; color: var(--black);
  line-height: 1.12; margin-bottom: 20px;
  letter-spacing: -.015em;
}
.hero-title span { color: var(--accent); }
.hero-sub {
  font-size: 1.05rem; color: var(--text-muted);
  margin-bottom: 36px; max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stat { position: relative; padding-left: 16px; }
.hero-stat::before {
  content: ''; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 3px; background: var(--accent); border-radius: 2px;
}
.hero-stat strong { display: block; font-size: 2rem; font-weight: 900; color: var(--black); line-height: 1.1; }
.hero-stat span { font-size: .85rem; color: var(--text-muted); }

/* Brand kartice na heru */
.hero-brands { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-brand-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  position: relative; overflow: hidden;
}
.hero-brand-card::after {
  content: ''; position: absolute; top: 0; left: 0; width: 0; height: 3px;
  background: var(--accent); transition: width var(--transition);
}
.hero-brand-card:hover {
  box-shadow: 0 14px 34px rgba(0,0,0,.13);
  border-color: rgba(227,6,19,.45);
  transform: translateY(-5px);
}
.hero-brand-card:hover::after { width: 100%; }
/* Ploča sa logotipom brenda */
.hero-brand-card .hbc-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 58px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  transition: border-color var(--transition);
}
.hero-brand-card .hbc-logo img {
  max-width: 100%;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition);
}
/* Široki wordmarkovi (Trotec, Trodat) — niži */
.hbc-logo--wide img    { max-height: 32px; }
/* Kompaktni znakovi (Mitril, Vivid) — viši, da imaju istu težinu */
.hbc-logo--kompakt img { max-height: 46px; }
.hero-brand-card:hover .hbc-logo { border-bottom-color: rgba(227,6,19,.35); }
.hero-brand-card:hover .hbc-logo img { transform: scale(1.04); }
.hero-brand-card h3 { color: var(--black); font-size: 1rem; font-weight: 800; margin-bottom: 5px; letter-spacing: .03em; }
.hero-brand-card p { color: var(--text-muted); font-size: .8rem; line-height: 1.45; }

/* =============================================
   BRENDOVI STRIP
   ============================================= */
.brands-strip { background: var(--black); border-bottom: 3px solid var(--accent); padding: 30px 0; }
.brands-logos { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.brands-logos .brand-name {
  font-size: 1.1rem; font-weight: 900; letter-spacing: .08em;
  color: rgba(255,255,255,.45);
  transition: color var(--transition);
  position: relative; padding-bottom: 4px;
}
.brands-logos .brand-name::after {
  content: ''; position: absolute; bottom: 0; left: 50%; right: 50%;
  height: 2px; background: var(--accent);
  transition: left var(--transition), right var(--transition);
}
.brands-logos .brand-name:hover { color: var(--white); }
.brands-logos .brand-name:hover::after { left: 0; right: 0; }

/* =============================================
   PRODUCT CARDS
   ============================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; margin-top: 48px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  position: relative; overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.product-card:hover::before { transform: scaleX(1); }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: var(--border-dark); }

.card-icon { font-size: 2.4rem; margin-bottom: 14px; }
.card-brand { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.card-title { font-size: 1.1rem; font-weight: 800; color: var(--black); margin-bottom: 10px; }
.card-desc { font-size: .9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; }
.card-features { margin-bottom: 22px; }
.card-features li {
  font-size: .85rem; color: var(--text-muted); padding: 4px 0 4px 20px;
  position: relative;
}
.card-features li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--accent); font-weight: 800; font-size: .82rem;
}
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .875rem; font-weight: 800; color: var(--black);
  transition: color var(--transition), gap var(--transition);
}
.card-link:hover { color: var(--accent); gap: 10px; }
.card-link::after { content: '→'; }

/* =============================================
   BRAND SEKCIJE
   ============================================= */
.brand-section { padding: 80px 0; }
.brand-section-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.brand-section-inner.reverse { direction: rtl; }
.brand-section-inner.reverse > * { direction: ltr; }

.brand-section-visual {
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex; align-items: center; justify-content: center;
  min-height: 340px;
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #000000 0%, #1c1c1c 100%);
}
.brand-section-visual::before {
  content: '';
  position: absolute; top: -20%; left: -10%;
  width: 60%; height: 140%;
  background: linear-gradient(90deg, transparent, rgba(227,6,19,.18), transparent);
  transform: rotate(18deg);
}
.brand-section-visual::after {
  content: '';
  position: absolute; bottom: -40px; right: -40px;
  width: 200px; height: 200px;
  border: 3px solid rgba(227,6,19,.35);
  border-radius: 50%;
}
/* varijante — svaka sa različitim intenzitetom crvene */
.visual-accent-strong { background: linear-gradient(150deg, #1a0002 0%, #4a0207 55%, #0d0d0d 100%); }
.visual-accent-mid    { background: linear-gradient(150deg, #000000 0%, #2a0004 60%, #141414 100%); }
.visual-accent-soft   { background: linear-gradient(150deg, #0a0a0a 0%, #1c1c1c 60%, #000000 100%); }

.brand-visual-text {
  font-size: 5.5rem; text-align: center; font-weight: 900;
  color: rgba(255,255,255,.10);
  letter-spacing: -.02em; line-height: 1;
  position: relative; z-index: 2;
}
.brand-visual-sub {
  text-align: center; color: rgba(255,255,255,.6);
  font-size: .95rem; margin-top: 14px; letter-spacing: .05em;
  position: relative; z-index: 2;
}
.brand-visual-icon { font-size: 5rem; text-align: center; position: relative; z-index: 2; }

.brand-section-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800;
  color: var(--black); margin-bottom: 16px; line-height: 1.25;
}
.brand-section-content p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.75; }
.brand-section-content .btn { margin-top: 10px; }

.subcategory-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.subcategory-list a {
  display: inline-block; padding: 6px 14px;
  border: 1.5px solid var(--border-dark); border-radius: 50px;
  font-size: .8rem; font-weight: 600; color: var(--text-muted);
  transition: all var(--transition);
}
.subcategory-list a:hover {
  border-color: var(--accent); color: var(--accent);
  background: var(--accent-soft);
}

/* =============================================
   STATISTIKE
   ============================================= */
.stats-band {
  background:
    radial-gradient(ellipse 70% 100% at 50% 0%, rgba(227,6,19,.18) 0%, transparent 70%),
    var(--black);
  padding: 64px 0;
  border-top: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; text-align: center;
}
.stat-item { position: relative; }
.stat-item:not(:last-child)::after {
  content: ''; position: absolute; right: -12px; top: 15%; bottom: 15%;
  width: 1px; background: rgba(255,255,255,.12);
}
.stat-item strong {
  display: block; font-size: 2.8rem; font-weight: 900;
  color: var(--accent); line-height: 1; margin-bottom: 10px;
}
.stat-item span { font-size: .85rem; color: rgba(255,255,255,.5); }
.stat-item .stat-label {
  display: block; font-size: .95rem; font-weight: 700;
  color: var(--white); margin-bottom: 3px;
}

/* =============================================
   KATALOZI
   ============================================= */
.katalozi-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px; margin-top: 40px;
}
.katalog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  position: relative; overflow: hidden;
}
.katalog-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--accent); transform: scaleX(0);
  transition: transform var(--transition);
}
.katalog-card:hover::before { transform: scaleX(1); }
.katalog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.katalog-icon { font-size: 2.8rem; margin-bottom: 14px; }
.katalog-card h3 { font-size: 1rem; font-weight: 800; color: var(--black); margin-bottom: 8px; }
.katalog-card p { font-size: .84rem; color: var(--text-muted); margin-bottom: 20px; line-height: 1.6; }
.katalog-card .btn { width: 100%; justify-content: center; }
.katalog-card--featured { border: 2px dashed var(--accent); background: var(--accent-soft); }

/* =============================================
   PAGE HERO (podstranice)
   ============================================= */
.page-hero {
  background:
    radial-gradient(ellipse 70% 90% at 50% 0%, rgba(227,6,19,.10) 0%, transparent 68%),
    linear-gradient(165deg, #ffffff 0%, #f7f7f7 100%);
  padding: 130px 0 68px;
  text-align: center;
  border-bottom: 3px solid var(--accent);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 0h1v60H0zM0 0h60v1H0z' fill='rgba(0,0,0,.03)'/%3E%3C/svg%3E") repeat;
}
.page-hero > .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 900; color: var(--black); margin-bottom: 14px; letter-spacing: -.015em; }
.page-hero p { font-size: 1.08rem; color: var(--text-muted); max-width: 580px; margin: 0 auto; }

/* =============================================
   O NAMA
   ============================================= */
.o-nama-content { padding: 72px 0; }
.o-nama-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; margin-bottom: 64px; }
.o-nama-text h2 {
  font-size: 1.5rem; font-weight: 800; color: var(--black); margin-bottom: 18px;
  padding-left: 14px; position: relative;
}
.o-nama-text h2::before {
  content: ''; position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 4px; background: var(--accent); border-radius: 2px;
}
.o-nama-text p { color: var(--text-muted); margin-bottom: 14px; line-height: 1.78; }
.o-nama-text strong { color: var(--text); }

.section-heading-center {
  font-size: 1.5rem; font-weight: 800; color: var(--black);
  margin-bottom: 28px; text-align: center;
}
.section-heading-center::after {
  content: ''; display: block; width: 48px; height: 3px;
  background: var(--accent); border-radius: 2px; margin: 12px auto 0;
}

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card {
  background: var(--light-bg); border-radius: var(--radius);
  padding: 26px 22px;
  border-left: 4px solid var(--accent);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: var(--white); }
.value-card .icon { font-size: 2rem; margin-bottom: 12px; }
.value-card h4 { font-size: .98rem; font-weight: 800; color: var(--black); margin-bottom: 7px; }
.value-card p { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }

.brand-highlight {
  background: linear-gradient(120deg, #000000 0%, #1a1a1a 100%);
  border-radius: var(--radius-lg); padding: 32px 34px;
  display: flex; align-items: flex-start; gap: 22px;
  margin-bottom: 16px;
  border-left: 5px solid var(--accent);
  transition: transform var(--transition);
  position: relative; overflow: hidden;
}
.brand-highlight::after {
  content: ''; position: absolute; top: -30%; right: -5%;
  width: 200px; height: 160%;
  background: linear-gradient(90deg, transparent, rgba(227,6,19,.12), transparent);
  transform: rotate(20deg);
}
.brand-highlight:hover { transform: translateX(6px); }
.brand-highlight .bh-icon { font-size: 2.4rem; flex-shrink: 0; position: relative; z-index: 2; }
.brand-highlight > div:last-child { position: relative; z-index: 2; }
.brand-highlight h3 { color: var(--white); font-weight: 800; font-size: 1.02rem; margin-bottom: 7px; }
.brand-highlight p  { color: rgba(255,255,255,.68); font-size: .89rem; line-height: 1.65; }

.quote-block {
  border-left: 4px solid var(--accent);
  padding: 18px 22px;
  margin: 22px 0;
  background: var(--light-bg);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.12rem; font-weight: 800;
  color: var(--black);
  letter-spacing: .01em;
}

/* =============================================
   KONTAKT
   ============================================= */
.kontakt-section { padding: 72px 0; }
.kontakt-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 52px; }

.kontakt-info h2 {
  font-size: 1.4rem; font-weight: 800; color: var(--black); margin-bottom: 10px;
  padding-left: 14px; position: relative;
}
.kontakt-info h2::before {
  content: ''; position: absolute; left: 0; top: 5px; bottom: 5px;
  width: 4px; background: var(--accent); border-radius: 2px;
}
.kontakt-block { display: flex; gap: 16px; margin-bottom: 26px; }
.kontakt-block .kb-icon {
  width: 46px; height: 46px; border-radius: var(--radius);
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; flex-shrink: 0;
  transition: background var(--transition);
}
.kontakt-block:hover .kb-icon { background: var(--accent); }
.kontakt-block h4 {
  font-size: .76rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 5px;
}
.kontakt-block p, .kontakt-block a { font-size: .95rem; color: var(--text); font-weight: 600; line-height: 1.6; }
.kontakt-block a:hover { color: var(--accent); }

.kontakt-form-wrap {
  background: var(--white); border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-lg); padding: 38px;
  box-shadow: var(--shadow);
}
.kontakt-form-wrap h2 { font-size: 1.35rem; font-weight: 800; color: var(--black); margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .82rem; font-weight: 700; color: var(--text); margin-bottom: 7px; letter-spacing: .02em; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius);
  font: inherit; font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-submit { width: 100%; justify-content: center; padding: 15px; font-size: 1rem; }

.legal-box {
  margin-top: 28px; padding: 20px;
  background: var(--light-bg); border-radius: var(--radius);
  border-left: 4px solid var(--black);
}
.legal-box h4 {
  font-size: .76rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px;
}
.legal-box p { font-size: .84rem; color: var(--text-muted); line-height: 1.75; }

.social-inline { display: flex; gap: 18px; }
.social-inline a {
  display: flex; align-items: center; gap: 8px;
  font-size: .9rem; font-weight: 700; color: var(--black);
  transition: color var(--transition);
}
.social-inline a:hover { color: var(--accent); }

.map-section { background: var(--light-bg); padding: 0; border-top: 3px solid var(--accent); }
.map-section iframe { display: block; width: 100%; height: 420px; border: none; filter: grayscale(35%); }

/* =============================================
   CTA BLOKOVI
   ============================================= */
.cta-band {
  background:
    radial-gradient(ellipse 60% 100% at 80% 50%, rgba(227,6,19,.22) 0%, transparent 65%),
    var(--black);
  padding: 62px 0;
  border-top: 3px solid var(--accent);
}
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 26px; }
.cta-band h2 { color: var(--white); font-size: 1.65rem; font-weight: 800; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.65); max-width: 480px; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.cta-light { background: var(--light-bg); padding: 66px 0; }
.cta-light h2 { font-size: 1.65rem; font-weight: 800; color: var(--black); margin-bottom: 12px; }
.cta-light p { color: var(--text-muted); margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }

.info-box {
  margin-top: 52px; background: var(--black);
  border-radius: var(--radius-lg); padding: 38px;
  display: flex; gap: 22px; align-items: flex-start; flex-wrap: wrap;
  border-left: 5px solid var(--accent);
}
.info-box .ib-icon { font-size: 2.5rem; }
.info-box h3 { color: var(--white); font-weight: 800; margin-bottom: 10px; font-size: 1.1rem; }
.info-box p { color: rgba(255,255,255,.65); margin-bottom: 20px; max-width: 600px; line-height: 1.7; }

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--black);
  color: rgba(255,255,255,.65);
  padding: 62px 0 0;
  border-top: 3px solid var(--accent);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 48px;
}
.footer-brand .logo-text {
  color: var(--white); font-size: 1.12rem; font-weight: 900;
  margin-bottom: 14px; display: block; letter-spacing: .04em;
}
.footer-brand .logo-text::after {
  content: ''; display: block; width: 40px; height: 3px;
  background: var(--accent); margin-top: 10px; border-radius: 2px;
}
.footer-brand p { font-size: .88rem; line-height: 1.75; margin-bottom: 22px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 8px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700; color: var(--white);
  transition: background var(--transition), transform var(--transition);
}
.footer-social a:hover { background: var(--accent); transform: translateY(-2px); }

.footer-col h4 {
  color: var(--white); font-size: .82rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px;
  padding-bottom: 8px; border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: .875rem; transition: color var(--transition), padding-left var(--transition); }
.footer-col ul a:hover { color: var(--accent); padding-left: 4px; }
.footer-address { color: rgba(255,255,255,.42); font-size: .84rem; margin-top: 10px; line-height: 1.6; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .82rem; color: rgba(255,255,255,.42);
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,.42); }
.footer-bottom a:hover { color: var(--accent); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-brands { grid-template-columns: repeat(4, 1fr); }
  .brand-section-inner { grid-template-columns: 1fr; gap: 32px; }
  .brand-section-inner.reverse { direction: ltr; }
  .brand-section-visual { min-height: 240px; padding: 32px; }
  .brand-visual-text { font-size: 4rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .stat-item:not(:last-child)::after { display: none; }
  .o-nama-grid { grid-template-columns: 1fr; gap: 36px; }
  .kontakt-grid { grid-template-columns: 1fr; gap: 36px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .navbar::after { display: none; }
  .nav-menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--white);
    border-top: 3px solid var(--accent);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 0 22px;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    transform: translateY(-115%);
    transition: transform var(--transition);
    box-shadow: 0 14px 34px rgba(0,0,0,.22);
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-link { padding: 14px 20px; border-radius: 0; }
  .nav-link { border-bottom: 1px solid var(--border); }
  .nav-item.hovered > .nav-link { background: var(--accent-soft); }


  .btn-b2b { margin: 14px 20px 0; border-radius: var(--radius); text-align: center; justify-content: center; }
  .nav-toggle { display: flex; }

  .hero { min-height: auto; }
  .hero-title { font-size: 2rem; }
  .hero-brands { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 22px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .hero::after { display: none; }

  .products-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .katalozi-grid { grid-template-columns: 1fr 1fr; }
  .brands-logos { gap: 22px; }
  .brands-logos .brand-name { font-size: .95rem; }
  .cta-band-inner { flex-direction: column; }
  .brand-highlight { padding: 24px; flex-direction: column; gap: 14px; }
  .brand-highlight:hover { transform: none; }
  .section, .brand-section, .o-nama-content, .kontakt-section, .katalozi-page { padding: 52px 0; }
}

@media (max-width: 480px) {
  .hero-brands { grid-template-columns: 1fr; }
  .hero-brand-card .hbc-logo { height: 52px; margin-bottom: 12px; padding-bottom: 12px; }
  .hbc-logo--wide img    { max-height: 28px; }
  .hbc-logo--kompakt img { max-height: 40px; }
  .hero-brand-card .hbc-logo { height: 52px; margin-bottom: 12px; padding-bottom: 12px; }
  .hbc-logo--wide img    { max-height: 28px; }
  .hbc-logo--kompakt img { max-height: 40px; }
  .katalozi-grid { grid-template-columns: 1fr; }
  .hero-stat strong { font-size: 1.6rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .kontakt-form-wrap { padding: 24px; }
  .brand-visual-text { font-size: 2.8rem; }
}

/* =============================================
   ANIMACIJE
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .6s ease both; }
.fade-up-d1 { animation-delay: .1s; }
.fade-up-d2 { animation-delay: .2s; }
.fade-up-d3 { animation-delay: .3s; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =============================================
   SVG IKONE (crno / crveno / bijelo)
   ============================================= */
.card-icon, .katalog-icon,
.value-card .icon, .brand-highlight .bh-icon,
.kontakt-block .kb-icon, .info-box .ib-icon,
.brand-visual-icon {
  line-height: 0;
}
.card-icon svg         { width: 38px; height: 38px; color: var(--accent); }
.katalog-icon svg      { width: 44px; height: 44px; color: var(--accent); margin: 0 auto; }
.value-card .icon svg  { width: 30px; height: 30px; color: var(--accent); }
.brand-highlight .bh-icon svg { width: 34px; height: 34px; color: var(--accent); }
.kontakt-block .kb-icon svg   { width: 21px; height: 21px; color: var(--white); }
.info-box .ib-icon svg { width: 38px; height: 38px; color: var(--accent); }
.social-inline a svg   { width: 18px; height: 18px; }
.btn svg               { width: 17px; height: 17px; }

/* Hero title — bolje uklapanje */
.hero-title { font-size: clamp(1.9rem, 3.5vw, 2.9rem); max-width: 15ch; }


/* Logo */
.nav-logo img { height: 42px; }

/* Fokus stanja — pristupačnost */
a:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.navbar a:focus-visible { outline-color: var(--accent); }

@media (max-width: 768px) {
  .hero-title { max-width: none; }
}



@media (max-width: 1180px) {
}
@media (max-width: 960px) {
}
@media (max-width: 768px) {
  html, body { overflow-x: hidden; max-width: 100%; }
  .nav-menu { max-width: 100vw; overflow-x: hidden; }
}

/* ===== HARMONIKA MENI — MOBILNI ===== */
@media (max-width: 768px) {
  html, body { overflow-x: hidden; max-width: 100%; }
  .nav-menu { max-width: 100vw; }

  .dropdown {
    position: static;
    width: auto;
    padding-top: 0;
    opacity: 1; visibility: visible; pointer-events: all;
    transform: none;
    max-height: 0; overflow: hidden;
    transition: max-height .32s ease;
  }
  .dropdown::before { display: none; }
  .nav-item.open > .dropdown { max-height: 4000px; }
  .nav-item.open > .nav-link .chevron { transform: rotate(180deg); }

  .dropdown-inner {
    border: none; border-radius: 0; box-shadow: none;
    background: var(--light-bg);
  }
  .acc-wrap { max-height: none; overflow: visible; padding: 0; }

  .acc-head { padding: 12px 26px; font-size: .85rem; }
  .acc-list { padding: 0 26px; }
  .acc-group.is-open > .acc-list { padding: 2px 26px 8px; }
  .acc-list a { padding: 10px 12px; font-size: .85rem; }
  .acc-foot { padding: 12px 26px; }
}

/* =============================================
   KONTAKT FORMA — anti-spam polje i poruke
   ============================================= */

/* Honeypot — mora biti nevidljiv, ali ne display:none
   (neki boti preskaču display:none polja) */
.hp-polje {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

/* Poruka nakon slanja */
.form-poruka {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.6;
}
.form-poruka:empty { display: none; }

.form-poruka--uspjeh {
  background: var(--black);
  color: var(--white);
  border-left: 4px solid var(--accent);
}
.form-poruka--greska {
  background: #fff2f2;
  color: var(--accent-hover);
  border-left: 4px solid var(--accent);
}

/* Dugme tokom slanja */
.form-submit { transition: opacity var(--transition), background var(--transition); }
.form-submit:disabled { pointer-events: none; }
/* hidden mora nadjačati display iz .btn-loader */
.btn-tekst[hidden], .btn-loader[hidden] { display: none !important; }
.btn-tekst { display: inline; }
.btn-loader { display: inline-flex; align-items: center; gap: 8px; }
.btn-loader::before {
  content: '';
  width: 15px; height: 15px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
