/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --blue: #1e4d8c;
  --blue-dark: #163a6e;
  --blue-mid: #2a5fa8;
  --blue-light: #e8f0fb;
  --steel: #3d5a80;
  --navy: #1582c5;
  --text: #1a1a1a;
  --text-mid: #444;
  --text-light: #767676;
  --line: #e2e6ed;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --bg-dark: #0e5f9c;
  --accent: #f0a500;
  --accent2: #4da6d6;
  --radius: 4px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
  --transition: 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ─── SCROLL PROGRESS ─── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--accent2));
  z-index: 300; width: 0%; transition: none;
  pointer-events: none;
}

/* ─── HEADER / NAV ─── */
#masthead {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--navy);
  border-bottom: 2px solid white;
  transition: background var(--transition), box-shadow var(--transition), border-bottom-color var(--transition);
}
#masthead.scrolled { border-bottom-color: rgba(255,255,255,0.15); }
#masthead.scrolled {
  background: rgba(21, 130, 197, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 80px;
  height: 88px;
  max-width: none;
}

.logo { display: flex; align-items: center; }
.logo img { height: 54px; width: auto; display: block; filter: brightness(0) invert(1); }

.nav-actions { display: flex; align-items: center; gap: 32px; }

ul.nav-links { display: flex; gap: 8px; list-style: none; }
ul.nav-links li a {
  font-size: 0.9rem; font-weight: 600; color: #ffffff;
  display: flex; align-items: center; height: 88px;
  padding: 0 12px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-bottom-color var(--transition);
  text-shadow: 0 1px 2px rgba(0,0,0,0.08);
  letter-spacing: 0.02em;
}
ul.nav-links li a:hover { color: white; border-bottom-color: white; }
ul.nav-links li.current-menu-item a,
ul.nav-links li a.active { color: white; border-bottom-color: white; font-weight: 700; }


.btn-nav {
  background: white; color: var(--navy);
  font-size: 0.9rem; font-weight: 700;
  padding: 9px 22px; border-radius: 20px;
  transition: background var(--transition), transform 0.15s; white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn-nav:hover { background: rgba(255,255,255,0.85); transform: translateY(-1px); }

/* Dropdown */
.has-dropdown { position: relative; }
/* Chevron indicator */
.has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 7px; opacity: 0.55;
  transition: transform 0.2s, opacity 0.2s;
  vertical-align: middle;
}
.has-dropdown:hover > a::after { transform: rotate(225deg) translateY(-2px); opacity: 1; }
.dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--navy); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); min-width: 270px;
  padding: 8px 0; list-style: none;
  box-shadow: 0 12px 36px rgba(0,0,0,0.3);
  z-index: 220;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown li a {
  display: block !important; height: auto !important;
  padding: 10px 20px !important; font-size: 0.82rem !important;
  color: rgba(255,255,255,0.65) !important; border-bottom: none !important;
  transition: background 0.2s, color 0.2s;
}
.dropdown li a:hover {
  background: rgba(255,255,255,0.06) !important;
  color: white !important;
}
.dropdown li a.active {
  color: white !important;
  background: rgba(255,255,255,0.1) !important;
  font-weight: 600;
}

/* Mobile dropdown */
.dropdown-mobile {
  list-style: none; padding-left: 20px; display: block;
}
.dropdown-mobile li a {
  font-size: 0.95rem !important; padding: 10px 0 !important;
  color: rgba(255,255,255,0.5) !important;
  border-bottom: 1px solid rgba(255,255,255,0.04) !important;
}
.dropdown-mobile li a:hover { color: var(--accent) !important; }

/* ─── HAMBURGER ─── */
.hamburger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  cursor: pointer; border: none; background: none;
  flex-direction: column; gap: 5px;
  position: relative; z-index: 210;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: white; border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed; top: 88px; left: 0; right: 0; bottom: 0;
  background: var(--navy); z-index: 190;
  padding: 32px 24px;
  opacity: 0; transform: translateY(-10px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  overflow-y: auto;
  pointer-events: none;
  visibility: hidden;
}
.mobile-menu.open {
  opacity: 1; transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}
.mobile-menu ul {
  list-style: none; display: flex; flex-direction: column; gap: 0;
}
.mobile-menu ul li a {
  display: block; padding: 16px 0;
  font-size: 1.1rem; font-weight: 500; color: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color var(--transition);
}
.mobile-menu ul li a:hover { color: var(--accent); }
.mobile-menu .mobile-lang {
  display: flex; gap: 8px; margin-top: 24px;
}
.mobile-menu .mobile-cta {
  margin-top: 24px;
}

/* ─── HERO SLIDER — diagonal split ─── */
.hero {
  margin-top: 88px;
  position: relative;
  height: 88vh; min-height: 600px; max-height: 900px;
  overflow: hidden; background: var(--navy);
  display: flex; align-items: center;
}

/* White diagonal panel — left side, semi-transparent */
.hero::before {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(255,255,255,0.88);
  clip-path: polygon(0 0, 38% 0, 48% 100%, 0 100%);
  z-index: 1;
  pointer-events: none;
}
/* Bottom white fade — same diagonal clip as .hero::before so the
   slanted edge aligns perfectly with the panel and the fade never
   bleeds into the image on the right of the diagonal. */
.hero::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, transparent calc(100% - 160px), #ffffff 100%);
  clip-path: polygon(0 0, 38% 0, 48% 100%, 0 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  background-size: cover;
  background-position: center;
}
.hero-slide.active { opacity: 1; }

/* No overlay — original photo shows through */
.hero-slide-overlay { display: none; }

.hero-content {
  position: relative; z-index: 2;
  padding: 0 72px 0 clamp(72px, 10vw, 160px);
  max-width: 720px;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--navy);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-tag::before { content: ''; width: 28px; height: 2px; background: var(--navy); }

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 400; line-height: 1.06; color: var(--text);
  margin-bottom: 20px; letter-spacing: -0.02em;
}
.hero h1 em { font-style: normal; color: var(--text); }

.hero-lead {
  font-size: 0.975rem; color: var(--text-mid);
  max-width: 440px; line-height: 1.75; margin-bottom: 36px; font-weight: 300;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  background: var(--navy); color: white;
  font-size: 0.9rem; font-weight: 600;
  padding: 14px 32px; border-radius: var(--radius);
  transition: background var(--transition), transform 0.15s, box-shadow var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: var(--bg-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(21,130,197,0.35); }

.btn-ghost {
  border: 1.5px solid var(--navy); color: var(--navy);
  font-size: 0.9rem; font-weight: 500;
  padding: 14px 32px; border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition);
}
.btn-ghost:hover { background: rgba(21,130,197,0.07); }

.arr { display: inline-block; transition: transform 0.2s; }
a:hover .arr, button:hover .arr { transform: translateX(4px); }

/* Slide controls */
.hero-controls {
  position: absolute; bottom: 32px; left: 72px;
  z-index: 10; display: flex; align-items: center; gap: 12px;
}
.slide-dot {
  width: 32px; height: 3px;
  background: rgba(0,0,0,0.15);
  cursor: pointer; transition: background 0.3s, width 0.3s; border: none;
}
.slide-dot.active { background: var(--navy); width: 52px; }

/* Stats — inline inside hero-content, no card bg (sits on the white
   diagonal panel of the hero so it reads clean without a white box). */
.hero-bar {
  position: relative;
  z-index: 5;
  display: flex; flex-wrap: nowrap; gap: 0;
  margin-top: 36px; padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.hero-bar-item {
  flex: 1 1 0; min-width: 0;
  padding: 0 18px;
  display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 6px;
  position: relative;
}
.hero-bar-item:first-child { padding-left: 0; }
.hero-bar-item:last-child  { padding-right: 0; }
.hero-bar-item::after {
  content: ''; position: absolute; top: 50%; right: 0;
  width: 1px; height: 60%; transform: translateY(-50%);
  background: rgba(30,77,140,0.18);
}
.hero-bar-item:last-child::after { display: none; }
.hero-bar-num {
  font-size: 1.65rem; font-weight: 700; line-height: 1;
  color: var(--navy); letter-spacing: -0.01em;
}
.hero-bar-label {
  font-size: 0.68rem; color: var(--text-mid); line-height: 1.3;
  letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600;
}

/* ─── SECTIONS ─── */
.section { padding: 100px 0; position: relative; }

/* Section label separators — short line before label text (eyebrow-style geometry) */
.sep-label {
  position: absolute;
  top: 64px; left: 0; right: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex; align-items: center; gap: 14px;
  pointer-events: none; z-index: 2;
}
.sep-label::before {
  content: '';
  flex: 0 0 auto;
  width: 32px;
  height: 2px;
  background: var(--navy);
}
.sep-label-text {
  font-size: 1.1rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--navy); white-space: nowrap; flex-shrink: 0;
}
.section.alt { background: var(--bg-alt); }
#o-nama.section.alt { background: white; }
.section.dark { background: var(--bg-dark); color: white; }
.section.navy { background: var(--navy); color: white; }

.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; }

.eyebrow {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--blue); flex-shrink: 0; }
.section.dark .eyebrow, .section.navy .eyebrow { color: var(--accent); }
.section.dark .eyebrow::before, .section.navy .eyebrow::before { background: var(--accent); }

h2.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.9rem); font-weight: 400;
  line-height: 1.12; letter-spacing: -0.01em;
  margin-bottom: 16px; color: var(--text);
}
.section.dark h2.section-title, .section.navy h2.section-title { color: white; }

.section-lead {
  font-size: 1rem; color: var(--text-light);
  max-width: 560px; line-height: 1.75; margin-bottom: 56px; font-weight: 300;
}
.section.dark .section-lead, .section.navy .section-lead { color: rgba(255,255,255,0.5); }

/* ─── SERVICES ─── */
.services-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; margin-bottom: 48px;
}
.services-header .section-lead { margin-bottom: 0; }
.services-header-cta { flex-shrink: 0; padding-bottom: 4px; }

#usluge { background: transparent; }

.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--line);
  text-decoration: none; color: inherit;
  overflow: hidden;
  transition: box-shadow var(--transition), transform 0.25s, border-color var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.service-card-img {
  position: relative; height: 210px; overflow: hidden; flex-shrink: 0;
}
.service-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
  filter: none;
}
.service-card:hover .service-card-img img { transform: scale(1.06); }

.service-card::before { display: none; }

.service-card-body {
  padding: 22px 24px 24px;
  display: flex; flex-direction: column; flex: 1;
  border-top: 3px solid transparent;
  transition: border-color var(--transition);
}
.service-card:hover .service-card-body { border-top-color: var(--accent); }

.service-num {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.18em;
  color: var(--blue); margin-bottom: 10px;
}

.service-title {
  font-size: 1rem; font-weight: 600; color: var(--navy);
  margin-bottom: 8px; line-height: 1.35;
}

.service-desc {
  font-size: 0.825rem; color: var(--text-mid); line-height: 1.65;
  font-weight: 400; margin-bottom: 0; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem; font-weight: 600; color: var(--blue);
  margin-top: 16px;
  transition: gap 0.2s, color 0.2s;
}
.service-card:hover .service-link { color: var(--accent); gap: 10px; }

/* ─── ABOUT ─── */
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-layout .about-visual { order: 2; }
.about-layout > div:not(.about-visual) { order: 1; }

.about-visual {
  position: relative; background: var(--bg-dark); overflow: hidden;
  aspect-ratio: 5/4; border-radius: var(--radius);
}

/* About slider */
.about-slider { position: relative; }
.about-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.about-slide.active { opacity: 1; }

.about-points { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.about-point {
  padding: 16px 20px; background: var(--bg-alt); border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: border-color var(--transition), background var(--transition);
}
.about-point:hover { border-left-color: var(--accent); background: var(--blue-light); }
.about-point strong { display: block; font-weight: 600; color: var(--navy); font-size: 0.875rem; margin-bottom: 2px; }
.about-point span { font-size: 0.825rem; color: var(--text-light); font-weight: 300; }

/* ─── CERT STRIP ─── */
.cert-strip { background: var(--navy); padding: 72px 0; }
.cert-strip-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; display: grid; grid-template-columns: 1fr auto; gap: 64px; align-items: center; }
.cert-eyebrow { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.cert-heading { font-family: 'DM Serif Display', serif; font-size: 1.9rem; color: white; font-weight: 400; margin-bottom: 8px; }
.cert-sub { font-size: 0.875rem; color: rgba(255,255,255,0.45); font-weight: 300; }
.cert-badges { display: flex; gap: 16px; flex-wrap: wrap; }
.cert-badge {
  background: none; border: none;
  padding: 0; text-align: center;
  display: flex; align-items: center; justify-content: center;
}
.cert-badge-img {
  width: 240px; height: 240px; object-fit: contain;
  display: block; border-radius: 8px;
}

/* ─── ABOUT PAGE ─── */

/* About hero banner (full-width with sliding bg) */
.about-hero {
  margin-top: 88px; position: relative;
  height: 50vh; min-height: 380px; max-height: 540px;
  overflow: hidden; background: var(--bg-dark);
  display: flex; align-items: flex-end;
}
.about-hero-bg {
  position: absolute; inset: 0;
}
.about-hero-bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.about-hero-slide {
  opacity: 0; transition: opacity 1.2s ease;
}
.about-hero-slide.active {
  opacity: 1;
}
.about-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to top,
    rgba(13,27,42,0.92) 0%,
    rgba(13,27,42,0.6) 50%,
    rgba(13,27,42,0.3) 100%
  );
}
.about-hero-content {
  position: relative; z-index: 2;
  padding-bottom: 56px; width: 100%;
}
.about-hero-content .eyebrow::before { background: var(--accent); }
.about-hero-content h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400; color: white; line-height: 1.15;
  margin-bottom: 12px;
}
.about-hero-content p {
  color: rgba(255,255,255,0.55); font-size: 0.95rem;
  font-weight: 300; max-width: 520px;
}

/* Company story (single column, editorial) — left-aligned with sep-label */
.about-story { max-width: 760px; margin: 0; }
.about-story-lead {
  font-size: 1.2rem; color: var(--navy); line-height: 1.75;
  margin-bottom: 24px; font-weight: 400;
  border-left: 3px solid var(--blue); padding-left: 24px;
}
.about-story-lead strong { font-weight: 700; }
.about-story-text {
  font-size: 0.95rem; color: var(--text-mid); line-height: 1.85;
  margin-bottom: 16px; font-weight: 300;
}

/* Facts strip */
.about-facts-strip { background: var(--blue); padding: 48px 0; }
.about-facts-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 48px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.about-fact {
  text-align: center; padding: 16px 24px; position: relative;
}
.about-fact::after {
  content: ''; position: absolute; top: 50%; right: 0;
  width: 1px; height: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
}
.about-fact:last-child::after { display: none; }
.about-fact-num {
  font-size: 2rem; font-weight: 700; color: white; line-height: 1;
  margin-bottom: 6px;
}
.about-fact-label {
  font-size: 0.72rem; font-weight: 500; color: rgba(255,255,255,0.7);
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* Expertise grid — image-first pillar cards (about page) */
.expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.expertise-card {
  background: transparent; border: none; padding: 0; border-radius: 0;
  transition: transform 0.25s ease;
}
.expertise-card:hover { transform: translateY(-4px); }
.expertise-img {
  width: 100%; aspect-ratio: 4 / 3;
  overflow: hidden; border-radius: var(--radius);
  margin-bottom: 28px; background: var(--bg-alt);
}
.expertise-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.expertise-card:hover .expertise-img img { transform: scale(1.04); }
.expertise-num {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em;
  color: var(--blue); margin-bottom: 12px; text-transform: uppercase;
}
.expertise-title {
  font-size: 1.3rem; font-weight: 600; color: var(--navy);
  margin-bottom: 18px; line-height: 1.3;
  position: relative; padding-bottom: 16px;
}
.expertise-title::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 32px; height: 2px; background: var(--navy);
}
.expertise-desc {
  font-size: 0.95rem; color: var(--text-mid); line-height: 1.75; font-weight: 300;
}

/* About cert — single combined image (all 3 ISO logos in one) */
.about-cert-single {
  display: flex; justify-content: center;
  max-width: 900px; margin: 0 auto;
}
.about-cert-single img {
  width: 100%; height: auto;
  max-height: 320px; object-fit: contain;
  display: block; border-radius: var(--radius);
}

/* ─── COMPANY DATA SECTION (O nama) ─── */
.company-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

/* Company name heading — elegant, not oversized */
.company-name-heading {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem; color: #000;
  line-height: 1.25; margin: 0 0 32px;
  font-weight: 400; letter-spacing: -0.01em;
}

/* ─── PRIVACY POLICY PAGE ─── */
.privacy-content { max-width: 820px; }
.privacy-content p { color: var(--text-mid); line-height: 1.75; margin-bottom: 20px; }
.privacy-content h2 { font-size: 1.15rem; font-weight: 700; color: var(--blue); margin: 40px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--blue-light); }

/* Clean table rows */
.company-data-table { margin-bottom: 32px; }
.company-data-row {
  display: flex; align-items: baseline; gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.company-data-row:first-child { border-top: 1px solid var(--line); }
.company-data-key {
  flex-shrink: 0; width: 150px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-light);
}
.company-data-val {
  font-size: 0.9rem; color: #000; font-weight: 500; line-height: 1.5;
}

/* Contact list — clean links */
.company-contact-list {
  display: flex; flex-direction: column; gap: 2px; margin-top: 4px;
}
.company-cl-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: var(--radius);
  font-size: 0.88rem; color: var(--navy); font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.company-cl-item:hover { background: var(--bg-alt); color: var(--blue); }
.company-cl-item svg { flex-shrink: 0; stroke: var(--blue); }
.company-cl-sub { color: var(--text-light); font-weight: 400; }

.company-map-wrap {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  min-height: 480px;
}
.company-map-wrap iframe { width: 100%; height: 100%; min-height: 480px; display: block; }

/* ─── CTA SPLIT SECTION ─── */
.cta-section {
  background: var(--blue);
  position: relative; overflow: hidden;
  padding: 96px 0;
}
/* Subtle dot grid background */
.cta-section::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}
/* Button on blue bg — use accent color for clear contrast */
.cta-section .btn-primary {
  background: var(--accent); color: var(--navy);
}
.cta-section .btn-primary:hover { background: #ffb81c; box-shadow: 0 4px 16px rgba(0,0,0,0.2); }
.cta-split {
  display: grid; grid-template-columns: 1fr 420px;
  gap: 80px; align-items: center;
  position: relative;
}
.cta-title {
  font-family: 'DM Serif Display', serif;
  font-size: 2.8rem; color: white;
  line-height: 1.15; margin: 16px 0 20px;
}
.cta-desc {
  font-size: 0.95rem; color: rgba(255,255,255,0.55);
  line-height: 1.8; max-width: 480px; margin-bottom: 32px;
}
.btn-cta { font-size: 1rem; padding: 15px 32px; }

/* ─── HOMEPAGE CTA — clean centered, white/light bg ─── */
.cta-homepage {
  text-align: center;
  background: transparent;
}
.cta-hp-inner { max-width: 640px; margin: 0 auto; }
.cta-hp-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: var(--text); font-weight: 400; line-height: 1.1;
  margin: 0 0 20px;
}
.cta-hp-desc {
  font-size: 1rem; color: var(--text-light); line-height: 1.75; margin-bottom: 36px;
}
.cta-homepage .eyebrow { justify-content: center; }

/* CTA contact card */
.cta-contact-card {
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 32px;
}
.cta-cc-label {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 24px; padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.cta-ci {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color var(--transition);
}
.cta-ci:last-child { border-bottom: none; }
.cta-ci:hover { color: var(--accent); }
.cta-ci-icon {
  flex-shrink: 0; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06); border-radius: 8px;
}
.cta-ci-icon svg {
  width: 16px; height: 16px;
  stroke: rgba(255,255,255,0.6); fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
.cta-ci:hover .cta-ci-icon svg { stroke: var(--accent); }
.cta-ci-main {
  font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.85);
}
.cta-ci-sub {
  font-size: 0.75rem; color: rgba(255,255,255,0.35); margin-top: 1px;
}

/* ─── SECTORS ─── */
.sectors-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.sector-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
  padding: 36px; display: flex; gap: 24px;
  transition: border-color var(--transition), background var(--transition), transform 0.15s; border-radius: var(--radius);
}
.sector-card:hover { border-color: rgba(30,77,140,0.6); background: rgba(30,77,140,0.08); transform: translateY(-2px); }
.sector-num { font-size: 2.4rem; font-weight: 300; color: var(--accent); opacity: 0.5; line-height: 1; flex-shrink: 0; font-family: 'DM Serif Display', serif; font-style: italic; }
.sector-title { font-size: 0.975rem; font-weight: 600; color: white; margin-bottom: 8px; }
.sector-desc { font-size: 0.85rem; color: rgba(255,255,255,0.42); line-height: 1.65; font-weight: 300; }

/* ─── PROJECT MAP ─── */
.map-section { background: var(--bg-alt); padding: 100px 0; }
.map-wrap {
  position: relative; margin-top: 48px;
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: visible;
  box-shadow: var(--shadow-md);
}
#project-map { width: 100%; height: 520px; border-radius: var(--radius); z-index: 1; }

.leaflet-popup-content-wrapper {
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-lg) !important;
  border: none !important; padding: 0 !important; overflow: hidden;
}
.leaflet-popup-content { margin: 0 !important; }
.leaflet-popup-tip { background: white !important; }

.map-popup { padding: 20px 22px; min-width: 220px; }
.map-popup-country { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.map-popup-title { font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; line-height: 1.3; }
.map-popup-desc { font-size: 0.82rem; color: var(--text-light); line-height: 1.6; font-weight: 300; }
.map-popup-year { font-size: 0.72rem; font-weight: 600; color: var(--blue); margin-top: 10px; display: block; }

.map-legend { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 16px; align-items: center; }
.map-legend-item { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--text-light); }
.map-legend-dot { width: 12px; height: 12px; border-radius: 50%; }

/* ─── SHARED NOVOSTI ATOMS ─── */
.novost-card-date { font-size: 0.72rem; font-weight: 600; color: var(--blue); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.novost-card-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 600; color: var(--blue); margin-top: 16px; transition: gap 0.2s; }
.novost-img-placeholder { width: 100%; height: 100%; background: var(--bg-alt); }

/* ─── HOMEPAGE NOVOSTI — EDITORIAL GRID ─── */
.novosti-editorial {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 28px;
  align-items: stretch;
}

/* Featured card (left) */
.novost-featured-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: white;
  text-decoration: none; color: inherit;
  transition: box-shadow 0.45s ease, transform 0.45s ease, border-color 0.45s ease;
  position: relative;
}
.novost-featured-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--accent2));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.novost-featured-card:hover::after { transform: scaleX(1); }
.novost-featured-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,0.12); border-color: var(--navy); }
.novost-featured-img {
  height: 320px; overflow: hidden; background: var(--bg-alt);
}
.novost-featured-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.novost-featured-card:hover .novost-featured-img img { transform: scale(1.06); }
.novost-featured-body {
  flex: 1; padding: 32px 36px;
  display: flex; flex-direction: column; gap: 12px;
}
.novost-featured-date {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em;
  color: var(--navy); text-transform: uppercase;
  transition: color 0.3s ease;
}
.novost-featured-card:hover .novost-featured-date { color: var(--accent2); }
.novost-featured-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  color: var(--text); line-height: 1.25; margin: 0;
  transition: color 0.3s ease;
}
.novost-featured-card:hover .novost-featured-title { color: var(--navy); }
.novost-featured-excerpt {
  font-size: 0.95rem; color: var(--text-mid); line-height: 1.75; margin: 0;
}

/* Secondary cards (right column) */
.novosti-secondary {
  display: flex; flex-direction: column; gap: 28px;
}
.novost-mini-card {
  display: flex; flex-direction: column; flex: 1;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: white;
  text-decoration: none; color: inherit;
  transition: box-shadow 0.45s ease, transform 0.45s ease, border-color 0.45s ease;
  position: relative;
}
.novost-mini-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--accent2));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.novost-mini-card:hover::after { transform: scaleX(1); }
.novost-mini-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,0.12); border-color: var(--navy); }
.novost-mini-img {
  height: 160px; overflow: hidden; background: var(--bg-alt);
}
.novost-mini-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.novost-mini-card:hover .novost-mini-img img { transform: scale(1.06); }
.novost-mini-body {
  flex: 1; padding: 20px 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.novost-mini-date {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em;
  color: var(--navy); text-transform: uppercase;
  transition: color 0.3s ease;
}
.novost-mini-card:hover .novost-mini-date { color: var(--accent2); }
.novost-mini-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: var(--text); line-height: 1.25; margin: 0;
  transition: color 0.3s ease;
}
.novost-mini-card:hover .novost-mini-title { color: var(--navy); }
.novost-mini-excerpt {
  font-size: 0.85rem; color: var(--text-mid); line-height: 1.65; margin: 0;
}

/* Shared link style */
.novost-hcard-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 600; color: var(--navy);
  transition: gap 0.3s ease, color 0.3s ease; margin-top: auto;
}
.novost-hcard-link .arr { transition: transform 0.3s ease; }
.novost-featured-card:hover .novost-hcard-link,
.novost-mini-card:hover .novost-hcard-link { gap: 12px; color: var(--accent2); }
.novost-featured-card:hover .novost-hcard-link .arr,
.novost-mini-card:hover .novost-hcard-link .arr { transform: translateX(4px); }

/* ─── JOBS ─── */
.jobs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.job-card {
  background: white;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  padding: 32px 36px 28px;
  display: flex; flex-direction: column;
  transition: border-color var(--transition), box-shadow var(--transition), transform 0.15s;
  border-radius: var(--radius);
  position: relative;
}
.job-card::before {
  content: '';
  position: absolute; top: 0; left: -3px; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--blue) 0%, var(--accent2) 100%);
  border-radius: var(--radius) 0 0 var(--radius);
  transition: opacity var(--transition);
  opacity: 0;
}
.job-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.job-card:hover::before { opacity: 1; }
.job-card-type {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.job-card-type svg { flex-shrink: 0; }
.job-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem; font-weight: 400; color: var(--navy);
  line-height: 1.3; margin-bottom: 12px;
}
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.job-tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.72rem; font-weight: 600;
  color: var(--text-mid); background: var(--bg-alt);
  padding: 4px 12px; border-radius: 20px;
  border: 1px solid var(--line);
}
.job-excerpt { font-size: 0.875rem; color: var(--text-light); line-height: 1.7; font-weight: 300; flex: 1; }
.job-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8rem; font-weight: 600; color: var(--blue);
  margin-top: 20px; transition: gap 0.2s;
  padding-top: 16px; border-top: 1px solid var(--line);
}
.job-card:hover .job-more { gap: 10px; }

.no-jobs { padding: 48px; text-align: center; background: var(--bg-alt); border: 1px dashed var(--line); border-radius: var(--radius); }
.no-jobs p { color: var(--text-light); font-size: 0.95rem; font-weight: 300; }

/* Open application CTA strip */
.open-application-strip {
  margin-top: 88px;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 48px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.oas-text {}
.oas-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 8px;
}
.oas-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem; font-weight: 400; color: white;
  line-height: 1.3;
}
.oas-desc { font-size: 0.875rem; color: rgba(255,255,255,0.6); margin-top: 8px; font-weight: 300; }

/* ─── CONTACT ─── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.contact-layout > * { min-width: 0; }
.contact-info-title { font-family: 'DM Serif Display', serif; font-size: clamp(1.3rem, 2vw, 2rem); font-weight: 400; color: #111; margin-bottom: 16px; line-height: 1.2; word-break: break-word; }
.contact-info-lead { font-size: 0.95rem; color: var(--text-light); line-height: 1.7; margin-bottom: 36px; font-weight: 300; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-detail { display: flex; gap: 16px; align-items: flex-start; }
.contact-detail-icon {
  width: 40px; height: 40px; background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; border-radius: var(--radius);
  transition: background var(--transition);
}
.contact-detail:hover .contact-detail-icon { background: var(--blue); }
.contact-detail-icon svg { width: 18px; height: 18px; stroke: var(--blue); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke var(--transition); }
.contact-detail:hover .contact-detail-icon svg { stroke: white; }
.contact-detail-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); margin-bottom: 4px; }
.contact-detail-value { font-size: 0.925rem; color: var(--text); font-weight: 500; }

.contact-form { background: var(--bg-alt); padding: 40px; border-radius: var(--radius); }
.form-title { font-size: 1.1rem; font-weight: 600; color: var(--navy); margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.form-success { background: #f0fdf4; border: 1px solid #86efac; color: #16a34a; padding: 14px 18px; font-size: 0.9rem; margin-bottom: 24px; border-radius: var(--radius); }
.form-error { background: #fef2f2; border: 1px solid #fca5a5; color: #dc2626; padding: 14px 18px; font-size: 0.9rem; margin-bottom: 24px; border-radius: var(--radius); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 0.75rem; font-weight: 600; color: var(--text-mid); letter-spacing: 0.04em; }
.form-group input, .form-group textarea, .form-group select {
  background: white; border: 1.5px solid var(--line);
  color: var(--text); padding: 11px 14px;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  outline: none; transition: border-color var(--transition), box-shadow var(--transition);
  font-weight: 300; border-radius: var(--radius);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,77,140,0.1);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-submit {
  width: 100%; background: var(--blue); color: white;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 600;
  padding: 13px; border: none; cursor: pointer;
  transition: background var(--transition), transform 0.15s; border-radius: var(--radius); margin-top: 4px;
}
.form-submit:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* ─── FOOTER ─── */
#colophon { background: var(--navy); color: rgba(255,255,255,0.6); }
.footer-main {
  max-width: 1200px; margin: 0 auto;
  padding: 72px 48px 56px;
  display: grid; grid-template-columns: 200px 1fr 1fr 1fr; gap: 48px;
}
.footer-logo { margin-bottom: 24px; }
.footer-logo img { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; display: block; }
.footer-social { display: flex; gap: 8px; }
.footer-social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 7px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  transition: background var(--transition), border-color var(--transition);
}
.footer-social-link:hover { background: rgba(255,255,255,0.13); border-color: rgba(255,255,255,0.22); }
.footer-social-link svg { width: 15px; height: 15px; fill: rgba(255,255,255,0.85); display: block; }
.footer-social-link:hover svg { fill: white; }
.footer-col-title { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: white; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.83rem; color: rgba(255,255,255,0.8); transition: color var(--transition); font-weight: 400; }
.footer-links a:hover { color: var(--accent); }
.footer-contact-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.83rem; color: rgba(255,255,255,0.8); }
.footer-contact-list svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; fill: none; stroke: rgba(255,255,255,0.75); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-contact-list li:last-child svg { fill: rgba(255,255,255,0.75); stroke: none; }
.footer-contact-list a { color: rgba(255,255,255,0.8); transition: color var(--transition); }
.footer-contact-list a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); max-width: 1200px; margin: 0 auto; padding: 18px 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.6); }
.footer-policy-link { font-size: 0.75rem; color: rgba(255,255,255,0.45); text-decoration: none; transition: color var(--transition); white-space: nowrap; }
.footer-policy-link:hover { color: rgba(255,255,255,0.85); }
.footer-iso { display: flex; gap: 8px; }
.footer-iso span { font-size: 0.65rem; font-weight: 600; color: rgba(240,165,0,0.7); border: 1px solid rgba(240,165,0,0.18); padding: 3px 9px; border-radius: 2px; }

/* ─── ARCHIVE / INNER PAGE HEADERS ─── */
.page-header {
  margin-top: 88px;
  padding: 72px 0 56px;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: ''; position: absolute; top: 50%; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(30,77,140,0.15) 0%, transparent 70%);
  border-radius: 50%; transform: translateY(-50%);
  pointer-events: none;
}
.page-header .section-inner { position: relative; z-index: 1; }
.page-header .eyebrow { color: var(--accent); }
.page-header .eyebrow::before { background: var(--accent); }
.page-header h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 400;
  color: white; margin-bottom: 8px;
}
.page-header p { color: rgba(255,255,255,0.85); font-size: 0.95rem; font-weight: 300; }

/* ─── ARCHIVE LISTS ─── */
.archive-content { padding: 64px 0; }
.archive-content .section-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; }

/* ─── SINGLE POST ─── */
.single-content { padding: 64px 0; }
.single-content .section-inner { max-width: 800px; margin: 0 auto; padding: 0 48px; }
.single-content .back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 600; color: var(--blue);
  margin-bottom: 32px; transition: gap 0.2s;
}
.single-content .back-link:hover { gap: 10px; }
.single-content .post-meta {
  font-size: 0.85rem; color: var(--text-light); margin-bottom: 32px;
}
.single-content .post-body {
  font-size: 1rem; line-height: 1.8; color: var(--text-mid); font-weight: 300;
}
.single-content .post-body h2,
.single-content .post-body h3 { color: var(--navy); font-weight: 600; margin: 32px 0 16px; }
.single-content .post-body p { margin-bottom: 16px; }
.single-content .post-body ul,
.single-content .post-body ol { margin: 16px 0; padding-left: 24px; }
.single-content .post-body li { margin-bottom: 8px; }
.single-content .post-body img { border-radius: var(--radius); margin: 24px 0; }

.post-cta {
  margin-top: 48px; padding-top: 32px;
  border-top: 1px solid var(--line);
}
.post-cta p { font-size: 0.95rem; color: var(--text-mid); margin-bottom: 20px; font-weight: 300; }

/* ─── KARIJERE DETAIL META ─── */
.karijere-meta-grid {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 32px;
}
.karijere-meta-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem; font-weight: 600; color: var(--blue);
  background: var(--blue-light); padding: 6px 14px;
  border-radius: 20px;
}
.karijere-meta-tag.expired { background: #fef2f2; color: #dc2626; }

/* ─── PROJEKT SIDEBAR META ─── */
.projekt-detail-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.projekt-sidebar {
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.projekt-sidebar-title { font-size: 0.85rem; font-weight: 700; color: var(--navy); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.projekt-sidebar-item { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; }
.projekt-sidebar-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-light); }
.projekt-sidebar-value { font-size: 0.9rem; font-weight: 500; color: var(--navy); }

/* ─── WP PAGINATION ─── */
.navigation.pagination { margin-top: 48px; }
.nav-links { display: flex; gap: 8px; justify-content: center; }
.page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  font-size: 0.85rem; font-weight: 500; color: var(--text-mid);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: all var(--transition);
}
.page-numbers:hover { border-color: var(--blue); color: var(--blue); }
.page-numbers.current { background: var(--blue); color: white; border-color: var(--blue); }

/* ─── SCROLL REVEAL ─── */
[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
[data-reveal].visible { opacity: 1; transform: none; }

/* Direction variants */
[data-reveal="left"] { transform: translateX(-48px); }
[data-reveal="right"] { transform: translateX(48px); }
[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal="left"].visible,
[data-reveal="right"].visible,
[data-reveal="scale"].visible { opacity: 1; transform: none; }

/* Staggered children — parent gets data-stagger, children animate in sequence */
[data-stagger] > * { opacity: 0; transform: translateY(28px); transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1); }
[data-stagger].visible > *:nth-child(1) { transition-delay: 0.0s; }
[data-stagger].visible > *:nth-child(2) { transition-delay: 0.15s; }
[data-stagger].visible > *:nth-child(3) { transition-delay: 0.3s; }
[data-stagger].visible > *:nth-child(4) { transition-delay: 0.4s; }
[data-stagger].visible > *:nth-child(5) { transition-delay: 0.5s; }
[data-stagger].visible > *:nth-child(6) { transition-delay: 0.6s; }
[data-stagger].visible > * { opacity: 1; transform: none; }

/* Separator line draw animation */
.sep-label::before { transform: scaleX(0); transform-origin: left center; transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1); }
.sep-label.visible::before { transform: scaleX(1); }
.sep-label-text { opacity: 0; transition: opacity 0.8s ease 0.4s; }
.sep-label.visible .sep-label-text { opacity: 1; }

/* ─── HERO ANIMATION ─── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.hero-tag   { opacity:0; animation: fadeUp 0.7s ease 0.15s both; }
.hero h1    { opacity:0; animation: fadeUp 0.7s ease 0.3s both; }
.hero-lead  { opacity:0; animation: fadeUp 0.7s ease 0.45s both; }
.hero-ctas  { opacity:0; animation: fadeUp 0.7s ease 0.6s both; }
.hero-controls { opacity:0; animation: fadeUp 0.7s ease 0.7s both; }

/* ─── LANG SYSTEM ─── */
[data-lang="hr"],
[data-lang="en"] { display: none !important; }

html[lang="hr"] [data-lang="hr"] { display: revert !important; }
html[lang="en"] [data-lang="en"] { display: revert !important; }

html[lang="hr"] span[data-lang="hr"],
html[lang="en"] span[data-lang="en"] { display: inline !important; }

html[lang="hr"] img[data-lang="hr"],
html[lang="en"] img[data-lang="en"] { display: block !important; }

html[lang="hr"] .hero-ctas [data-lang="hr"],
html[lang="en"] .hero-ctas [data-lang="en"] { display: flex !important; }

/* ─── USLUGE PAGE — ALTERNATING ROWS ─── */
.service-area-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  max-width: 1800px;
  margin-left: auto;
  margin-right: auto;
}
.page-header + .service-area-row { margin-top: 56px; }
.service-area-row + .service-area-row { margin-top: 0; }
.service-area-row:last-of-type { margin-bottom: 80px; }
.service-area-row.reverse .service-area-visual { order: 2; }
.service-area-row.reverse .service-area-content { order: 1; }
.service-area-visual {
  position: relative; overflow: hidden;
}
.service-area-visual img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; transition: transform 0.7s ease;
}
.service-area-row:hover .service-area-visual img { transform: scale(1.04); }
.service-area-visual-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(14,28,60,0.35) 0%, transparent 60%);
  pointer-events: none;
}
.service-area-content {
  background: white;
  padding: 72px clamp(48px, 6vw, 96px);
  display: flex; flex-direction: column; justify-content: center;
  border-bottom: 1px solid var(--line);
}
.service-area-content > * { max-width: 560px; }
.service-area-row.reverse .service-area-content { background: var(--bg-alt); }
.service-area-num {
  font-family: 'DM Serif Display', serif;
  font-size: 5rem; line-height: 1;
  color: var(--line); font-weight: 400;
  margin-bottom: 12px;
  user-select: none;
}
.service-area-title {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem; color: var(--navy);
  line-height: 1.2; margin: 0 0 18px;
}
.service-area-desc {
  font-size: 0.95rem; color: var(--text-mid);
  line-height: 1.75; max-width: 460px; margin-bottom: 24px;
}
.service-area-list {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: flex; flex-direction: column; gap: 10px;
}
.service-area-list li {
  font-size: 0.875rem; color: var(--text-mid);
  padding-left: 20px; position: relative; line-height: 1.5;
}
.service-area-list li::before {
  content: '—';
  position: absolute; left: 0;
  color: var(--blue); font-weight: 700;
}
.service-area-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.875rem; font-weight: 700; color: var(--blue);
  letter-spacing: 0.02em; text-transform: uppercase;
  transition: gap 0.2s;
  align-self: flex-start;
}
.service-area-link:hover { gap: 14px; }

/* ─── NOVOSTI ARCHIVE (editorial layout — featured + grid) ─── */
.novosti-archive { padding: 48px 0 80px; }

/* Featured first card — image left, content right, rounded */
.novost-feature-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(14,28,60,0.04), 0 1px 2px rgba(14,28,60,0.02);
  transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 56px;
  color: inherit;
}
.novost-feature-card:hover {
  box-shadow: 0 18px 42px rgba(14,28,60,0.12), 0 4px 10px rgba(14,28,60,0.06);
  transform: translateY(-3px);
}
.novost-feature-img {
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  min-height: 380px;
}
.novost-feature-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.novost-feature-card:hover .novost-feature-img img { transform: scale(1.04); }
.novost-feature-body {
  padding: 48px 56px;
  display: flex; flex-direction: column;
  justify-content: center;
}
.novost-feature-date {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 14px;
}
.novost-feature-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.7rem;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 20px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.novost-feature-excerpt {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin: 0 0 28px;
  flex: 1;
}
.novost-feature-btn {
  align-self: flex-start;
  padding: 12px 26px;
  font-size: 0.85rem;
}

/* Grid section header */
.novosti-grid-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.novosti-grid-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  color: var(--blue);
}
.novosti-grid-heading {
  font-family: 'DM Serif Display', serif;
  font-size: 1.35rem;
  color: var(--navy);
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* 3-column grid */
.novosti-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.novost-grid-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(14,28,60,0.04), 0 1px 2px rgba(14,28,60,0.02);
  transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: inherit;
}
.novost-grid-card:hover {
  box-shadow: 0 14px 32px rgba(14,28,60,0.12), 0 4px 10px rgba(14,28,60,0.06);
  transform: translateY(-4px);
}

.novost-grid-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--bg-alt);
}
.novost-grid-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.novost-grid-card:hover .novost-grid-img img { transform: scale(1.06); }

.novost-grid-date-pill {
  position: absolute;
  top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  color: var(--navy);
  font-size: 0.75rem; font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(14,28,60,0.12);
}
.novost-grid-date-pill svg { stroke: var(--blue); }

.novost-grid-body {
  padding: 22px 24px 26px;
  display: flex; flex-direction: column;
  flex: 1;
}
.novost-grid-date {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 10px;
}
.novost-grid-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  color: var(--navy);
  line-height: 1.3;
  margin: 0 0 14px;
  font-weight: 400;
  letter-spacing: -0.005em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.novost-grid-excerpt {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0 0 20px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.novost-grid-btn {
  align-self: flex-start;
  padding: 10px 22px;
  font-size: 0.82rem;
}

/* Load-more button (centered below grid) */
.novosti-loadmore-wrap {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}
.novosti-loadmore-btn {
  padding: 14px 34px;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}
.novosti-loadmore-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* Keep legacy class names available (homepage uses .novost-card-date, .novost-card-link) */
.novost-archive-featured,
.novost-archive-card,
.novosti-archive-list { /* deprecated — kept for safety */ }

/* ─── PAGE HEADER STATS (projekti) ─── */
.page-header-stats {
  display: flex; gap: 48px; margin-top: 40px;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.12);
}
.ph-stat { display: flex; flex-direction: column; gap: 4px; }
.ph-stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.6rem; color: white; line-height: 1; letter-spacing: -0.02em;
}
.ph-stat-label {
  font-size: 0.75rem; color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
}

/* ─── PROJEKTI ALTERNATING TIMELINE (modernized) ─── */
.projekti-alt-wrap { padding: 72px 0 96px; background: var(--bg-alt); }

.projekti-alt-timeline {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Central vertical spine — subtle light line, fades at top/bottom */
.pat-spine {
  position: absolute;
  left: 50%; top: 20px; bottom: 20px;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, transparent 0%, var(--line) 6%, var(--line) 94%, transparent 100%);
  pointer-events: none;
}

/* Each project row */
.pat-row {
  display: flex;
  align-items: stretch;
  margin-bottom: 36px;
  position: relative;
  padding-top: 0;
}
.pat-row:last-child { margin-bottom: 0; }

/* Shift card to left or right side, leaving centre gap for spine */
.pat-row--left  { padding-right: calc(50% + 56px); }
.pat-row--right { padding-left:  calc(50% + 56px); }

/* Year badge centred on the spine, above each first-of-year row */
.pat-year-badge {
  position: absolute;
  left: 50%; top: -20px;
  transform: translateX(-50%);
  background: #fff;
  color: var(--navy);
  font-family: 'DM Serif Display', serif;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  padding: 7px 22px;
  border-radius: 999px;
  white-space: nowrap;
  z-index: 3;
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(14,28,60,0.06);
}
/* Extra top space on rows that introduce a new year */
.pat-row:has(.pat-year-badge) { margin-top: 48px; }

/* Connector dot on the spine — blue with soft ring */
.pat-dot {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--blue);
  border: 2px solid #fff;
  box-shadow: 0 0 0 3px rgba(21,130,197,0.15);
  z-index: 2;
  transition: transform 0.25s, box-shadow 0.25s;
}
.pat-row:hover .pat-dot {
  transform: translate(-50%, -50%) scale(1.2);
  box-shadow: 0 0 0 5px rgba(21,130,197,0.2);
}

/* The project card — dark-grey border, soft shadow */
.pat-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid #3f4a5e;
  border-radius: 12px;
  overflow: hidden; width: 100%;
  box-shadow: 0 1px 3px rgba(14,28,60,0.05), 0 1px 2px rgba(14,28,60,0.03);
  transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.2s;
}
.pat-card:hover {
  box-shadow: 0 14px 36px rgba(14,28,60,0.14), 0 4px 10px rgba(14,28,60,0.08);
  transform: translateY(-4px);
  border-color: var(--blue);
}
/* Pat card reuses ptc-* classes from projekt-timeline-card */

/* ─── PROJECT TIMELINE CARD (shared card body styles) ─── */
.projekt-timeline-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(14,28,60,0.04), 0 1px 2px rgba(14,28,60,0.02);
  transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.2s;
}
.projekt-timeline-card:hover {
  box-shadow: 0 12px 32px rgba(14,28,60,0.12), 0 2px 8px rgba(14,28,60,0.06);
  transform: translateY(-4px);
  border-color: var(--line);
}

/* Image area */
.ptc-img {
  position: relative; height: 170px; overflow: hidden;
  background: var(--bg-alt);
  flex-shrink: 0;
}
.ptc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.projekt-timeline-card:hover .ptc-img img,
.pat-card:hover .ptc-img img { transform: scale(1.05); }

/* Photo placeholder (fallback hero image — no blue tint) */
.ptc-img-placeholder {
  width: 100%; height: 100%;
  position: relative; overflow: hidden;
  background: var(--bg-alt);
}
.ptc-placeholder-img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 1; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}
.pat-card:hover .ptc-placeholder-img,
.projekt-timeline-card:hover .ptc-placeholder-img { transform: scale(1.05); }
.ptc-napon-overlay {
  position: absolute; bottom: 14px; left: 16px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(14,28,60,0.5);
  backdrop-filter: blur(4px);
  padding: 4px 10px; border-radius: 4px;
  user-select: none;
}

/* Voltage badge top-right — subtle blue chip */
.ptc-napon-badge {
  position: absolute; top: 12px; right: 12px;
  background: rgba(255,255,255,0.95);
  color: var(--navy);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(14,28,60,0.08);
  pointer-events: none;
}

/* Card body */
.ptc-body {
  padding: 18px 20px 18px;
  flex: 1; display: flex; flex-direction: column;
}
.ptc-klijent {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 8px;
}
.ptc-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem; color: var(--navy);
  line-height: 1.35; margin-bottom: 12px; font-weight: 400;
}
.ptc-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
  font-size: 0.76rem; color: var(--text-light); margin-bottom: 12px;
}
.ptc-meta svg { stroke: var(--text-light); }
.ptc-meta-dot { color: var(--line); }
.ptc-excerpt {
  font-size: 0.82rem; color: var(--text-mid); line-height: 1.6;
  flex: 1; margin-bottom: 0; padding-bottom: 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ptc-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem; font-weight: 700; color: var(--navy);
  letter-spacing: 0.02em;
  padding-top: 14px; border-top: 1px solid var(--line);
  transition: gap 0.2s, color 0.2s;
}
.projekt-timeline-card:hover .ptc-link,
.pat-card:hover .ptc-link { gap: 10px; color: var(--blue); }


/* ═══════════════════════════════════════════════════════
   GLOBAL SITE BACKGROUND — homepage style on every page
   Single continuous gradient + 4 blurred colour blobs.
   Wraps ALL template content (between header and footer).
   ═══════════════════════════════════════════════════════ */

#site-content.site-bg-wrap {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f0f6fc 12%,
    #ffffff 28%,
    #f4f8fd 45%,
    #ffffff 60%,
    #f2f7fb 78%,
    #ffffff 100%
  );
}
#site-content .site-content-inner { position: relative; z-index: 1; }

/* Blurred colour blobs — same colours/positioning logic as old .hp-blob */
.site-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  opacity: 0.45;
  z-index: 0;
}
.site-blob--1 {
  width: 700px; height: 700px;
  top: 6%; right: -8%;
  background: radial-gradient(circle, rgba(30,77,140,0.18) 0%, transparent 70%);
}
.site-blob--2 {
  width: 600px; height: 600px;
  top: 32%; left: -10%;
  background: radial-gradient(circle, rgba(77,166,214,0.15) 0%, transparent 70%);
}
.site-blob--3 {
  width: 800px; height: 800px;
  top: 58%; right: -5%;
  background: radial-gradient(circle, rgba(240,165,0,0.08) 0%, transparent 70%);
}
.site-blob--4 {
  width: 500px; height: 500px;
  top: 84%; left: -6%;
  background: radial-gradient(circle, rgba(30,77,140,0.12) 0%, transparent 70%);
}

/* All plain-white containers must be transparent so the global gradient
   (plus blobs) shows through as ONE continuous background.
   .section.alt (grey) and .hero (dark images) keep their own backgrounds. */
.section:not(.alt),
.page-header.page-header--light,
.page-header.job-single-header,
.novosti-archive,
.archive-content,
.single-content,
.projekti-archive-wrap {
  background: transparent;
  position: relative;
}
.projekti-archive-wrap { padding: 64px 0 96px; }
.novosti-archive      { padding: 72px 0 96px; }

/* ── Filter bar ── */
.proj-filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 20px;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(14,35,80,0.06);
  margin-bottom: 40px;
}
.proj-filter-pill {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.proj-filter-pill:hover { border-color: var(--blue); }
.proj-filter-pill:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(21,130,197,0.15);
}
.proj-filter-pill.is-active {
  border-color: var(--navy);
  background: var(--navy);
}
.proj-filter-pill.is-active .proj-filter-label { color: rgba(255,255,255,0.65); border-right-color: rgba(255,255,255,0.2); }
.proj-filter-pill.is-active .proj-filter-select { color: #fff; }
.proj-filter-pill.is-active::after { border-color: #fff; }

.proj-filter-label {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  border-right: 1px solid var(--line);
  transition: color 0.2s, border-color 0.2s;
}
.proj-filter-select {
  appearance: none;
  -webkit-appearance: none;
  padding: 9px 36px 9px 14px;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--navy);
  cursor: pointer;
  font-weight: 500;
  min-width: 130px;
}
.proj-filter-select:focus { outline: none; }
.proj-filter-pill::after {
  content: '';
  position: absolute;
  right: 16px; top: 50%;
  width: 6px; height: 6px;
  border-right: 1.5px solid var(--navy);
  border-bottom: 1.5px solid var(--navy);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
  transition: border-color 0.2s;
}
.proj-filter-reset {
  margin-left: auto;
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.78rem;
  color: var(--text-mid);
  transition: all 0.2s;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.proj-filter-reset:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* ── Featured card ── */
.proj-feature-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(14,35,80,0.08), 0 2px 6px rgba(14,35,80,0.04);
  margin-bottom: 48px;
  color: inherit;
  transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.proj-feature-card::before {
  /* thin blue accent bar on left edge */
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--blue), var(--navy));
  z-index: 2;
}
.proj-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(14,35,80,0.14), 0 4px 10px rgba(14,35,80,0.06);
}
.proj-feature-body {
  padding: 48px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.proj-feature-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.85rem;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 20px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.proj-feature-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.proj-feature-loc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-mid);
  font-weight: 500;
}
.proj-feature-loc svg { stroke: var(--blue); }
.proj-feature-excerpt {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0 0 28px;
}
.proj-feature-btn {
  align-self: flex-start;
  padding: 12px 28px;
  font-size: 0.85rem;
}
.proj-feature-img {
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  min-height: 340px;
}
.proj-feature-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.proj-feature-card:hover .proj-feature-img img { transform: scale(1.05); }
.proj-feature-img .ptc-img-placeholder {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}

/* ── Napon badge (yellow/blue accent) ── */
.proj-napon-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: linear-gradient(135deg, #f4c542, #e8a923);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(232,169,35,0.3);
  white-space: nowrap;
}

/* ── Grid ── */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.proj-grid-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(14,35,80,0.06), 0 1px 3px rgba(14,35,80,0.03);
  transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: inherit;
}
.proj-grid-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(14,35,80,0.12), 0 4px 10px rgba(14,35,80,0.05);
}
.proj-grid-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--bg-alt);
}
.proj-grid-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.proj-grid-card:hover .proj-grid-img img { transform: scale(1.06); }
.proj-grid-img .ptc-img-placeholder,
.proj-grid-img .ptc-placeholder-img {
  width: 100%; height: 100%;
  display: block;
}
.proj-grid-body {
  padding: 24px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.proj-grid-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.18rem;
  line-height: 1.32;
  color: var(--navy);
  margin: 0 0 16px;
  font-weight: 400;
  letter-spacing: -0.005em;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.18rem * 1.32 * 2);
}
.proj-grid-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.proj-grid-loc {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--text-mid);
  font-weight: 500;
}
.proj-grid-loc svg { stroke: var(--blue); }
.proj-grid-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  transition: gap 0.2s, color 0.2s;
}
.proj-grid-link .arr { transition: transform 0.2s; }
.proj-grid-card:hover .proj-grid-link { color: var(--blue); gap: 10px; }
.proj-grid-card:hover .proj-grid-link .arr { transform: translateX(3px); }

/* ── Hidden state (filters + load-more limit) ── */
/* is-beyond-limit only applies when no filter is active */
.proj-grid:not(.is-filtering) .proj-grid-card.is-beyond-limit,
.proj-list:not(.is-filtering) .proj-row.is-beyond-limit {
  display: none !important;
}
.proj-grid-card.is-filter-hidden,
.proj-feature-card.is-filter-hidden,
.proj-row.is-filter-hidden {
  display: none !important;
}

/* ── List rows (uniform list layout) ── */
.proj-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.proj-row {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(14,35,80,0.06), 0 1px 3px rgba(14,35,80,0.03);
  color: inherit;
  transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 280px;
}
.proj-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(14,35,80,0.12), 0 4px 10px rgba(14,35,80,0.05);
}
/* Alternating image side: even rows swap to image-left */
.proj-row:nth-child(even) {
  grid-template-columns: 280px 1fr;
}
.proj-row:nth-child(even) .proj-row-body {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  padding: 28px 32px 28px 8px;
}
.proj-row:nth-child(even) .proj-row-img {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}
.proj-row-body {
  padding: 28px 8px 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.proj-row-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--navy);
  margin: 0 0 12px;
  font-weight: 400;
  letter-spacing: -0.005em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.proj-row-excerpt {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.proj-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: baseline;
}
.proj-row-meta-item {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}
.proj-row-meta-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
}
.proj-row-meta-val {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
}
.proj-row-img {
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  min-height: 180px;
}
.proj-row-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.proj-row:hover .proj-row-img img { transform: scale(1.06); }
.proj-row-img .ptc-img-placeholder,
.proj-row-img .ptc-placeholder-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}

@media (max-width: 720px) {
  .proj-row {
    grid-template-columns: 1fr;
    height: auto;
  }
  .proj-row-body {
    padding: 24px 24px 24px;
    order: 2;
  }
  .proj-row-img {
    order: 1;
    min-height: 200px;
  }
  .proj-row-meta { gap: 20px; }
}

/* ── Empty state ── */
.proj-empty {
  padding: 60px 20px;
  text-align: center;
  color: var(--text-mid);
  background: rgba(255,255,255,0.5);
  border: 1px dashed var(--line);
  border-radius: 14px;
  margin-top: 24px;
}

/* ── Load-more button ── */
.proj-loadmore-wrap {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}
.proj-loadmore-btn {
  padding: 14px 34px;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}


/* ─── PROJEKTI PIN SECTION — pinned HORIZONTAL timeline + filters ─── */
.projekti-pin-section {
  position: relative;
  background: #fff;
}
.projekti-pin-sticky {
  position: sticky;
  top: 88px;
  height: calc(100vh - 88px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
}

/* Filter bar — sticks above timeline viewport */
.projekti-filter-bar {
  flex-shrink: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 18px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  z-index: 5;
}
.projekti-scroll-hint {
  margin-left: auto;
  display: flex; align-items: center; gap: 6px;
  font-size: 0.75rem; color: var(--text-mid);
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
}
.projekti-scroll-hint .phtl-arrow {
  display: inline-block;
  font-size: 1rem;
  color: var(--blue);
  animation: phtl-arrow-bounce 1.8s ease-in-out infinite;
}
@keyframes phtl-arrow-bounce {
  0%, 100% { transform: translateX(0); opacity: 0.6; }
  50%      { transform: translateX(6px); opacity: 1; }
}
.projekti-filter-title {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 0.75rem;
  color: var(--navy);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.projekti-filter-title svg { stroke: var(--blue); flex-shrink: 0; }

.projekti-filter-controls {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
}
.projekti-filter-select-wrap {
  position: relative;
  display: inline-block;
}
.projekti-filter-select-wrap::after {
  content: '';
  position: absolute;
  right: 16px; top: 50%;
  width: 6px; height: 6px;
  border-right: 1.5px solid var(--navy);
  border-bottom: 1.5px solid var(--navy);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
  transition: border-color 0.2s;
}
.projekti-filter-select-wrap.is-active::after { border-color: #fff; }

.projekti-filter-select {
  appearance: none;
  -webkit-appearance: none;
  padding: 9px 36px 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
  min-width: 140px;
}
.projekti-filter-select:hover { border-color: var(--blue); }
.projekti-filter-select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(21,130,197,0.15);
}
.projekti-filter-select.is-active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  font-weight: 600;
}

.projekti-filter-reset {
  padding: 9px 18px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8rem;
  color: var(--text-mid);
  transition: all 0.2s;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.projekti-filter-reset:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.projekti-filter-meta {
  margin-left: auto;
  font-size: 0.82rem;
  color: var(--text-mid);
  display: flex; align-items: center; gap: 5px;
}
.projekti-filter-count strong {
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  margin-right: 4px;
}

/* ─── HORIZONTAL TIMELINE ─── */
.phtl-viewport {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.phtl-track {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 8vw;
  will-change: transform;
  gap: 36px;
}

/* Horizontal spine — runs left to right through vertical centre */
.phtl-spine {
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, #3f4a5e 4%, #3f4a5e 96%, transparent 100%);
  transform: translateY(-0.5px);
  pointer-events: none;
  z-index: 1;
}

/* Year marker — inline on spine between items */
.phtl-year-marker {
  flex-shrink: 0;
  position: relative;
  z-index: 3;
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: var(--navy);
  background: #fff;
  padding: 8px 22px;
  border-radius: 999px;
  border: 1px solid #3f4a5e;
  box-shadow: 0 2px 8px rgba(14,28,60,0.06);
  white-space: nowrap;
  user-select: none;
}

/* Item — fixed width, full viewport height, card positioned above or below spine */
.phtl-item {
  flex-shrink: 0;
  position: relative;
  width: 280px;
  height: 100%;
  display: flex;
}
.phtl-item--top    { align-items: flex-start; padding-top: 8%; }
.phtl-item--bottom { align-items: flex-end;   padding-bottom: 8%; }

/* Dot on spine, centred under/over the card */
.phtl-dot {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid #fff;
  box-shadow: 0 0 0 3px rgba(21,130,197,0.18);
  z-index: 3;
  transition: transform 0.25s, box-shadow 0.25s;
}
.phtl-item:hover .phtl-dot {
  transform: translate(-50%, -50%) scale(1.25);
  box-shadow: 0 0 0 5px rgba(21,130,197,0.25);
}

/* Connector line from dot to card */
.phtl-connector {
  position: absolute;
  left: 50%; width: 1px;
  background: #3f4a5e;
  transform: translateX(-50%);
  z-index: 1;
  opacity: 0.5;
}
.phtl-item--top .phtl-connector    { top: 8%;  bottom: 50%; }
.phtl-item--bottom .phtl-connector { top: 50%; bottom: 8%;  }

/* Card */
.phtl-card {
  width: 100%;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid #3f4a5e;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(14,28,60,0.05), 0 1px 2px rgba(14,28,60,0.03);
  transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform  0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.2s;
  position: relative; z-index: 2;
  color: inherit;
}
.phtl-card:hover {
  box-shadow: 0 14px 36px rgba(14,28,60,0.14), 0 4px 10px rgba(14,28,60,0.08);
  transform: translateY(-4px);
  border-color: var(--blue);
}
.phtl-item--bottom .phtl-card:hover { transform: translateY(4px); }
.phtl-card .ptc-img { height: 140px; }
.phtl-card .ptc-body { padding: 14px 16px; }
.phtl-card .ptc-title { font-size: 1rem; margin-bottom: 8px; }
.phtl-card .ptc-klijent { font-size: 0.62rem; margin-bottom: 6px; }
.phtl-card .ptc-meta { font-size: 0.72rem; margin-bottom: 10px; }
.phtl-card .ptc-link { font-size: 0.72rem; padding-top: 10px; }

/* Empty state */
.projekti-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  color: var(--text-mid);
  font-size: 0.95rem;
  pointer-events: none;
}

/* Horizontal progress bar at bottom */
.phtl-progress {
  position: absolute;
  left: 24px; right: 24px; bottom: 14px;
  height: 3px;
  background: rgba(14,28,60,0.06);
  border-radius: 2px;
  overflow: hidden;
  pointer-events: none;
  z-index: 4;
}
.phtl-progress-bar {
  position: absolute;
  top: 0; left: 0; height: 100%;
  background: linear-gradient(to right, var(--blue), var(--navy));
  border-radius: 2px;
  width: 0;
  transition: width 0.1s linear;
}

/* Hide filtered items and year markers */
.phtl-item.is-hidden,
.phtl-year-marker.is-hidden { display: none !important; }

/* Mobile: disable pin, use normal horizontal scroll with touch */
@media (max-width: 1024px) {
  .projekti-pin-section { height: auto !important; }
  .projekti-pin-sticky {
    position: static;
    height: auto;
    overflow: visible;
  }
  .phtl-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    height: 520px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .phtl-track {
    transform: none !important;
    padding: 0 20px;
    gap: 24px;
  }
  .phtl-item { scroll-snap-align: center; width: 260px; }
  .phtl-item--top    { padding-top: 10%; }
  .phtl-item--bottom { padding-bottom: 10%; }
  .phtl-progress { display: none; }
  .projekti-scroll-hint { display: none; }
  .projekti-filter-bar {
    padding: 14px 20px;
    gap: 14px;
  }
  .projekti-filter-controls { width: 100%; gap: 8px; }
  .projekti-filter-select { min-width: 0; flex: 1; font-size: 0.78rem; padding: 8px 30px 8px 12px; }
}

/* ─── ELEMENTOR PAGE COMPAT ─── */
.page-template-default .entry-content,
.elementor-page .entry-content { max-width: none; padding: 0; }
body.elementor-page #masthead + * { margin-top: 88px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .about-layout { grid-template-columns: 1fr; }
  .cert-strip-inner { grid-template-columns: 1fr; }
  .company-layout { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: 1fr; }
  .projekt-detail-layout { grid-template-columns: 1fr; }
  .company-map-wrap iframe { height: 350px; }

  /* Footer — 2 columns on tablet */
  .footer-main { grid-template-columns: 1fr 1fr; gap: 48px 40px; }
  .footer-brand { grid-column: 1 / -1; }

  /* CTA split */
  .cta-split { grid-template-columns: 1fr; gap: 48px; }
  .cta-title { font-size: 2.2rem; }

  /* Company data */
  .company-layout { grid-template-columns: 1fr; }
  .company-data-key { width: 120px; }

  /* Projekti alternating timeline → single column on tablet */
  .pat-row--left  { padding-right: calc(50% + 32px); }
  .pat-row--right { padding-left:  calc(50% + 32px); }

  /* Usluge rows */
  .service-area-row { grid-template-columns: 1fr; height: auto; }
  .service-area-row.reverse .service-area-visual { order: 1; }
  .service-area-row.reverse .service-area-content { order: 2; }
  .service-area-visual { height: 340px; min-height: 340px; }
  .service-area-content { padding: 48px 40px; }
  .service-area-num { font-size: 3.5rem; }
  .service-area-title { font-size: 1.7rem; }

  /* Novosti editorial (homepage) */
  .novosti-editorial { grid-template-columns: 1fr; }
  .novost-featured-img { height: 220px; }
  .novost-featured-body { padding: 24px; }
  .novosti-secondary { flex-direction: row; }
  .novost-mini-card { flex: 1; }

  /* Projekti archive — featured stacks, grid drops to 2 cols */
  .proj-feature-card { grid-template-columns: 1fr; }
  .proj-feature-body { padding: 36px 32px; }
  .proj-feature-title { font-size: 1.55rem; }
  .proj-feature-img { min-height: 280px; order: -1; }
  .proj-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .proj-filter-bar { border-radius: 20px; padding: 14px; }
  .proj-filter-reset { margin-left: 0; }

  /* Novosti archive (legacy + new) */
  .novost-archive-featured { grid-template-columns: 1fr; }
  .novost-archive-featured-img { min-height: 280px; }
  .novost-archive-featured-body { padding: 32px; }
  .novost-archive-card { grid-template-columns: 200px 1fr; }

  /* Novosti new editorial grid */
  .novost-feature-card { grid-template-columns: 1fr; }
  .novost-feature-img { min-height: 260px; }
  .novost-feature-body { padding: 32px 36px; }
  .novost-feature-title { font-size: 1.45rem; }
  .novosti-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .mobile-menu { display: none; }
  .mobile-menu.open { display: block; }
  ul.nav-links { display: none; }
  .btn-nav { display: none; }

  .nav-top { padding: 0 20px; height: 64px; }
  .logo img { height: 36px; }
  .hero { margin-top: 64px; height: 85vh; }
  .hero-content { padding: 0 24px 120px; }
  .hero-bar { flex-wrap: wrap; row-gap: 20px; }
  .hero-bar-item { flex: 1 1 45%; padding: 0 14px; }
  .hero-bar-item:nth-child(2n)::after { display: none; }
  .hero-bar-num { font-size: 1.3rem; }
  .hero-controls { left: 24px; bottom: 24px; }

  .section { padding: 64px 0; }
  .section-inner { padding: 0 20px; }
  .section-lead { margin-bottom: 36px; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .services-header { flex-direction: column; align-items: flex-start; gap: 20px; }

  .about-facts-inner { grid-template-columns: repeat(2, 1fr); }
  .about-fact::after { display: none; }
  .company-map-wrap iframe { height: 300px; }

  /* Projekti alternating timeline mobile → all left, single column */
  .pat-spine { left: 20px; transform: none; }
  .pat-row--left, .pat-row--right {
    padding-left: 52px;
    padding-right: 0;
    justify-content: flex-start;
  }
  .pat-dot { left: 20px; transform: translate(-50%, -50%); }
  .pat-year-badge { left: 20px; transform: none; }
  .pat-row:has(.pat-year-badge) { margin-top: 36px; }
  .page-header-stats { gap: 28px; flex-wrap: wrap; }
  .ph-stat-num { font-size: 2rem; }
  .novost-archive-card { grid-template-columns: 140px 1fr; }
  .novost-archive-card-body { padding: 20px 20px; }

  .sectors-grid { grid-template-columns: 1fr; }
  .jobs-grid { grid-template-columns: 1fr; }
  .open-application-strip { flex-direction: column; gap: 28px; padding: 36px 28px; text-align: center; }
  .oas-title { font-size: 1.25rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }

  /* CTA split mobile */
  .cta-section { padding: 64px 0; }
  .cta-title { font-size: 1.9rem; }
  .cta-contact-card { padding: 24px 20px; }
  .company-data-key { width: 100px; font-size: 0.62rem; }
  .company-name-heading { font-size: 1.35rem; }
  .company-map-wrap { min-height: 320px; }
  .company-map-wrap iframe { min-height: 320px; }

  /* Usluge rows mobile */
  .service-area-content { padding: 40px 24px; }
  .service-area-title { font-size: 1.4rem; }
  .service-area-num { font-size: 2.8rem; }

  /* Novosti editorial mobile */
  .novosti-secondary { flex-direction: column; }
  .novost-mini-img { height: 140px; }
  .novost-featured-title { font-size: 1.1rem; }

  /* Novosti archive mobile (legacy + new) */
  .novost-archive-card { grid-template-columns: 1fr; }
  .novost-archive-card-img { height: 180px; }
  .novost-archive-card-body { padding: 20px 24px; }
  .novost-archive-featured-title { font-size: 1.3rem; }

  /* New editorial grid mobile */
  .novost-feature-img { min-height: 220px; }
  .novost-feature-body { padding: 28px 24px; }
  .novost-feature-title { font-size: 1.3rem; }
  .novosti-grid { grid-template-columns: 1fr; gap: 20px; }
  .novost-grid-img { height: 200px; }

  /* Projekti archive mobile */
  .projekti-archive-wrap { padding: 40px 0 72px; }
  .proj-filter-bar {
    flex-direction: column;
    align-items: stretch;
    border-radius: 20px;
    padding: 16px;
    gap: 10px;
  }
  .proj-filter-pill { width: 100%; }
  .proj-filter-select { width: 100%; flex: 1; }
  .proj-filter-reset { width: 100%; text-align: center; margin-left: 0; padding: 12px; }
  .proj-feature-body { padding: 28px 24px; }
  .proj-feature-title { font-size: 1.35rem; }
  .proj-feature-img { min-height: 220px; }
  .proj-grid { grid-template-columns: 1fr; gap: 18px; }
  .proj-grid-img { height: 200px; }

  .footer-main { grid-template-columns: 1fr; gap: 32px; padding: 40px 20px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding: 20px; }
  .form-row { grid-template-columns: 1fr; }
  #project-map { height: 320px; }

  .archive-content .section-inner,
  .single-content .section-inner { padding: 0 20px; }

  .page-header { padding: 48px 0 40px; }
  .page-header .section-inner { padding: 0 20px; }

  .mobile-menu { top: 64px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .hero-bar { flex-wrap: wrap; row-gap: 16px; }
  .hero-bar-item { flex: 1 1 45%; padding: 0 12px; gap: 8px; }
  .hero-bar-num { font-size: 1.1rem; }
  .hero-bar-label { font-size: 0.62rem; }
  .cert-badges { flex-direction: column; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card-img { height: 180px; }
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #f0f0f0; }
::-webkit-scrollbar-thumb { background: #c0c8d8; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* Focus states for accessibility */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
button:focus-visible, a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* ─── SERVICE PAGE BREADCRUMB ─── */
.service-breadcrumb {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.service-breadcrumb-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 48px;
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem;
}
.service-breadcrumb-inner a {
  color: var(--blue); font-weight: 500;
  transition: color var(--transition);
}
.service-breadcrumb-inner a:hover { color: var(--navy); }
.service-breadcrumb-inner .sep { color: var(--line); }
.service-breadcrumb-inner .bc-current { color: var(--text-mid); font-weight: 500; }

/* ─── ACTIVITY CARDS (Sustavi upravljanja) ─── */
.activity-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 48px;
}
.activity-card {
  --act-accent: var(--blue);
  --act-accent-soft: rgba(30, 77, 140, 0.10);
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-top: 3px solid var(--act-accent);
  padding: 26px 28px 28px;
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition), transform 0.15s;
  display: grid;
  grid-template-columns: 64px 1fr;
  column-gap: 18px;
  row-gap: 4px;
  align-items: start;
}
.activity-card:hover {
  border-color: var(--act-accent);
  border-top-color: var(--act-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.activity-icon-wrap {
  grid-column: 1; grid-row: 1 / span 2;
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--act-accent) 0%, color-mix(in srgb, var(--act-accent) 70%, white) 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px var(--act-accent-soft);
}
.activity-icon-wrap svg {
  width: 24px; height: 24px; stroke: white; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.activity-num {
  grid-column: 2; grid-row: 1;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em;
  color: var(--accent);
  margin: 0;
}
.activity-title {
  grid-column: 2; grid-row: 2;
  font-size: 1rem; font-weight: 700; color: var(--navy);
  line-height: 1.3;
  padding: 4px 0 14px 0;
  border-bottom: 1px solid var(--act-accent-soft);
  margin: 0;
}
.activity-desc {
  grid-column: 1 / -1;
  margin-top: 16px;
  font-size: 0.85rem; color: var(--text-light);
  line-height: 1.7; font-weight: 300;
}

/* ── Section header with clipped hero image ── */
.activity-section-header {
  display: grid;
  grid-template-columns: 1fr 480px;
  align-items: center;
  gap: 0;
  margin-bottom: 0;
  min-height: 320px;
}
.activity-section-text {
  padding-right: 48px;
}
.activity-section-text .section-title { margin-top: 0; }
.activity-section-text .section-lead  { margin-bottom: 0; }
.activity-section-img {
  position: relative;
  height: 340px;
  overflow: hidden;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.activity-section-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.activity-section-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, white 0%, rgba(255,255,255,0.5) 35%, transparent 70%);
}
@media (max-width: 1024px) {
  .activity-section-header { grid-template-columns: 1fr 380px; }
  .activity-section-img { height: 280px; }
}
@media (max-width: 768px) {
  .activity-section-header { grid-template-columns: 1fr; }
  .activity-section-text { padding-right: 0; }
  .activity-section-img { display: none; }
}

/* 6-color cycle for cards */
.activity-card:nth-child(6n+1) { --act-accent: #3b6ee0; --act-accent-soft: rgba(59,110,224,0.12); }
.activity-card:nth-child(6n+2) { --act-accent: #2ba99a; --act-accent-soft: rgba(43,169,154,0.12); }
.activity-card:nth-child(6n+3) { --act-accent: #7c5cd9; --act-accent-soft: rgba(124,92,217,0.12); }
.activity-card:nth-child(6n+4) { --act-accent: #2da845; --act-accent-soft: rgba(45,168,69,0.12); }
.activity-card:nth-child(6n+5) { --act-accent: #f0a500; --act-accent-soft: rgba(240,165,0,0.14); }
.activity-card:nth-child(6n+6) { --act-accent: #dc3545; --act-accent-soft: rgba(220,53,69,0.12); }

/* ─── PLATFORMS TABLE ─── */
/* ── Platforms — vendor-grouped list ── */
.plat-list {
  margin-top: 48px;
}
.plat-row {
  display: flex; align-items: center; gap: 24px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.6);
  border-radius: var(--radius);
  margin-bottom: 8px;
}
.plat-row:first-child { border-top: 1px solid var(--line); }
.plat-row-logo {
  width: 160px; height: 64px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: flex-start;
  padding-left: 8px;
}
.plat-row-logo img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain; display: block;
}
.plat-row-logo:empty { background: transparent; }
.plat-row-vendor {
  width: 170px; flex-shrink: 0;
  font-size: 0.95rem; font-weight: 700; color: var(--navy);
  line-height: 1.4;
}
.plat-row-vendor small {
  font-weight: 400; color: var(--text-light);
  font-size: 0.72rem; letter-spacing: 0;
}
.plat-row-products {
  display: flex; flex-wrap: wrap; gap: 10px;
  flex: 1;
}
.plat-product {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px;
  border-radius: 6px;
  background: var(--bg-alt);
  transition: background var(--transition);
}
.plat-product:hover { background: #e4eaf2; }
.plat-product strong {
  font-size: 0.84rem; font-weight: 600; color: var(--navy);
}
.plat-type {
  font-size: 0.62rem; font-weight: 600; color: var(--blue);
  letter-spacing: 0.06em; text-transform: uppercase;
  opacity: 0.7;
}

/* Telenerg own row — same look as the rest */
.plat-row--own { /* inherits .plat-row */ }
.plat-row--own .plat-row-vendor small {
  color: var(--text-mid);
  font-weight: 400;
  display: block;
  margin-top: 2px;
}
.plat-row-logo--own {
  width: 140px; height: 64px;
  background: transparent;
}

.plat-product--own {
  text-decoration: none;
  background: var(--blue);
  padding: 12px 22px;
  border-radius: 8px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 8px rgba(30,77,140,0.18);
}
.plat-product--own:hover {
  background: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30,77,140,0.28);
}
.plat-product--own strong { color: white; font-size: 0.95rem; }
.plat-product--own .plat-product-arrow {
  color: white; font-size: 1.05rem; line-height: 1;
  transition: transform var(--transition);
}
.plat-product--own:hover .plat-product-arrow { transform: translateX(3px); }

/* LinkedIn social icon */
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  transition: background var(--transition), border-color var(--transition);
}
.footer-social-link:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.25); }
.footer-social-link svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.65); display: block; }
.footer-social-link:hover svg { fill: white; }

/* ─── NETSY SPOTLIGHT ─── */

/* Header row: badge → logo → tagline → pills (centred) */
.netsy-header {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 14px; margin-bottom: 48px;
}
.netsy-logo-wrap {
  display: block; padding: 0;
}
.netsy-logo-img { max-height: 120px; width: auto; display: block; }
.netsy-own-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(240,165,0,0.12); border: 1px solid rgba(240,165,0,0.3);
  color: var(--accent); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px;
}
.netsy-tagline {
  font-family: 'DM Serif Display', serif;
  font-size: 1.35rem; color: var(--navy);
  letter-spacing: 0.02em; margin: 0;
}

/* ── NETSY right column: image slider ── */
.netsy-img-slider {
  position: relative;
  border-radius: 0;
  background: none;
  border: none;
}
/* nis-* slider now mirrors SCADA reference slider via shared .srs-* / .scada-ref-* classes.
   Remaining nis-* rules are intentionally minimal; SCADA classes provide layout. */
.nis-caption { display: none; }
.netsy-pills {
  display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;
}
.netsy-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 6px 16px; border-radius: 20px;
  border: 1px solid;
}
.netsy-pill--secure  { color: #4ade80; border-color: rgba(74,222,128,0.4); background: rgba(74,222,128,0.07); }
.netsy-pill--ai      { color: #60a5fa; border-color: rgba(96,165,250,0.4); background: rgba(96,165,250,0.07); }
.netsy-pill--chain   { color: var(--accent); border-color: rgba(240,165,0,0.4); background: rgba(240,165,0,0.07); }

/* Main content grid — like service-area-row */
.netsy-layout {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 64px; align-items: start;
}
.netsy-layout--single {
  display: block;
  max-width: 820px;
  margin: 0 auto;
}
.netsy-layout--single .netsy-left { max-width: 100%; }
.netsy-desc {
  font-size: 0.95rem; color: var(--text-mid);
  line-height: 1.8; font-weight: 300; margin-bottom: 32px;
}

/* Feature cards grid */
.netsy-feature-cards {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin-bottom: 36px;
}
.netsy-feat-card {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 18px;
  transition: background 0.2s, border-color 0.2s;
}
.netsy-feat-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.15);
}
.netsy-feat-icon {
  flex-shrink: 0; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(240,165,0,0.1); border-radius: 8px;
}
.netsy-feat-icon svg {
  width: 18px; height: 18px;
  stroke: var(--accent); fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
.netsy-feat-title {
  font-size: 0.8rem; font-weight: 700;
  color: rgba(255,255,255,0.85); margin-bottom: 5px;
  letter-spacing: 0.01em;
}
.netsy-feat-desc {
  font-size: 0.78rem; color: rgba(255,255,255,0.45);
  line-height: 1.65; font-weight: 300; margin: 0;
}

/* Right column */
.netsy-right { display: flex; flex-direction: column; gap: 16px; }

/* NETSY screenshot slider */
.netsy-screens-wrap {
  position: relative; border-radius: var(--radius);
  overflow: hidden; background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
  aspect-ratio: 16/10;
}
.netsy-screen {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.2s ease;
}
.netsy-screen.active { opacity: 1; }
.netsy-screen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.netsy-screen-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  color: rgba(255,255,255,0.2); font-size: 0.8rem; text-align: center;
  font-weight: 300; padding: 24px;
}
.netsy-screen-placeholder svg {
  width: 48px; height: 48px;
  stroke: rgba(255,255,255,0.25); fill: none;
  stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round;
}
.netsy-screen-controls {
  position: absolute; bottom: 14px; left: 50%;
  transform: translateX(-50%); display: flex; gap: 6px; z-index: 5;
}
.netsy-screen-dot {
  width: 20px; height: 3px; border: none; cursor: pointer;
  background: rgba(255,255,255,0.25); transition: background 0.3s, width 0.3s;
}
.netsy-screen-dot.active { background: var(--accent); width: 34px; }
.netsy-screens-note {
  font-size: 0.73rem; color: rgba(255,255,255,0.22);
  text-align: center; font-weight: 300; margin: 0;
}

/* Summary box */
.netsy-summary-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 22px 26px;
}
.netsy-summary-title {
  font-size: 0.65rem; font-weight: 700; color: var(--accent);
  letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 10px;
}
.netsy-summary-box p {
  font-size: 0.88rem; color: rgba(255,255,255,0.55);
  line-height: 1.7; font-weight: 300; margin: 0;
  font-style: italic;
}

/* ─── RESPONSIVE — new sections ─── */
@media (max-width: 1024px) {
  .activity-grid { grid-template-columns: repeat(2, 1fr); }
  .plat-row-logo { width: 120px; height: 52px; }
  .plat-product { padding: 6px 12px; }
  .netsy-layout { grid-template-columns: 1fr; gap: 48px; }
  .netsy-feature-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .activity-grid { grid-template-columns: 1fr 1fr; }
  .activity-card { padding: 22px 20px 22px; grid-template-columns: 48px 1fr; column-gap: 14px; }
  .activity-icon-wrap { width: 48px; height: 48px; }
  .activity-icon-wrap svg { width: 20px; height: 20px; }
  .activity-title { font-size: 0.95rem; }
  .plat-row { flex-direction: column; align-items: flex-start; gap: 14px; padding: 16px; }
  .plat-row-logo { width: auto; height: 44px; padding-left: 0; justify-content: flex-start; }
  .plat-row-logo img { max-height: 44px; }
  .plat-row--own { padding: 18px 16px; }
  .plat-row-logo--own { width: auto; height: 48px; }
  .netsy-feature-cards { grid-template-columns: 1fr; }
  .netsy-tagline { font-size: 1.15rem; }
}
@media (max-width: 480px) {
  .activity-grid { grid-template-columns: 1fr; }
  .netsy-pills { gap: 7px; }
}


/* ═══════════════════════════════════════════════════════════════
   NETSY HERO BADGE (sustavi-upravljanja hero)
   ═══════════════════════════════════════════════════════════════ */

.netsy-hero-badge-link {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 22px;
  padding: 9px 20px 9px 14px;
  background: rgba(240,165,0,0.1);
  border: 1px solid rgba(240,165,0,0.35);
  border-radius: 30px;
  color: var(--accent);
  font-size: 0.73rem; font-weight: 600; letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.netsy-hero-badge-link:hover {
  background: rgba(240,165,0,0.18);
  border-color: rgba(240,165,0,0.55);
}
.nhbl-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
  position: relative;
}
.nhbl-dot::before {
  content: '';
  position: absolute; inset: -4px; border-radius: 50%;
  background: var(--accent); opacity: 0.3;
  animation: netsy-blink 1.6s ease-in-out infinite;
}


/* ═══════════════════════════════════════════════════════════════
   SCADA REFERENCE GALLERY
   ═══════════════════════════════════════════════════════════════ */

.scada-refs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 48px;
}
.scada-ref-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.2s;
  background: white;
}
.scada-ref-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.scada-ref-card--own {
  border-color: rgba(240,165,0,0.35);
}
.scada-ref-img {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
}
.scada-ref-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.scada-ref-card:hover .scada-ref-img img { transform: scale(1.04); }
.scada-ref-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,15,25,0.75) 0%, transparent 55%);
  display: flex; align-items: flex-end; padding: 14px;
}
.scada-ref-type-badge {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(4px);
  color: white; padding: 4px 10px; border-radius: 20px;
}
.scada-ref-type--accent {
  background: rgba(240,165,0,0.2);
  border-color: rgba(240,165,0,0.5);
  color: var(--accent);
}
.scada-ref-info { padding: 18px 20px 20px; }
.scada-ref-title {
  font-size: 0.9rem; font-weight: 600; color: var(--navy);
  line-height: 1.4; margin-bottom: 10px;
}
.scada-ref-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.75rem;
}
.scada-ref-platform { color: var(--text-mid); font-weight: 400; }
.scada-ref-platform--own { color: var(--accent); font-weight: 600; }
.scada-ref-year {
  color: var(--text-light); font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
  .scada-refs-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .scada-refs-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════════════════
   NETSY REDESIGN — feature list + CTAs
   ═══════════════════════════════════════════════════════════════ */

/* Remove old pills (kept in HTML as safety, hidden here) */
.netsy-pills { display: none; }

/* Feature list replacing the 6-card grid */
.netsy-feat-list {
  list-style: none; padding: 0; margin: 0 0 36px;
  display: flex; flex-direction: column; gap: 16px;
}
.netsy-feat-list li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 0.88rem; color: rgba(255,255,255,0.65);
  line-height: 1.6;
}
.netsy-feat-list li strong {
  color: rgba(255,255,255,0.92); font-weight: 700;
}
.nfl-icon {
  flex-shrink: 0; width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(240,165,0,0.1); border-radius: 7px;
  margin-top: 1px;
}
.nfl-icon svg {
  width: 16px; height: 16px;
  stroke: var(--accent); fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}

/* CTA buttons row */
.netsy-ctas {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}
.btn-netsy-demo {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--navy); color: white;
  font-size: 0.9rem; font-weight: 700;
  padding: 14px 28px; border-radius: var(--radius);
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-netsy-demo:hover {
  background: var(--bg-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(21,130,197,0.4);
}


/* ═══════════════════════════════════════════════════════════════
   NETSY STATIC SCADA PREVIEW WINDOW
   ═══════════════════════════════════════════════════════════════ */

.netsy-prev {
  background: #0d1117;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px; overflow: hidden;
}

/* Title bar */
.netsy-prev-bar {
  background: #161b22;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
}
.netsy-prev-bar-dots {
  display: flex; gap: 5px; flex-shrink: 0;
}
.netsy-prev-bar-dots span {
  width: 10px; height: 10px; border-radius: 50%;
}
.netsy-prev-bar-dots span:nth-child(1) { background: #f87171; }
.netsy-prev-bar-dots span:nth-child(2) { background: #fbbf24; }
.netsy-prev-bar-dots span:nth-child(3) { background: #4ade80; }
.netsy-prev-bar-title {
  flex: 1;
  color: rgba(255,255,255,0.4);
  font-family: 'SF Mono', 'Consolas', monospace;
  font-size: 0.7rem; letter-spacing: 0.05em;
}
.netsy-prev-bar-time {
  color: rgba(255,255,255,0.28);
  font-family: 'SF Mono', 'Consolas', monospace;
  font-size: 0.7rem; font-variant-numeric: tabular-nums;
}

/* Preview body: diagram | panel */
.netsy-prev-body {
  display: grid; grid-template-columns: 1fr 155px;
}

/* Diagram area */
.netsy-prev-diagram-wrap {
  padding: 14px 12px 10px;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.netsy-prev-station-label {
  font-family: 'SF Mono', 'Consolas', monospace;
  font-size: 0.58rem; color: rgba(255,255,255,0.22);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.netsy-prev-svg { width: 100%; height: auto; display: block; }

/* SVG element classes */
.npd-label {
  font-size: 7px; fill: rgba(255,255,255,0.28);
  font-family: 'SF Mono', 'Consolas', monospace;
}
.npd-t-label {
  font-size: 7px; fill: rgba(255,255,255,0.4);
  font-family: 'SF Mono', 'Consolas', monospace;
}
.npd-feeder-label {
  font-size: 7px; fill: rgba(255,255,255,0.45);
  font-family: 'SF Mono', 'Consolas', monospace;
}
.npd-feeder-label.npd-dim { fill: rgba(255,255,255,0.18); }
.npd-bus { stroke: rgba(255,255,255,0.45); stroke-width: 1.8; }
.npd-wire { stroke-width: 1.4; }
.npd-wire.npd-on  { stroke: #4ade80; }
.npd-wire.npd-dim { stroke: rgba(255,255,255,0.12); }
.npd-cb { stroke-width: 1.4; }
.npd-cb-closed { stroke: #4ade80; fill: rgba(74,222,128,0.12); }
.npd-cb-open   { stroke: #f87171; fill: rgba(248,113,113,0.15); }
.npd-t-coil    { stroke: #4ade80; stroke-width: 1.4; fill: none; }

/* Right panel */
.netsy-prev-panel {
  display: flex; flex-direction: column;
}
.netsy-prev-panel-section {
  padding: 12px 11px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.netsy-prev-panel-section:last-child { border-bottom: none; }
.netsy-prev-panel-title {
  font-family: 'SF Mono', 'Consolas', monospace;
  font-size: 0.58rem; color: rgba(255,255,255,0.28);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 9px;
  display: flex; align-items: center; gap: 5px;
}

/* Alarm dot pulse */
.netsy-prev-alarm-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #f87171; flex-shrink: 0;
  animation: netsy-blink 1.3s ease-in-out infinite;
}
.netsy-prev-alarm-count {
  margin-left: auto;
  background: #f87171; color: white;
  font-size: 0.58rem; font-weight: 700;
  width: 15px; height: 15px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* Alarm list */
.netsy-prev-alarm-list { display: flex; flex-direction: column; gap: 4px; }
.netsy-prev-alarm {
  display: grid; grid-template-columns: 28px 1fr; gap: 3px;
  font-family: 'SF Mono', 'Consolas', monospace;
  font-size: 0.6rem; padding: 4px 6px; border-radius: 3px;
  border-left: 2px solid;
}
.netsy-prev-alarm--crit { background: rgba(248,113,113,0.08); border-left-color: #f87171; }
.netsy-prev-alarm--warn { background: rgba(251,191,36,0.07);  border-left-color: #fbbf24; }
.netsy-prev-alarm--info { background: rgba(74,222,128,0.05);  border-left-color: #4ade80; }
.npa-time { color: rgba(255,255,255,0.28); font-variant-numeric: tabular-nums; }
.npa-msg  { color: rgba(255,255,255,0.62); }

/* Measurements */
.netsy-prev-values { display: flex; flex-direction: column; gap: 7px; }
.netsy-prev-value-row {
  display: flex; align-items: baseline; gap: 5px;
  font-family: 'SF Mono', 'Consolas', monospace;
}
.npv-label { color: rgba(255,255,255,0.28); font-size: 0.62rem; width: 12px; }
.npv-val {
  color: #4ade80; font-size: 0.92rem; font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition: opacity 0.15s;
}
.npv-val.netsy-val-updating { opacity: 0.25; }
.npv-unit { color: rgba(255,255,255,0.22); font-size: 0.58rem; }

/* Note below preview */
.netsy-prev-cta-note {
  font-size: 0.7rem; color: rgba(255,255,255,0.25);
  text-align: center; margin: 12px 0 0; font-weight: 300;
}

/* Shared blink animation */
@keyframes netsy-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.15; }
}


/* ═══════════════════════════════════════════════════════════════
   SERVICE CARD — NETSY badge + teaser (card 06)
   ═══════════════════════════════════════════════════════════════ */

/* card image wrapper needs relative for badge positioning */
.service-card-img { position: relative; }

/* Badge overlaid on card image — bottom-left */
.sc-netsy-badge {
  position: absolute; bottom: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.82);
  color: var(--navy);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em;
  padding: 6px 12px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.5);
  pointer-events: none; white-space: nowrap;
  backdrop-filter: blur(4px);
}

/* Pulsing dot */
.snt-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--navy); flex-shrink: 0;
  position: relative;
}
.snt-dot::before {
  content: '';
  position: absolute; inset: -3px; border-radius: 50%;
  background: var(--navy); opacity: 0.25;
  animation: netsy-blink 1.6s ease-in-out infinite;
}

/* Bottom link — accent + bold */
.service-link--netsy {
  color: var(--accent) !important;
  font-weight: 700; font-size: 0.85rem;
}
.service-card--has-netsy:hover .service-link--netsy { color: #d97706 !important; }


/* ═══════════════════════════════════════════════════════════════
   SCADA REFERENCE SLIDER
   ═══════════════════════════════════════════════════════════════ */

.scada-refs-slider {
  display: flex; align-items: center; gap: 16px;
  margin-top: 48px;
}
.srs-viewport {
  flex: 1; overflow: hidden; border-radius: var(--radius);
  min-width: 0; /* prevent flex overflow */
}
.srs-track {
  display: flex;
  width: 100%;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.srs-track .scada-ref-card {
  flex: 0 0 100%;
  min-width: 0;
  box-sizing: border-box;
}
.srs-track .scada-ref-img {
  height: 550px;
  aspect-ratio: unset;
}
.srs-arrow {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line); border-radius: 50%;
  background: white; color: var(--navy);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.srs-arrow:hover {
  background: var(--navy); color: white;
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
}
.srs-arrow svg { width: 18px; height: 18px; }
.srs-arrow:disabled { opacity: 0.3; cursor: default; }
.srs-arrow:disabled:hover {
  background: white; color: var(--navy);
  border-color: var(--line); box-shadow: none;
}
.srs-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 20px;
}
.srs-dot {
  width: 22px; height: 3px; border: none; cursor: pointer;
  background: var(--line); border-radius: 2px;
  transition: background 0.3s, width 0.3s;
}
.srs-dot.active { background: var(--navy); width: 36px; }

@media (max-width: 768px) {
  .srs-track .scada-ref-img {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}
@media (max-width: 600px) {
  .srs-arrow { width: 36px; height: 36px; }
  .srs-arrow svg { width: 15px; height: 15px; }
}


/* ═══════════════════════════════════════════════════════════════
   NETSY on light/grey background (section.alt)
   ═══════════════════════════════════════════════════════════════ */

.section.alt .netsy-tagline        { color: var(--navy); }
.section.alt .netsy-desc           { color: var(--text-mid); }
.section.alt .netsy-feat-list li   { color: var(--text-mid); }
.section.alt .netsy-feat-list li strong { color: var(--navy); }
.section.alt .netsy-prev-cta-note  { color: var(--text-light); }
/* preview window stays dark regardless of section bg — no override needed */


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — new components
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .netsy-prev-body { grid-template-columns: 1fr 140px; }
}
@media (max-width: 768px) {
  .netsy-prev-body { grid-template-columns: 1fr; }
  .netsy-prev-panel { flex-direction: row; border-top: 1px solid rgba(255,255,255,0.06); }
  .netsy-prev-panel-section { flex: 1; border-bottom: none; border-right: 1px solid rgba(255,255,255,0.05); }
  .netsy-prev-panel-section:last-child { border-right: none; }
  .netsy-feat-list li { font-size: 0.84rem; }
  .netsy-ctas { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .netsy-prev-panel { flex-direction: column; }
  .netsy-prev-panel-section { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .netsy-prev-panel-section:last-child { border-bottom: none; }
}

/* ═══════════════════════════════════════════════════════════════
   SINGLE JOB OPENING (single-awsm_job_openings.php)
   ═══════════════════════════════════════════════════════════════ */

/* Light (white-bg) hero header modifier — used on Karijere, single job, etc.
   Background comes from the shared light-gradient rule; hide the inherited
   dark radial-glow ::after from the default dark .page-header. */
.page-header.page-header--light {
  border-bottom: 1px solid var(--line);
}
.page-header.page-header--light::after { display: none; }
.page-header.page-header--light h1 { color: #000; }
.page-header.page-header--light p { color: var(--text-mid); }

/* Single job hero — shares the light gradient background */
.page-header.job-single-header {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--line);
}
.page-header.job-single-header::after { display: none; }
.job-back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--text-mid);
  margin-bottom: 28px;
  transition: gap 0.2s, color 0.2s;
}
.job-back-link:hover { color: var(--blue); gap: 12px; }

/* Inline variant of sep-label (matches o-nama "Our story / dash" style) */
.sep-label.sep-label--inline {
  position: static;
  max-width: none;
  margin: 0 0 16px;
  padding: 0;
  pointer-events: auto;
}

.page-header.job-single-header h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.15;
  color: #000;
  margin-bottom: 24px;
}

/* Meta bar under title — all black text */
.job-single-meta {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 4px;
}
.jsm-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.8rem; font-weight: 500;
  color: #000;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 999px;
}
.jsm-tag svg { opacity: 0.85; color: #000; }
.jsm-tag--location,
.jsm-tag--type { color: #000; }
.jsm-tag--deadline { background: var(--bg-alt); border-color: var(--line); color: #000; }
.jsm-tag--expired { background: #fef2f2; border-color: #fecaca; color: #dc2626; }
.jsm-tag--date { background: transparent; color: #000; border-color: transparent; }

/* Main wrap + grid */
.job-single-wrap { padding: 64px 0 96px; background: #fff; }
.job-single-wrap .section-inner { max-width: 820px; margin: 0 auto; padding: 0 48px; }

.job-single-main { min-width: 0; }
.job-single-content {
  font-size: 1rem; line-height: 1.8; color: var(--text-mid); font-weight: 300;
}
.job-single-content h2,
.job-single-content h3 {
  color: var(--navy); font-weight: 600;
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
  position: relative;
}
.job-single-content h2::after,
.job-single-content h3::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 40px; height: 2px; background: var(--blue);
}
.job-single-content h2 { font-size: 1.35rem; }
.job-single-content h3 { font-size: 1.15rem; }
.job-single-content h2:first-child,
.job-single-content h3:first-child { margin-top: 0; }
.job-single-content p { margin-bottom: 16px; }
.job-single-content ul,
.job-single-content ol { margin: 16px 0; padding-left: 0; list-style: none; }
.job-single-content ul li,
.job-single-content ol li {
  position: relative; padding-left: 28px; margin-bottom: 10px;
}
.job-single-content ul li::before {
  content: ''; position: absolute; left: 0; top: 0.65em;
  width: 14px; height: 2px; background: var(--blue);
}
.job-single-content ol { counter-reset: ji; }
.job-single-content ol li { counter-increment: ji; }
.job-single-content ol li::before {
  content: counter(ji) '.'; position: absolute; left: 0; top: 0;
  font-weight: 700; color: var(--blue); font-size: 0.9rem;
}
.job-single-content strong { color: var(--navy); font-weight: 600; }

/* Hide WP Job Openings auto-appended spec tables inside content
   (Job Category / Job Type / Job Location lines) — we already show these
   as nicer pills in the hero header */
.job-single-content .awsm-job-specifications,
.job-single-content .awsm-job-specifications-row,
.job-single-content .awsm-single-job-specifications,
.job-single-content .awsm-job-specs-container,
.job-single-content .awsm-job-specs-list,
.job-single-content .awsm-job-specs,
.job-single-content .awsm-job-tax-list,
.job-single-content .awsm-job-single-taxonomy-item,
.job-single-content .awsm-single-job-meta,
.job-single-content .awsm-single-job-entry-meta,
.awsm-single-job-entry-content .awsm-job-specifications,
.awsm-single-job-entry-content .awsm-job-specs-container { display: none !important; }

/* Expired banner */
.job-expired-banner {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fef2f2; border: 1px solid #fecaca;
  color: #991b1b;
  padding: 16px 20px; border-radius: var(--radius);
  margin-bottom: 40px;
  font-size: 0.92rem;
}
.job-expired-banner svg { flex-shrink: 0; margin-top: 2px; color: #dc2626; }
.job-expired-banner strong { color: #7f1d1d; display: block; margin-bottom: 2px; }
.job-expired-banner a { color: #dc2626; font-weight: 600; text-decoration: underline; }

/* ─── JOB LIST (horizontal rows) — used on /karijere/ listing ─── */
.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}
.job-row {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto 40px;
  gap: 28px;
  align-items: center;
  padding: 26px 32px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--line);
  border-radius: var(--radius);
  color: var(--text-mid);
  box-shadow: 0 1px 2px rgba(10,30,60,0.03);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.job-row:hover {
  border-color: var(--line);
  border-left-color: var(--blue);
  box-shadow: 0 8px 24px rgba(10,30,60,0.08);
  transform: translateY(-2px);
}
.job-row--expired { opacity: 0.6; }
.job-row--expired:hover { border-left-color: var(--line); transform: none; box-shadow: 0 1px 2px rgba(10,30,60,0.03); }

.job-row-icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  color: var(--navy);
  flex-shrink: 0;
  overflow: hidden;
}
.job-row-icon svg { width: 34px; height: 34px; }
.job-row-icon--image {
  width: 56px; height: 56px;
  border-radius: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
}
.job-row-icon--image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.job-row-body { min-width: 0; }
.job-row-title {
  font-size: 0.98rem; font-weight: 700;
  letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.job-row-excerpt {
  font-size: 0.9rem; color: var(--text-mid);
  font-weight: 300; line-height: 1.55;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.job-row-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  align-items: center;
}
.job-row-meta-item {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.76rem; font-weight: 500;
  color: var(--text-mid);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 5px 11px;
  border-radius: 999px;
}
.job-row-meta-item svg { opacity: 0.6; }
.job-row-meta-date {
  background: rgba(21,130,197,0.08);
  border-color: rgba(21,130,197,0.2);
  color: var(--navy);
}

.job-row-deadline {
  text-align: right;
  white-space: nowrap;
  padding-left: 16px;
}
.job-row-deadline-label {
  font-size: 0.78rem; color: var(--text-mid);
  font-weight: 400;
  margin-bottom: 4px;
}
.job-row-deadline-date {
  font-size: 0.95rem; font-weight: 600;
  color: var(--navy);
}
.job-row-deadline--expired .job-row-deadline-label { color: #dc2626; }
.job-row-deadline--expired .job-row-deadline-date { color: #991b1b; }

.job-row-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  color: var(--navy);
  transition: transform 0.25s;
}
.job-row-arrow svg { width: 22px; height: 22px; }
.job-row:hover .job-row-arrow { transform: translate(3px, -3px); }

@media (max-width: 900px) {
  .job-row {
    grid-template-columns: 48px minmax(0, 1fr) 32px;
    grid-template-rows: auto auto;
    gap: 14px 16px;
    padding: 18px 18px;
  }
  .job-row-icon { width: 40px; height: 40px; }
  .job-row-icon svg { width: 28px; height: 28px; }
  .job-row-body { grid-column: 2; grid-row: 1; }
  .job-row-arrow { grid-column: 3; grid-row: 1; align-self: start; }
  .job-row-deadline {
    grid-column: 2 / 4; grid-row: 2;
    text-align: left;
    padding-left: 0;
    display: flex; align-items: baseline; gap: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }
  .job-row-deadline-label { margin-bottom: 0; font-size: 0.74rem; }
  .job-row-deadline-date { font-size: 0.85rem; }
  .job-row-title { font-size: 0.9rem; }
}
@media (max-width: 480px) {
  .job-row { padding: 16px 14px; gap: 10px 12px; }
  .job-row-icon { width: 36px; height: 36px; }
  .job-row-icon svg { width: 24px; height: 24px; }
  .job-row-excerpt { -webkit-line-clamp: 3; }
}

/* Similar jobs section */
.job-similar-section { padding: 80px 0 96px; margin-top: 0; }
.job-similar-section .sep-label { margin-bottom: 40px; }
.job-similar-section .section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 400;
  color: var(--navy);
  margin: 0 0 48px;
  line-height: 1.2;
}

/* Mobile sticky apply bar (hidden on desktop) */
.job-sticky-apply {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(14,28,60,0.08);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  gap: 12px; align-items: center;
}
.jsa-text {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.jsa-title {
  font-size: 0.82rem; font-weight: 700; color: var(--navy);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.jsa-sub { font-size: 0.72rem; color: var(--text-light); }
.jsa-btn {
  flex-shrink: 0;
  padding: 12px 20px;
  font-size: 0.82rem;
}

/* Responsive */
@media (max-width: 768px) {
  .page-header.job-single-header { padding: 40px 0 32px; }
  .job-single-wrap { padding: 40px 0 120px; } /* extra bottom pad for sticky bar */
  .job-single-wrap .section-inner { padding: 0 20px; }
  .job-single-meta { gap: 8px; }
  .jsm-tag { font-size: 0.74rem; padding: 6px 12px; }
  .job-sticky-apply { display: flex; }
  .job-similar-section { padding: 56px 0 72px; }
  .job-similar-section .section-title { margin-bottom: 32px; }
}
@media (max-width: 480px) {
  .jsa-btn { padding: 11px 16px; }
}


/* ═══════════════════════════════════════════════════════════════
   MOBILE IMPROVEMENTS
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  /* ── HEADER ── */
  /* Potpuno sakrij desktop nav-actions (linkovi, lang, kontakt) —
     mobile-menu ih preuzima. Prije je bilo samo skrivanje djece,
     što je ostavljalo nav-actions kao flex item sa gap:32px. */
  .nav-actions { display: none !important; }

  /* Hamburger: veća dodirna zona i vidljiviji okvir */
  .hamburger {
    display: flex !important;
    width: 48px; height: 48px; gap: 6px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 8px;
  }
  .hamburger span { width: 24px; height: 2.5px; }


  /* ── HERO — stacked layout (koncar.hr stil): slika gore, tekst dolje ── */
  .hero {
    display: block;
    position: relative;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin-top: 64px;
    padding-top: 240px;  /* prostor za sliku */
    background: white;
  }
  /* Ugasi bijelu dijagonalu — nepotrebna u stacked layoutu */
  .hero::before,
  .hero::after { display: none; }
  /* Slike slider-a u gornjem dijelu (fixed visina) */
  .hero-slide {
    top: 0; left: 0; right: 0;
    height: 240px;
    bottom: auto;
  }
  /* Sadržaj u prirodnom flow-u ispod slike */
  .hero-content {
    position: relative;
    padding: 28px 20px 40px;
    max-width: 100%;
    width: 100%;
    z-index: 5;
  }
  /* Slide dots: pri dnu slike */
  .hero-controls {
    position: absolute;
    top: 204px; left: 20px;
    bottom: auto;
    z-index: 10;
  }
  /* Dotovi vidljivi na svijetloj i tamnoj slici */
  .slide-dot { background: rgba(255,255,255,0.5); }
  .slide-dot.active { background: white; width: 48px; }
  /* Hero bar: već ima 4 stupca, ovdje wrapa */
  .hero-bar { flex-wrap: wrap; row-gap: 16px; margin-top: 24px; }
  .hero-bar-item { flex: 1 1 45%; padding: 0 12px; }
  .hero-bar-item:nth-child(odd) { padding-left: 0; }
  .hero-bar-item:nth-child(even) { padding-right: 0; }
  .hero-bar-item:nth-child(2n)::after { display: none; }
  .hero-bar-num { font-size: 1.3rem; }
  .hero h1     { font-size: 1.9rem; }
  .hero-lead   { max-width: 100%; }

  /* ── PAGE HEADERS — nav je 64px, ne 88px ── */
  .page-header { margin-top: 64px; }
  .about-hero  { margin-top: 64px; }

  /* ── SEP-LABEL: static flow — nema više absolute overlap ── */
  .sep-label {
    position: static;
    max-width: 100%;
    margin: 0 auto 14px;
    padding: 0 20px;
    top: auto;
  }
  .section { padding: 48px 0; }

  /* ── OSTALI PADDING FIXEVI ── */
  .service-breadcrumb-inner { padding: 0 20px; }
  .cert-strip-inner         { padding: 0 20px; }
  .section-lead             { max-width: 100%; }
}

@media (max-width: 480px) {
  /* Hero slika manja na sitnim ekranima */
  .hero { padding-top: 200px; }
  .hero-slide { height: 200px; }
  .hero-controls { top: 164px; }

  .hero h1      { font-size: 1.7rem; }
  .hero-content { padding: 24px 20px 32px; }
  .hero-lead    { font-size: 0.88rem; }

  /* sep-label text sitniji */
  .sep-label-text { font-size: 0.9rem; letter-spacing: 0.18em; }

  /* About hero: niža visina na portretnom mobilnom */
  .about-hero { min-height: 260px; }

  /* CTA title */
  .cta-hp-title { font-size: 1.9rem; }

  /* Usluge redovi */
  .service-area-visual  { height: 220px; min-height: 220px; }
  .service-area-content { padding: 28px 20px; }
  .service-area-num     { font-size: 2.2rem; }
  .service-area-title   { font-size: 1.2rem; }

  /* Page header: manje vertikalnog paddinga */
  .page-header { padding: 40px 0 28px; }

  /* About story lead */
  .about-story-lead { font-size: 1.05rem; }
}

/* ─────────────────────────────────────────────
   KEY COMPETENCIES — Power Engineering page
   ───────────────────────────────────────────── */
.keycomp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.keycomp-more {
  margin: 36px auto 0;
  max-width: 760px;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.6;
  font-style: italic;
  color: var(--text-mid);
  letter-spacing: 0.01em;
}

.keycomp-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 30px 28px;
  box-shadow: 0 1px 2px rgba(15, 30, 60, 0.04);
  transition: transform var(--transition, .3s ease), box-shadow var(--transition, .3s ease), border-color var(--transition, .3s ease);
  overflow: hidden;
}
.keycomp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px -16px rgba(15, 30, 60, 0.18);
  border-color: rgba(15, 30, 60, 0.12);
}

.keycomp-card-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--kc-accent);
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}

.keycomp-card-head {
  display: flex;
  align-items: center;
  gap: 18px;
}

.keycomp-icon {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--kc-accent) 12%, #fff);
  color: var(--kc-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.keycomp-icon svg { width: 28px; height: 28px; }

.keycomp-titles { min-width: 0; }

.keycomp-tag {
  font-family: var(--font-serif, 'Source Serif Pro', Georgia, serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--kc-accent);
  line-height: 1.1;
  letter-spacing: 0.5px;
}
.keycomp-tag--word { font-size: 1.25rem; letter-spacing: 0; }
.keycomp-tag--logo {
  height: 36px; display: flex; align-items: center; margin-bottom: 6px;
}
.keycomp-tag--logo img {
  max-height: 36px; max-width: 160px;
  width: auto; height: auto; object-fit: contain; display: block;
}
@media (max-width: 768px) {
  .keycomp-tag--logo { height: 30px; }
  .keycomp-tag--logo img { max-height: 30px; max-width: 130px; }
}

.keycomp-name {
  font-family: var(--font-sans, 'Inter', system-ui, sans-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin: 4px 0 0;
  line-height: 1.35;
}

.keycomp-divider {
  height: 1px;
  background: var(--line);
  margin: 22px 0 18px;
}

.keycomp-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.keycomp-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.5;
}
.keycomp-list li strong {
  color: var(--navy);
  font-weight: 600;
}
.keycomp-check {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--kc-accent);
  margin-top: 2px;
}

/* Promise strip */
.keycomp-promise {
  margin-top: 36px;
  background: color-mix(in srgb, var(--bg-alt) 80%, #fff);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 32px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 2fr;
  gap: 32px;
  align-items: center;
}
.keycomp-promise-lead {
  display: flex;
  align-items: center;
  gap: 18px;
}
.keycomp-promise-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  flex: 0 0 auto;
}
.keycomp-promise-icon svg { width: 26px; height: 26px; }
.keycomp-promise-text {
  font-family: var(--font-serif, 'Source Serif Pro', Georgia, serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.keycomp-promise-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.keycomp-promise-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.4;
}
.keycomp-promise-item svg {
  width: 28px; height: 28px;
  color: var(--navy);
  flex: 0 0 auto;
}

@media (max-width: 1024px) {
  .keycomp-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .keycomp-promise {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 22px 24px;
  }
  .keycomp-promise-items { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (max-width: 720px) {
  .keycomp-grid { grid-template-columns: 1fr; }
  .keycomp-card { padding: 28px 24px 24px; }
  .keycomp-promise-items { grid-template-columns: 1fr; gap: 14px; }
  .keycomp-promise-text { font-size: 1.05rem; }
}

/* Kontakt — second office map title spacing */
.contact-map-title-split { margin-top: 80px !important; }
@media (max-width: 768px) {
  .contact-map-title-split { margin-top: 56px !important; }
}
