/* ========== Design tokens ========== */
:root {
  /* Colors */
  --ink: #0f172a;
  --text: #111827;
  --muted: #6b7280;

  --surface: #ffffff;
  --surface-2: #f5f7fa;

  --primary: #2563eb;
  --accent: #22c55e;

  --border: rgba(15, 23, 42, 0.12);
  --shadow: 0 10px 30px rgba(0,0,0,0.08);

  /* Type */
  --font: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --h1: clamp(2rem, 3vw, 3rem);
  --h2: clamp(1.5rem, 2vw, 2rem);
  --h3: 1.125rem;

  /* Spacing */
  --radius: 14px;
  --radius-sm: 10px;
  --pad: 20px;
  --gap: 20px;

  /* Layout */
  --container: 1100px;
}

/* ========== Base ========== */
html, body {
  /* clip (not hidden) so the sticky header keeps working */
  overflow-x: clip;
}

/* Fallback for browsers without overflow: clip */
@supports not (overflow: clip) {
  html, body {
    overflow-x: hidden;
  }

  .site-header {
    position: fixed;
    left: 0;
    right: 0;
  }

  body {
    padding-top: 64px;
  }
}

/* Keep anchored sections clear of the sticky header */
section[id] {
  scroll-margin-top: 84px;
}

/* Inner pages have a taller header (breadcrumb strip) */
body:has(.header-crumbs) section[id] {
  scroll-margin-top: 124px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--surface);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section { padding: 40px 0; }
.section-light { background: var(--surface-2); }

.section-head {
  margin-bottom: 28px;
}
.section-head h1 { font-size: var(--h1); margin: 0 0 10px; }
.section-head h2 { font-size: var(--h2); margin: 0 0 10px; }
.section-head p { margin: 0; color: var(--muted); max-width: 70ch; }

.section .link {
  display: inline-block;
  margin-top: 12px;
}

h1 { font-size: var(--h1); line-height: 1.1; margin: 0 0 12px; font-weight: 600; }
h2 { font-size: var(--h2); line-height: 1.2; margin: 0 0 14px; font-weight: 600; }
h3 { font-size: var(--h3); margin: 0 0 10px; font-weight: 600; }

p { margin: 0 0 12px; }
.lead { font-size: 1.125rem; color: rgba(255,255,255,0.85); }
.muted { color: var(--muted); }

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

.logo img {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.logo:hover img {
  opacity: 0.85;
  transform: translateY(-1px);
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid rgb(255, 0, 0);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.2px;
  text-decoration: none;
  color: white;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.main-nav a {
  text-decoration: none;
  color: rgba(255,255,255,0.88);
  margin-left: 0;
  padding: 8px 10px;
  border-radius: 10px;
}

.main-nav a:hover {
  background: rgba(255,255,255,0.08);
}

.main-nav a.active {
  background: rgba(255,255,255,0.12);
}

/* Breadcrumb strip under the main nav (inner pages only) */
.header-crumbs {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.header-crumbs-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.header-crumbs ol {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 9px 0;
  list-style: none;
  overflow-x: auto;
  white-space: nowrap;
  font-size: 0.84rem;
  scrollbar-width: none;
}

.header-crumbs ol::-webkit-scrollbar {
  display: none;
}

.header-crumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.55);
}

.header-crumbs li + li::before {
  content: "/";
  color: rgba(255, 255, 255, 0.28);
}

.header-crumbs a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s ease;
}

.header-crumbs a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.header-crumbs [aria-current="page"] {
  color: #ffffff;
  font-weight: 500;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  padding-left: 12px;
  border-left: 1px solid rgba(255,255,255,0.15);
}

.lang-switch a {
  text-decoration: none;
  color: rgba(255,255,255,0.65);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 4px 6px;
  border-radius: 6px;
}

.lang-switch a:hover {
  color: white;
  background: rgba(255,255,255,0.08);
}

.lang-switch a.active {
  color: white;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  height: calc(100svh - 50px);
  min-height: 760px;
  display: flex;
  align-items: center;
  padding: 120px 0 120px;
  overflow: hidden;
  background: var(--ink);
  color: white;
}

.hero h1 {
  max-width: 14ch;
  font-size: clamp(3.6rem, 5vw, 5.8rem);
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
  line-height: 1.05;
  font-weight: 700;
}

.hero .btn {
  margin-top: 24px;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.32);
}

.hero-content .btn {
  animation-delay: 0.45s;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95) contrast(1.05) brightness(0.62);
  transform: scale(1.08);
}

.hero-media img,
.hero-content {
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.62) 45%, rgba(15, 23, 42, 0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero p {
  color: rgba(255,255,255,0.82);
  max-width: 70ch;
}

.hero-content > * {
  opacity: 0;
  transform: translateY(28px);
  animation: heroFadeUp 0.9s ease forwards;
}

.hero-content h1 {
  animation-delay: 0.15s;
}

.hero-content h3 {
  animation-delay: 0.3s;
}



@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 42px;
  transform: translateX(-50%);
  width: 28px;
  height: 46px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  z-index: 3;
  opacity: 0.9;
}

.scroll-cue span {
  width: 4px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  animation: scrollCue 1.8s ease-in-out infinite;
}

@keyframes scrollCue {
  0% {
    transform: translateY(0);
    opacity: 0.2;
  }
  40% {
    transform: translateY(10px);
    opacity: 1;
  }
  100% {
    transform: translateY(14px);
    opacity: 0;
  }
}

/* ========== About section ========== */

.about-section {
  position: relative;
  margin-top: 0;
  z-index: 3;
  padding-top: 0;
}

.about-section.section-light {
  background: #f8fafc;
}

.about-panel {
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 24px;
  padding: 28px 32px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(8px);
}

.about-panel--statement {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 32px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.about-panel .card {
  background: rgba(255, 255, 255, 0.78);
}


.about-panel--statement {
  padding: 56px 48px;
}

.about-intro {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.about-intro h2 {
  max-width: 17ch;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1.05;
}

.about-intro p {
  max-width: 78ch;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: 1.08rem;
}

.about-cards {
  margin-top: 46px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 48px auto 0;
  padding-top: 38px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  max-width: 960px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: flex;
  justify-content: center;
  align-items: baseline;
  color: rgb(255, 0, 0);
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.stat-item p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
}

@media (max-width: 900px) {
  .about-panel--statement {
    padding: 34px 22px;
  }

  .about-intro {
    text-align: left;
  }

  .about-intro h2 {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  .about-intro p {
    margin-left: 0;
    margin-right: 0;
  }

  .about-cards {
    margin-top: 32px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    margin: 38px 0 0;
    padding-top: 28px;
  }

  .stat-item {
    text-align: left;
  }

  .stat-number {
    justify-content: flex-start;
  }
}


/* ========== Components ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: #1d4ed8; }

.btn-secondary { background: white; border-color: rgba(255,255,255,0.35); color: var(--ink); }
.btn-secondary:hover { background: rgba(255,255,255,0.92); }

.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: rgba(0,0,0,0.03); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 0 0 rgba(0,0,0,0);
}
.card-hover {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 0, 0, 0.403);
}

.service-card {
  position: relative;
  overflow: hidden;
  padding-top: 22px;

  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgb(255, 0, 0), rgba(255, 0, 0, 0.12));
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.15);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
}

.service-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.2;
}

.service-card:hover {
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.08);
  transform: translateY(-4px);
}

.service-card .list {
  margin-bottom: 0;
}

.service-card h3 {
  margin-bottom: 10px;
}

.service-card .link {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.service-card:hover .service-icon {
  background: rgba(37, 99, 235, 0.14);
  border-color: rgba(255, 0, 0, 0.18);
}


.solution-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-top: 22px;
  position: relative;
}

.solution-card .muted {
  margin-bottom: 0;
}

.solution-card .link {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.solution-label {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.12);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.link {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
}
.link:hover { text-decoration: underline; }

.list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.list li {
  margin: 6px 0;
}

/* ========== Clients ========== */

.clients-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.clients-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.featured-clients-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.featured-client-card {
  position: relative;
  min-height: 170px;
  padding: 56px 22px 22px;
  border-radius: 20px;
  background:
    radial-gradient(500px 180px at 0% 0%, rgba(37, 99, 235, 0.08), transparent 60%),
    #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.featured-client-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
  border-color: rgba(255, 0, 0, 0.18);
}

.featured-client-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.12);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.client-logo {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 16px;
}

.client-logo img {
  max-height: 48px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(100%);
  opacity: 0.9;
  transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.featured-client-card:hover .client-logo img {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-1px);
}

.featured-client-card h3 {
  margin: 0;
  font-size: 1.35rem;
  margin-top: auto;
  line-height: 1.2;
  color: var(--ink);
  max-width: 18ch;
}

.featured-client-card h3.client-title-nowrap {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(1.05rem, 1.2vw, 1.28rem);
}

.client-logo-airport {
  max-height: 56px;
  max-width: 190px;
}

.client-logo-dls {
  max-height: 52px;
  max-width: 160px;
}

.client-logo-aman {
  max-height: 54px;
  max-width: 190px;
}

.client-logo-mondi {
  max-height: 52px;
  max-width: 180px;
}

.client-logo-nelt {
  max-height: 50px;
  max-width: 150px;
}

.client-logo-hospital {
  max-height: 52px;
  max-width: 150px;
}

@media (max-width: 900px) {
  .clients-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .featured-clients-grid {
    grid-template-columns: 1fr;
  }

  .featured-client-card {
    min-height: 140px;
  }
}


/* ========== Case Studies Carousel ========== */

.case-studies-section {
  background: #ffffff;
  overflow: hidden;
}

.case-studies-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

#case-studies {
  scroll-margin-top: 90px;
}

.case-studies-head p {
  max-width: 68ch;
}

.case-controls {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.case-arrow {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.case-arrow:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 0, 0, 0.22);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
}

.case-carousel {
  position: relative;
  margin-top: 30px;

  width: min(1320px, calc(100vw - 64px));
  margin-left: 50%;
  transform: translateX(-50%);
}

.case-carousel::before,
.case-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 30px;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}

.case-carousel::before {
  left: 0;
  background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0));
}

.case-carousel::after {
  right: 0;
  background: linear-gradient(270deg, #ffffff, rgba(255, 255, 255, 0));
}

.case-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 30px;
}

.case-track::-webkit-scrollbar {
  height: 8px;
}

.case-track::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.05);
  border-radius: 999px;
}

.case-track::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.18);
  border-radius: 999px;
}

.case-card {
  flex: 0 0 380px;
  scroll-snap-align: start;
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
  border-color: rgba(255, 0, 0, 0.18);
}

.case-image {
  height: 220px;
  background: #e5e7eb;
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.case-card:hover .case-image img {
  transform: scale(1.04);
}

.case-content {
  padding: 24px;
}

.case-tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 0, 0, 0.08);
  border: 1px solid rgba(255, 0, 0, 0.14);
  color: rgb(255, 0, 0);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.case-content h3 {
  margin-bottom: 10px;
}

.case-content p {
  color: var(--muted);
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .case-studies-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .case-controls {
    display: none;
  }

  .case-carousel {
    width: 100%;
    margin-left: 0;
    transform: none;
  }

  .case-carousel::before,
  .case-carousel::after {
    display: none;
  }

  .case-card {
    flex: 0 0 82vw;
  }

  .case-image {
    height: 200px;
  }
}

/* Stadion Dubočica gallery positioning */

.stadium-gallery-screen {
  object-position: center center;
}

.stadium-gallery-rack {
  object-position: center 38%;
}

.stadium-gallery-wifi {
  object-position: center 22%;
}


/* ========== Grid ========== */
.grid { display: grid; gap: var(--gap); align-items: stretch; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ========== Logo strip ========== */
.featured-partner {
  display: grid;
  place-items: center;
  margin: 18px 0 26px;
}

.logo-grid {
  display: grid;
  gap: 14px;
}

/* Desktop: 5 per row */
.logo-grid--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* Responsive fallbacks */
@media (max-width: 1100px) {
  .logo-grid--5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .logo-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .logo-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.logo-item {
  height: 92px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.logo-item img {
  max-height: 80px;
  max-width: 95%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: filter 0.15s ease, opacity 0.15s ease;
}

.logo-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  border-color: rgba(255, 0, 0, 0.18);
}

.logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Featured */
.logo-item--featured {
  width: 240px;
  height: 180px;
  padding: 8px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.86));
  border-color: rgba(255, 0, 0, 0.18);
}

.logo-item--featured img {
  max-height: 165px;
  max-width: 250px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0%);
  opacity: 1;
}


/* ========== Footer ========== */

.contact-section {
  padding: 52px 0;
  background:
    radial-gradient(800px 300px at 15% 10%, rgba(37, 99, 235, 0.18), transparent 60%),
    linear-gradient(180deg, #07152f 0%, #08101f 100%);
  color: white;
}

.container-wide {
  max-width: 1400px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.contact-kicker {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  font-weight: 600;
}

.contact-section h2 {
  margin-bottom: 14px;
  max-width: 24ch;
  color: white;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  line-height: 1.1;
}

.contact-lead {
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 20px;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-item {
  display: grid;
  gap: 5px;
}

.contact-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

.contact-item a,
.contact-item span {
  color: white;
  font-size: 1.02rem;
}

.contact-item a {
  color: #9ec5ff;
  text-decoration: none;
  font-size: 1.02rem;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.contact-item a:hover {
  color: white;
  text-decoration: underline;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: max-content;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: white;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.linkedin-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.linkedin-link span {
  white-space: nowrap;
}

.linkedin-link:hover {
  background: rgba(37, 99, 235, 0.14);
  border-color: rgba(37, 99, 235, 0.28);
  color: #9ec5ff;
}

.map-card {
  width: 100%;
  height: 360px;
  background: rgba(255, 255, 255, 0.02);
  border: 4px solid rgba(37, 99, 235, 0.35);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(6px);

  box-shadow: 
    0 0 0 1px rgba(37, 99, 235, 0.15),
    0 10px 30px rgba(0, 0, 0, 0.35);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.map-card:hover {
  transform: translateY(-4px);
}

.map-card img {
  display: block;
  max-width: none;
  width: 115%;
  height: 105%;
  object-fit: cover;
  object-position: center;
  transform: translateX(-8%);
  filter: brightness(0.95) contrast(1.05);
}

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

  .contact-section h2 {
    max-width: none;
  }

  .map-card {
    min-height: 260px;
  }
}


/* ========== Style guide helpers ========== */
.sg-block { margin: 40px 0; }
.sg-row { display: flex; gap: 12px; flex-wrap: wrap; }

.sg-swatches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
}
.swatch { display: flex; align-items: center; gap: 10px; }
.swatch-box {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border);
}
.bg-ink { background: var(--ink); border-color: rgba(255,255,255,0.12); }
.bg-surface { background: var(--surface); }
.bg-muted { background: var(--surface-2); }
.bg-primary { background: var(--primary); border-color: rgba(255,255,255,0.12); }
.bg-accent { background: var(--accent); border-color: rgba(255,255,255,0.12); }

.sg-grid-demo .demo-box {
  background: var(--surface-2);
  border: 1px dashed rgba(15, 23, 42, 0.2);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  color: var(--muted);
}




/* ========== Reference Page ========== */

.section-lead {
  max-width: 60ch;
  margin-top: 10px;
  color: rgba(15, 23, 42, 0.7);
}

.references-list-section {
  background:
    radial-gradient(700px 260px at 12% 0%, rgba(37, 99, 235, 0.06), transparent 60%),
    #ffffff;
}

.references-head {
  max-width: 760px;
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 30px;
}

.reference-group {
  position: relative;
  padding: 24px;
  border-radius: 22px;
  background:
    radial-gradient(420px 160px at 0% 0%, rgba(37, 99, 235, 0.06), transparent 60%),
    #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  overflow: hidden;
}

.reference-group:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.1);
  border-color: rgba(255, 0, 0, 0.18);
}

.reference-group::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgb(255, 0, 0), rgba(255, 0, 0, 0.12));
}

.reference-group h4 {
  margin: 0 0 18px;
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.reference-group ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reference-group li {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.06);
  color: rgba(15, 23, 42, 0.72);
  font-size: 0.9rem;
  line-height: 1.2;
}

/* CTA on reference page */
.cta-box {
  padding: 40px;
  border-radius: 20px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  text-align: center;
}

.cta-box h2 {
  margin-bottom: 10px;
}

.cta-box p {
  margin-bottom: 20px;
  opacity: 0.9;
}

@media (max-width: 1100px) {
  .reference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .reference-grid {
    grid-template-columns: 1fr;
  }

  .reference-group {
    padding: 22px 18px;
  }

  .reference-group li {
    font-size: 0.88rem;
  }
}


/* ========== Inner pages / detail pages ========== */

.page-content {
  display: grid;
  gap: 24px;
}

.content-block {
  background: white;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.page-content > .content-block:not(.cta-box):nth-child(even) {
  background: #f8fafc;
}

.content-list {
  margin: 0;
  padding-left: 18px;
  color: rgba(15, 23, 42, 0.78);
}

.content-list li {
  margin: 8px 0;
}

.section-lead {
  max-width: 64ch;
  color: rgba(15, 23, 42, 0.72);
}

.section-light .section-head .section-lead {
  max-width: 56ch;
}

.cta-box {
  margin-top: 12px;
  padding: 44px 48px;
  border-radius: 20px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  text-align: left;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.2);
}

.cta-box h2 {
  margin-bottom: 10px;
  color: white;
  max-width: 20ch;
}

.cta-box p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 52ch;
}

.btn-light {
  background: white;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.92);
}


/* ========== Mobile fixes ========== */
@media (max-width: 900px) {
  .site-header .container {
    position: relative;
    height: auto;
    min-height: 64px;
    padding-top: 12px;
    padding-bottom: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .logo img {
    height: 34px;
  }

  .main-nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px 10px;
    padding-top: 8px;
  }

  .main-nav > a {
    margin-left: 0;
    padding: 6px 8px;
    font-size: 0.95rem;
  }

  .lang-switch {
    position: absolute;
    top: 12px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 0;
    padding-left: 0;
    border-left: none;
  }

  .lang-switch a {
    font-size: 0.78rem;
    padding: 5px 7px;
  }

  .hero {
    min-height: 72vh;
    padding: 88px 0 64px;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(2.5rem, 10vw, 3.8rem);
    line-height: 1.05;
  }

  .hero h3,
  .hero p {
    max-width: 28ch;
  }

  .section {
    padding: 32px 0;
  }

  .about-panel {
    padding: 22px 18px;
  }

  .grid-3,
  .grid-4,
  .featured-clients-grid,
  .reference-grid {
    grid-template-columns: 1fr !important;
  }

  .logo-grid--5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .clients-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .featured-client-card {
    min-height: 150px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-section h2 {
    max-width: none;
    font-size: clamp(2.1rem, 10vw, 3.2rem);
    line-height: 1.08;
  }

  .contact-lead {
    max-width: 32ch;
  }

  .map-card {
    height: auto;
    min-height: 0;
    padding: 0;
    border-width: 3px;
  }

  .map-card img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    transform: none;
  }

  .content-block,
  .card,
  .featured-client-card,
  .logo-item {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* ========== About page / timeline ========== */

.timeline {
  display: grid;
  gap: 18px;
  margin-top: 8px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: start;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.timeline-item:first-child {
  border-top: none;
  padding-top: 0;
}

.timeline-year {
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.timeline-content {
  color: rgba(15, 23, 42, 0.78);
}

@media (max-width: 700px) {
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}


/* ========== Scroll animations ========== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  transform: translateX(-24px);
}

.reveal-right {
  transform: translateX(24px);
}

.reveal.visible.reveal-left,
.reveal.visible.reveal-right {
  transform: translateX(0);
}

/* stagger effect */
.grid .reveal:nth-child(1),
.featured-clients-grid .reveal:nth-child(1),
.logo-grid .reveal:nth-child(1),
.page-content .reveal:nth-child(1) {
  transition-delay: 0.05s;
}

.grid .reveal:nth-child(2),
.featured-clients-grid .reveal:nth-child(2),
.logo-grid .reveal:nth-child(2),
.page-content .reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.grid .reveal:nth-child(3),
.featured-clients-grid .reveal:nth-child(3),
.logo-grid .reveal:nth-child(3),
.page-content .reveal:nth-child(3) {
  transition-delay: 0.15s;
}

.grid .reveal:nth-child(4),
.featured-clients-grid .reveal:nth-child(4),
.logo-grid .reveal:nth-child(4),
.page-content .reveal:nth-child(4) {
  transition-delay: 0.2s;
}

.grid .reveal:nth-child(5),
.featured-clients-grid .reveal:nth-child(5),
.logo-grid .reveal:nth-child(5),
.page-content .reveal:nth-child(5) {
  transition-delay: 0.25s;
}

.grid .reveal:nth-child(6),
.featured-clients-grid .reveal:nth-child(6),
.logo-grid .reveal:nth-child(6),
.page-content .reveal:nth-child(6) {
  transition-delay: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ========== Case Study Detail Pages ========== */

.case-detail-page {
  background: #ffffff;
}

.case-detail-hero {
  padding: 72px 0 42px;
  background:
    radial-gradient(700px 320px at 15% 0%, rgba(255, 0, 0, 0.05), transparent 65%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.case-detail-intro {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.case-detail-eyebrow {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.case-detail-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 0, 0, 0.07);
  border: 1px solid rgba(255, 0, 0, 0.14);
  color: rgb(230, 0, 0);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.case-detail-hero h1 {
  max-width: 15ch;
  margin: 0 auto 18px;
  color: var(--ink);
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 1.02;
  font-weight: 700;
}

.case-detail-lead {
  max-width: 72ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.65;
}

.case-detail-cover {
  width: min(1400px, calc(100vw - 64px));
  height: clamp(420px, 58vw, 680px);
  margin: 44px auto 0;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.14);
}

.case-detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.case-detail-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1100px;
  margin: 30px auto 0;
}

.case-detail-meta-item {
  padding: 18px 20px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.case-detail-meta-label {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.case-detail-meta-value {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 600;
}

.case-detail-body {
  padding: 72px 0;
}

.case-detail-text-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.case-detail-kicker {
  margin-bottom: 12px;
  color: rgb(230, 0, 0);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.case-detail-text-grid h2 {
  max-width: 14ch;
  margin-bottom: 20px;
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  line-height: 1.08;
}

.case-detail-copy p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.case-detail-copy p + p {
  margin-top: 18px;
}

.case-detail-scope-section {
  padding: 72px 0;
  background: #f8fafc;
}

.case-detail-section-head {
  max-width: 760px;
  margin-bottom: 32px;
}

.case-detail-section-head p {
  color: var(--muted);
}

.case-detail-scope-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.case-detail-scope-card {
  position: relative;
  padding: 28px;
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.case-detail-scope-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(
    90deg,
    rgb(255, 0, 0),
    rgba(255, 0, 0, 0.12)
  );
}

.case-detail-scope-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: rgb(230, 0, 0);
  background: rgba(255, 0, 0, 0.07);
  border: 1px solid rgba(255, 0, 0, 0.12);
}

.case-detail-scope-icon svg {
  width: 21px;
  height: 21px;
}

.case-detail-scope-card h3 {
  margin-bottom: 10px;
}

.case-detail-scope-card p {
  color: var(--muted);
  line-height: 1.65;
}

.case-detail-media-section {
  padding: 72px 0;
}

.case-detail-gallery {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  grid-template-rows: repeat(2, 280px);
  gap: 16px;
}

.case-detail-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #e5e7eb;
}

.case-detail-gallery figure:first-child {
  grid-row: 1 / 3;
}

.case-detail-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.case-detail-gallery figure:hover img {
  transform: scale(1.025);
}

.case-detail-video-wrap {
  margin-top: 32px;
  padding: 10px;
  border-radius: 24px;
  background: #0f172a;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.case-detail-video-wrap video {
  width: 100%;
  max-height: 720px;
  display: block;
  border-radius: 17px;
  background: #000000;
}

.case-detail-result {
  padding: 72px 0;
  color: #ffffff;
  background:
    radial-gradient(700px 300px at 10% 0%, rgba(37, 99, 235, 0.24), transparent 60%),
    #07142d;
}

.case-detail-result-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: center;
}

.case-detail-result h2 {
  max-width: 13ch;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
}

.case-detail-result p {
  max-width: 66ch;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
  line-height: 1.75;
}

.case-detail-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 0;
}

.case-detail-navigation a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.case-detail-navigation a:hover {
  color: rgb(230, 0, 0);
}

@media (max-width: 900px) {
  .case-detail-hero {
    padding-top: 52px;
  }

  .case-detail-cover {
    width: calc(100vw - 32px);
    height: 52vw;
    min-height: 280px;
    border-radius: 20px;
  }

  .case-detail-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-detail-text-grid,
  .case-detail-result-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .case-detail-text-grid h2,
  .case-detail-result h2 {
    max-width: none;
  }

  .case-detail-scope-grid {
    grid-template-columns: 1fr;
  }

  .case-detail-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .case-detail-gallery figure,
  .case-detail-gallery figure:first-child {
    grid-row: auto;
    height: 260px;
  }
}

@media (max-width: 560px) {
  .case-detail-hero h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .case-detail-meta {
    grid-template-columns: 1fr;
  }

  .case-detail-cover {
    height: 65vw;
  }

  .case-detail-navigation {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* ============================================
   Case detail: additional components
   (stats strip, 4-card scope grid, result points)
   ============================================ */

.case-detail-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.case-detail-stat-value {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
  color: rgb(255, 0, 0);
}

.case-detail-stat-label {
  margin-top: 6px;
  font-size: 0.95rem;
  color: var(--muted);
}

.case-detail-scope-grid--four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-detail-result-points {
  display: grid;
  gap: 26px;
}

.case-detail-result-point h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  color: #ffffff;
}

.case-detail-result-point p {
  max-width: 60ch;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.76);
}

@media (max-width: 900px) {
  .case-detail-scope-grid--four {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .case-detail-stats {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
/* Belgrade Airport gallery crop tuning */
.airport-gallery-wall-main {
  object-position: center 35%;
}

.airport-gallery-portrait {
  object-position: center 40%;
}
/* ============================================
   Service pages (telefonija, mreza, multimedija, security)
   ============================================ */

.service-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(135deg, #10141a 0%, #1d232c 55%, #2a313c 100%);
}

.service-hero-media {
  position: absolute;
  inset: 0;
}

.service-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02) brightness(0.55);
}

.service-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 13, 18, 0.45) 0%,
    rgba(10, 13, 18, 0.72) 100%
  );
}

.service-hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  padding: 120px 24px 96px;
}

.service-hero-content h1 {
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 20px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.service-hero-content p {
  max-width: 62ch;
  margin: 0 auto;
  font-size: 1.12rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.86);
}

.service-intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.service-intro h2 {
  margin-bottom: 18px;
}

.service-intro p {
  color: var(--muted);
  line-height: 1.8;
}

.service-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  margin-top: 44px;
}

.service-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  align-items: center;
  margin-bottom: 88px;
}

.service-split:last-of-type {
  margin-bottom: 0;
}

.service-split-copy h2 {
  margin-bottom: 16px;
}

.service-split-copy p {
  color: var(--muted);
  line-height: 1.8;
}

.service-split-media img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
}

.service-split--flip .service-split-media,
.service-split--flip .case-card--split {
  order: -1;
}

.service-media-placeholder {
  height: 380px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.35);
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 0, 0, 0.10), transparent 55%),
    linear-gradient(135deg, #161a20 0%, #262c36 100%);
}

.service-media-placeholder i,
.service-media-placeholder svg {
  width: 52px;
  height: 52px;
}

@media (max-width: 900px) {
  .service-hero {
    min-height: 44vh;
  }

  .service-hero-content {
    padding: 96px 20px 72px;
  }

  .service-split {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 64px;
  }

  .service-split--flip .service-split-media,
  .service-split--flip .case-card--split {
    order: 2;
  }

  .service-split-media img,
  .service-media-placeholder {
    height: 260px;
  }
}

/* Case detail: gallery layout variants (restored) */
.case-detail-gallery--duo {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 420px;
}

.case-detail-gallery--duo figure:first-child {
  grid-row: auto;
}

.case-detail-gallery--solo {
  grid-template-columns: 1fr;
  grid-template-rows: minmax(320px, 60vh);
}

.case-detail-gallery--solo figure:first-child {
  grid-row: auto;
}

.case-detail-gallery--compact {
  max-width: 720px;
  margin: 0 auto;
  grid-template-rows: 360px;
}

@media (max-width: 900px) {
  .case-detail-gallery--duo {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 300px);
  }
}

/* Hero: centered layout (restored) */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-content h1 {
  margin-left: auto;
  margin-right: auto;
}

.hero-content h3 {
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
}
/* Case study hub (client with multiple projects) */
.case-hub-section {
  padding: 24px 0 88px;
}

.case-hub-intro {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: var(--muted);
  line-height: 1.8;
}

.case-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-top: 52px;
}

.case-hub-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 38px 34px;
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.case-hub-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgb(255, 0, 0), rgba(255, 0, 0, 0.12));
}

.case-hub-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 0, 0, 0.35);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
}

.case-hub-kicker {
  margin-bottom: 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(230, 0, 0);
}

.case-hub-card h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  line-height: 1.3;
}

.case-hub-card p {
  color: var(--muted);
  line-height: 1.75;
}

.case-hub-link {
  margin-top: auto;
  padding-top: 22px;
  font-weight: 600;
  color: rgb(230, 0, 0);
}

@media (max-width: 900px) {
  .case-hub-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Partner ticker + site footer
   ============================================ */

.site-footer {
  padding: 48px 0;
  background: #0f172a;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
}

.site-footer-meta {
  font-size: 0.92rem;
  line-height: 1.7;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.92rem;
}

@media (max-width: 700px) {
  .site-footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Text-only client names in reference / featured cards */
.client-name-large {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  color: #0f172a;
  letter-spacing: -0.01em;
}

/* Careers page */
.career-list {
  display: grid;
  gap: 16px;
  margin-top: 44px;
}

.career-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 30px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.career-item:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 0, 0, 0.35);
}

.career-item-main h3 {
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.career-item-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .career-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* Content subheadings inside about page blocks */
.content-subhead {
  margin-top: 26px;
  margin-bottom: 10px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink, #0f172a);
}

.content-block h2 + .content-subhead {
  margin-top: 12px;
}


/* Per-logo sizing for newly added client logos */
.client-logo-hutchinson { max-height: 26px; max-width: 200px; }
.client-logo-uzice      { max-height: 34px; max-width: 210px; }
.client-logo-beograd    { max-height: 58px; max-width: 90px; }
.client-logo-parking    { max-height: 58px; max-width: 90px; }
.client-logo-boysen     { max-height: 30px; max-width: 180px; }
.client-logo-cges       { max-height: 46px; max-width: 150px; }
.client-logo-ddc        { max-height: 58px; max-width: 90px; }
.client-logo-grand      { max-height: 50px; max-width: 150px; }
.client-logo-zijin      { max-height: 34px; max-width: 180px; }
.client-logo-borova     { max-height: 60px; max-width: 90px; }
.client-logo-konak      { max-height: 46px; max-width: 150px; }
.client-logo-foxpac     { max-height: 48px; max-width: 130px; }
.client-logo-bvk        { max-height: 44px; max-width: 160px; }
.client-logo-ruza       { max-height: 50px; max-width: 130px; }
.client-logo-vopachel   { max-height: 52px; max-width: 110px; }

.partner-band {
  position: relative;
  padding: 76px 0 82px;
  overflow: hidden;
  background:
    radial-gradient(680px 260px at 12% 0%, rgba(255, 0, 0, 0.05), transparent 62%),
    radial-gradient(620px 260px at 88% 100%, rgba(15, 23, 42, 0.06), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f6f8fb 46%, #eef2f7 100%);
}

/* hairline rules top and bottom */
.partner-band::before,
.partner-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(15, 23, 42, 0.12) 22%,
    rgba(15, 23, 42, 0.12) 78%,
    transparent
  );
}

.partner-band::before { top: 0; }
.partner-band::after  { bottom: 0; }

.partner-band-head {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.partner-band-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(230, 0, 0);
}

.partner-band-kicker::before,
.partner-band-kicker::after {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 0, 0, 0.15), rgb(255, 0, 0));
}

.partner-band-kicker::after {
  background: linear-gradient(90deg, rgb(255, 0, 0), rgba(255, 0, 0, 0.15));
}

.partner-band-head h2 {
  margin-bottom: 12px;
}

.partner-band-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

/* Marquee rows */
.partner-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.partner-marquee + .partner-marquee {
  margin-top: 18px;
}

.partner-track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  padding: 6px 9px;
  animation: partner-scroll 48s linear infinite;
}

.partner-track--reverse {
  animation-direction: reverse;
}

.partner-marquee:hover .partner-track {
  animation-play-state: paused;
}

@keyframes partner-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Logo chips */
.partner-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 186px;
  height: 92px;
  padding: 0 18px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.partner-chip img {
  max-height: 52px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

/* Square badge-style logos need more height to read at the same weight */
.partner-chip img[src*="alcatel"],
.partner-chip img[src*="huawei"] {
  max-height: 70px;
}

.partner-chip:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 0, 0, 0.3);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
}

/* Service-page variant: single row, no heading block */
.partner-band--service {
  padding: 60px 0 64px;
}

.partner-band--service .partner-band-head {
  margin-bottom: 34px;
}

@media (prefers-reduced-motion: reduce) {
  .partner-track {
    animation: none;
  }

  .partner-marquee {
    overflow-x: auto;
  }
}

@media (max-width: 640px) {
  .partner-band {
    padding: 58px 0 62px;
  }

  .partner-chip {
    width: 150px;
    height: 78px;
    padding: 0 16px;
  }

  .partner-chip img {
    max-height: 42px;
  }
}

/* Featured certification badge on the about page */
.quality-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 22px 0 26px;
  padding: 18px 28px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.quality-badge img {
  max-height: 64px;
  max-width: 240px;
  width: auto;
  object-fit: contain;
}

/* ========== About page layout ========== */
.about-section {
  padding: 72px 0;
}

.about-vm {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
}

.about-vm-item h2 {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid rgb(230, 0, 0);
  display: inline-block;
}

.about-vm-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.about-approach {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
}

.about-approach-item {
  padding-top: 18px;
  border-top: 1px solid rgba(15, 23, 42, 0.14);
}

.about-approach-num {
  display: block;
  margin-bottom: 10px;
  font-size: 1.6rem;
  font-weight: 700;
  color: rgb(230, 0, 0);
}

.about-approach-item p {
  margin: 0;
  color: rgba(15, 23, 42, 0.78);
  line-height: 1.7;
}

.about-quality-media {
  display: flex;
  justify-content: center;
}

.about-quality-media .quality-badge {
  margin: 0;
  padding: 32px 48px;
}

.about-quality-media .quality-badge img {
  max-height: 160px;
}

.about-section .service-split-copy .content-list {
  margin-top: 16px;
}

@media (max-width: 900px) {
  .about-section {
    padding: 52px 0;
  }

  .about-vm {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-approach {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}

@media (max-width: 560px) {
  .about-approach {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Service solutions and subpages
   ============================================ */

.service-hero--sub {
  min-height: 46vh;
}

.service-hero--sub .service-hero-content h1 {
  font-size: clamp(2.1rem, 3.6vw, 3.2rem);
}

.service-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Cards that link to a solution subpage */
.case-hub-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-hub-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.case-hub-card--compact {
  padding: 30px 26px;
}

.case-hub-grid--single {
  grid-template-columns: minmax(0, 560px);
}

.case-hub-card--compact h3 {
  font-size: 1.2rem;
}

.case-hub-card .case-detail-scope-icon {
  margin-bottom: 18px;
}

.service-features-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-features-grid--4 .case-detail-scope-card {
  padding: 24px;
}

/* Short benefits under the solution cards */
.benefit-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.benefit-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.section-light .benefit-item {
  background: #ffffff;
}

.benefit-item svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: rgb(230, 0, 0);
}

.benefit-item strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
}

.benefit-item span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Case study card placed next to text (instead of a photo) */
.case-card--split {
  display: block;
  color: inherit;
  text-decoration: none;
}

.case-card--split .case-image {
  height: 260px;
}

.case-card--split .link {
  margin-top: 0;
}

/* Small titled items (who it is for, where it is used) */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.info-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-item {
  padding: 22px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.info-item h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
}

.info-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.info-item-tag {
  display: block;
  margin-bottom: 8px;
  color: rgb(230, 0, 0);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.info-item ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

/* Numbered steps reuse .about-approach; give them a title */
.about-approach--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-approach-item h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

/* Checklist of warning signs */
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-grid li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(15, 23, 42, 0.82);
  line-height: 1.55;
}

.check-grid svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: rgb(230, 0, 0);
}

/* Before / added / result flow */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin-top: 32px;
}

.flow-grid .info-item {
  position: relative;
}

.flow-grid .info-item + .info-item::before {
  content: "→";
  position: absolute;
  left: -27px;
  top: 50%;
  transform: translateY(-50%);
  color: rgb(230, 0, 0);
  font-size: 1.3rem;
  font-weight: 700;
}

/* Office vs Enterprise comparison */
.compare-wrap {
  margin-top: 28px;
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
}

.compare-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.compare-table thead th {
  font-size: 1.05rem;
  color: var(--ink);
}

.compare-table tbody th {
  width: 22%;
  color: var(--muted);
  font-weight: 600;
}

.compare-table td {
  color: rgba(15, 23, 42, 0.82);
}

.compare-table .is-current {
  background: rgba(255, 0, 0, 0.04);
}

.compare-table tr:last-child th,
.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table a {
  color: rgb(230, 0, 0);
  font-weight: 600;
  text-decoration: none;
}

.compare-current {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Challenge / solution / result */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.practice-number {
  display: block;
  margin-bottom: 4px;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.1;
  color: rgb(230, 0, 0);
}

.practice-quote {
  max-width: 760px;
  margin: 28px 0 0;
  padding-left: 20px;
  border-left: 3px solid rgb(230, 0, 0);
  color: rgba(15, 23, 42, 0.82);
  font-size: 1.05rem;
  line-height: 1.7;
}

.practice-quote cite {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-style: normal;
}

/* Technology line and links to related pages */
.tech-note {
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.95rem;
}

.tech-note strong {
  color: var(--ink);
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.related-links a {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #ffffff;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.related-links a:hover {
  border-color: rgb(230, 0, 0);
  color: rgb(230, 0, 0);
}

/* Questions and answers */
.faq-list {
  max-width: 860px;
  margin-top: 24px;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.faq-list details {
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex: 0 0 auto;
  color: rgb(230, 0, 0);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 0 22px;
  max-width: 72ch;
  color: var(--muted);
  line-height: 1.75;
}

@media (max-width: 1100px) {
  .case-hub-grid--4,
  .service-features-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .service-features-grid--4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .case-hub-grid--3,
  .case-hub-grid--4,
  .info-grid--3,
  .practice-grid,
  .flow-grid,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .flow-grid {
    gap: 40px;
  }

  .about-approach--3 {
    grid-template-columns: 1fr;
  }

  .flow-grid .info-item + .info-item::before {
    content: "↓";
    left: 50%;
    top: -32px;
    transform: translateX(-50%);
  }
}

/* Home: service bullets link to the solution subpages */
.service-card .list a {
  color: inherit;
  text-decoration: none;
}

.service-card .list a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Case card for a partner-published study (logo instead of a photo) */
.case-image--logo {
  display: grid;
  place-items: center;
  background:
    radial-gradient(420px 180px at 0% 0%, rgba(37, 99, 235, 0.08), transparent 60%),
    #f5f7fa;
}

.case-image--logo img {
  width: auto;
  height: auto;
  max-width: 55%;
  max-height: 72px;
  object-fit: contain;
}

/* ============================================
   About page: hero photo, vision/mission lists, history
   ============================================ */

.about-hero {
  min-height: 62vh;
}

.about-hero .service-hero-media img {
  object-position: center 50%;
  filter: saturate(0.9) brightness(0.62);
}

.about-hero .service-hero-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.about-vm--lists {
  margin-top: 56px;
}

.vm-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.vm-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.7;
}

.vm-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgb(230, 0, 0);
}

.history-section {
  padding: 88px 0;
  color: #ffffff;
  background: linear-gradient(135deg, #0f172a 0%, #111b31 100%);
}

.history-section h2 {
  color: #ffffff;
}

.history-timeline {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.history-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 18px 0 0;
  border-top: 2px solid rgba(255, 255, 255, 0.18);
}

.history-item::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgb(230, 0, 0);
}

.history-item:last-child {
  border-top-color: rgb(230, 0, 0);
}

.history-item:last-child::before {
  background: #ffffff;
}

.history-year {
  font-size: 1.35rem;
  font-weight: 700;
  white-space: nowrap;
}

.history-text {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .history-section {
    padding: 64px 0;
  }

  .history-timeline {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .history-item {
    padding: 0 0 28px 28px;
    border-top: none;
    border-left: 2px solid rgba(255, 255, 255, 0.18);
  }

  .history-item:last-child {
    padding-bottom: 0;
    border-left-color: rgb(230, 0, 0);
  }

  .history-item::before {
    top: 2px;
    left: -7px;
  }
}

/* ============================================
   Header dropdown menus (Usluge, Rešenja)
   ============================================ */

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-toggle::after {
  content: "▾";
  margin-left: 6px;
  font-size: 0.75em;
  opacity: 0.7;
}

.nav-menu,
.nav-submenu {
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.nav-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 60;
  min-width: 230px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

/* Invisible bridge so the menu stays open while the pointer crosses the gap */
.nav-menu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-menu li {
  position: relative;
}

.main-nav .nav-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 12px;
  border-radius: 8px;
  white-space: nowrap;
  font-size: 0.95rem;
}

.nav-has-sub > a::after {
  content: "›";
  opacity: 0.55;
}

.nav-submenu {
  position: absolute;
  top: -9px;
  left: 100%;
  min-width: 240px;
  margin-left: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.nav-submenu::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -10px;
  width: 10px;
}

.nav-dropdown.is-open > .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

@media (hover: hover) and (min-width: 901px) {
  .nav-dropdown:hover > .nav-menu,
  .nav-dropdown:focus-within > .nav-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-has-sub:hover > .nav-submenu,
  .nav-has-sub:focus-within > .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

/* Phones and tablets: the menu opens on tap as a full-width panel, with
   each service's subpages listed under it */
@media (max-width: 900px) {
  .nav-dropdown {
    position: static;
  }

  .nav-dropdown-toggle {
    padding: 6px 8px;
    font-size: 0.95rem;
  }

  .nav-menu {
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 16px;
    max-height: 70vh;
    overflow-y: auto;
    padding: 12px 16px 16px;
    border-radius: 0 0 14px 14px;
  }

  .nav-menu::before {
    content: none;
  }

  .nav-submenu {
    position: static;
    min-width: 0;
    margin: 0;
    padding: 0 0 6px 10px;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: none;
    border: 0;
    box-shadow: none;
  }

  .nav-has-sub > a::after {
    content: none;
  }

  .main-nav .nav-menu a {
    white-space: normal;
  }

  .main-nav .nav-has-sub > a {
    font-weight: 600;
  }

  .main-nav .nav-submenu a {
    padding: 5px 8px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.68);
  }
}

@media (max-width: 480px) {
  .nav-menu {
    grid-template-columns: 1fr;
  }
}
