/* vg sipovi - editorial industrial */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ink + bone palette */
  --ink: #0a0908;
  --ink-soft: #161412;
  --ink-2: #1f1c18;
  --bone: #f5eee0;
  --bone-2: #ebe2cf;
  --paper: #fbf7ee;
  --paper-edge: #e8e0d0;

  /* gold scale */
  --gold: #c89c3c;
  --gold-hi: #e8c373;
  --gold-lo: #8c6b22;
  --gold-soft: rgba(200, 156, 60, 0.14);

  /* earth/grey */
  --clay: #8a4a1d;
  --grey-100: #d1cec5;
  --grey-300: #908a7e;
  --grey-500: #5a554c;

  /* type */
  --font-display: 'Big Shoulders Display', sans-serif;
  --font-body: 'Instrument Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* rhythm */
  --gutter: clamp(20px, 4vw, 56px);
  --pad-section: clamp(80px, 12vw, 160px);
  --max: 1380px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden; /* fallback */
  overflow-x: clip; /* hidden ubija sticky header, clip ne pravi scroll kontekst */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

/* ---- type ramp ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

/* ---- topbar ---- */
.topbar {
  background: var(--ink);
  color: var(--bone);
  border-bottom: 1px solid rgba(245, 238, 224, 0.08);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a { color: var(--gold-hi); }
.topbar a:hover { color: var(--bone); }
.topbar-info { display: flex; gap: 28px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 8px; }
.topbar-dot {
  width: 6px; height: 6px; background: var(--gold);
}

/* ---- header ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--ink);
  border-bottom: 1px solid rgba(245, 238, 224, 0.06);
  transition: background .3s;
}
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo { display: flex; align-items: center; gap: 14px; color: var(--bone); }
.logo-mark { width: 54px; height: 54px; flex-shrink: 0; }
.logo-mark img { width: 100%; height: 100%; }
.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}
.logo-text strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--bone);
  text-transform: uppercase;
}
.logo-text small {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 0;
  position: relative;
  transition: color .2s;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s cubic-bezier(.7,.1,.3,1);
}
.nav a:hover { color: var(--gold-hi); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav a.active { color: var(--gold); }
.nav a.active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(245, 238, 224, 0.2);
  width: 44px; height: 44px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--gold);
  margin: 4px auto;
  transition: .3s;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 30px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .35s cubic-bezier(.7,.1,.3,1);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn .arrow {
  width: 14px; height: 1px; background: currentColor;
  position: relative;
  transition: width .35s cubic-bezier(.7,.1,.3,1);
}
.btn .arrow::after {
  content: '';
  position: absolute;
  right: -1px; top: -3px;
  width: 8px; height: 8px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: rotate(45deg);
  transform-origin: right center;
}
.btn:hover .arrow { width: 22px; }

.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-hi); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }

.btn-ghost { background: transparent; color: var(--bone); border-color: rgba(245, 238, 224, 0.25); }
.btn-ghost:hover { color: var(--gold-hi); border-color: var(--gold); }

.btn-dark { background: var(--ink); color: var(--gold-hi); }
.btn-dark:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--paper); }

/* ---- hero ---- */
.hero {
  background: var(--ink);
  color: var(--bone);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(10,9,8,0.78) 0%, rgba(10,9,8,0.55) 60%, rgba(10,9,8,0.85) 100%),
    var(--hero-img, url('../assets/images/iskop-1.jpg'));
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.95 0 0 0 0 0.93 0 0 0 0 0.88 0 0 0 0.15 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.4;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  min-height: 88vh;
  padding-top: 80px;
  padding-bottom: 160px;
  align-items: end;
  position: relative;
}

.hero-rail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-right: 1px solid rgba(245, 238, 224, 0.12);
  height: 100%;
}
.hero-rail-mark {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
}
.hero-rail-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--grey-300);
  letter-spacing: 0.2em;
}

.hero-content {
  max-width: 1100px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 36px;
}
.hero-tag::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(64px, 13vw, 220px);
  line-height: 0.82;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin-bottom: 40px;
  display: block;
}
.hero-title .line-1 { color: var(--bone); display: block; opacity: 0.88; }
.hero-title .line-2 {
  color: var(--gold);
  display: block;
  font-style: italic;
  font-weight: 800;
  margin-left: -0.03em;
}
.hero-title .line-3 {
  color: var(--bone);
  display: block;
  font-size: 0.32em;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-top: 16px;
  max-width: 18ch;
  line-height: 1.05;
  text-transform: uppercase;
}

.hero-lead {
  font-size: clamp(15px, 1.2vw, 17px);
  color: rgba(245, 238, 224, 0.7);
  max-width: 540px;
  margin-bottom: 44px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

/* hero spec strip */
.hero-spec {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 9, 8, 0.6);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(200, 156, 60, 0.3);
  z-index: 2;
}
.hero-spec .wrap {
  display: grid;
  grid-template-columns: 80px repeat(4, 1fr);
  gap: 32px;
  align-items: center;
  padding-top: 22px;
  padding-bottom: 22px;
}
.spec-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
}
.spec {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 24px;
  border-left: 1px solid rgba(245, 238, 224, 0.1);
}
.spec-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 44px);
  color: var(--bone);
  line-height: 1;
  letter-spacing: -0.02em;
}
.spec-cap {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--grey-300);
  text-transform: uppercase;
}

/* ---- marquee ---- */
.marquee {
  background: var(--ink);
  color: var(--bone);
  padding: 28px 0;
  border-top: 1px solid rgba(245, 238, 224, 0.08);
  border-bottom: 1px solid rgba(245, 238, 224, 0.08);
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 64px;
  animation: marquee 38s linear infinite;
  padding-right: 64px;
}
.marquee-item {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 92px);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--bone);
  display: inline-flex;
  align-items: center;
  gap: 64px;
  line-height: 1;
}
.marquee-item .dot {
  width: 14px; height: 14px;
  background: var(--gold);
  flex-shrink: 0;
}
.marquee-item.outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--bone);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---- sections base ---- */
.section { padding: var(--pad-section) 0; position: relative; }
.section-dark { background: var(--ink); color: var(--bone); }
.section-cream { background: var(--paper); }

.section-head {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  margin-bottom: 80px;
  align-items: end;
}
.section-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  padding-top: 12px;
}
.section-num::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 96px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
.section-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 700;
}
.section-title.on-dark { color: var(--bone); }
.section-title.on-dark em { color: var(--gold-hi); }

.section-intro {
  max-width: 640px;
  margin-top: 24px;
  font-size: 16px;
  color: var(--grey-500);
  line-height: 1.6;
}
.section-dark .section-intro { color: rgba(245, 238, 224, 0.65); }

/* ---- šipovi feature ---- */
.sipovi-feature {
  background: var(--ink);
  color: var(--bone);
  padding: var(--pad-section) 0;
  position: relative;
  overflow: hidden;
}
.sipovi-feature::before {
  content: 'ŠIPOVI';
  position: absolute;
  top: -8%;
  left: -2%;
  font-family: var(--font-display);
  font-size: clamp(180px, 30vw, 480px);
  font-weight: 900;
  color: rgba(200, 156, 60, 0.045);
  letter-spacing: -0.03em;
  pointer-events: none;
  line-height: 0.8;
  text-transform: uppercase;
}
.sipovi-feature::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.95 0 0 0 0 0.93 0 0 0 0 0.88 0 0 0 0.1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.5;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.sipovi-feature .wrap { position: relative; z-index: 2; }

.sipovi-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 80px;
  align-items: end;
}

.sipovi-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.sipovi-meta::before {
  content: '';
  width: 40px; height: 1px; background: var(--gold);
}

.sipovi-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 9.5vw, 168px);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 36px;
}
.sipovi-title .line-1 { display: block; color: var(--bone); }
.sipovi-title .line-2 { display: block; color: var(--gold); font-style: italic; }

.sipovi-lead {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(245, 238, 224, 0.72);
  max-width: 480px;
  margin-bottom: 48px;
}

.sipovi-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
  margin-bottom: 56px;
}
.point {
  border-top: 1px solid rgba(245, 238, 224, 0.15);
  padding-top: 18px;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
}
.point-num {
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1;
}
.point-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.01em;
  color: var(--bone);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.point-text span {
  display: block;
  font-size: 13.5px;
  color: var(--grey-300);
  line-height: 1.5;
}

.sipovi-figure {
  position: relative;
  aspect-ratio: 4/5;
}
.sipovi-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.92);
}
.sipovi-figure::before, .sipovi-figure::after {
  content: '';
  position: absolute;
  width: 32px; height: 32px;
  border: 2px solid var(--gold);
  z-index: 2;
}
.sipovi-figure::before {
  top: -12px; left: -12px;
  border-right: none; border-bottom: none;
}
.sipovi-figure::after {
  bottom: -12px; right: -12px;
  border-left: none; border-top: none;
}
.sipovi-tag-vert {
  position: absolute;
  right: -28px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---- services grid ---- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
  gap: 0;
  border-top: 1px solid var(--paper-edge);
  border-left: 1px solid var(--paper-edge);
}
.section-dark .services {
  border-top-color: rgba(245, 238, 224, 0.1);
  border-left-color: rgba(245, 238, 224, 0.1);
}
.service {
  padding: 40px 36px 44px;
  border-right: 1px solid var(--paper-edge);
  border-bottom: 1px solid var(--paper-edge);
  background: var(--paper);
  transition: background .4s;
  position: relative;
  overflow: hidden;
}
.section-dark .service {
  background: var(--ink);
  border-right-color: rgba(245, 238, 224, 0.1);
  border-bottom-color: rgba(245, 238, 224, 0.1);
}
.service::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.7,.1,.3,1);
}
.service:hover::before { transform: scaleX(1); }
.service:hover { background: var(--bone); }
.section-dark .service:hover { background: var(--ink-soft); }

.service-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.service-mono::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(200, 156, 60, 0.25);
}

.service h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.005em;
  margin-bottom: 14px;
  line-height: 1;
  text-transform: uppercase;
}
.section-dark .service h3 { color: var(--bone); }

.service p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--grey-500);
}
.section-dark .service p { color: var(--grey-300); }

/* ---- about split ---- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: center;
}
.about-figure {
  position: relative;
  aspect-ratio: 4/5;
}
.about-figure img {
  width: 100%; height: 100%; object-fit: cover;
  filter: contrast(1.04) saturate(0.95);
}
.about-figure .ticker {
  position: absolute;
  left: -32px;
  top: 24px;
  background: var(--gold);
  color: var(--ink);
  padding: 14px 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.about-figure .ticker strong {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1;
  margin-top: 4px;
}

.about-body p {
  font-size: 16px;
  margin-bottom: 18px;
  color: var(--grey-500);
  line-height: 1.65;
}
.section-dark .about-body p { color: rgba(245, 238, 224, 0.72); }

.about-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 32px;
  margin-bottom: 36px;
}
.about-list li {
  font-size: 14px;
  font-weight: 500;
  padding-left: 26px;
  position: relative;
  letter-spacing: 0.005em;
}
.about-list li::before {
  content: '+';
  position: absolute;
  left: 0;
  top: -2px;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
}

/* ---- rent band ---- */
.rent-band {
  background: var(--bone);
  padding: var(--pad-section) 0;
  position: relative;
  overflow: hidden;
}
.rent-band::before {
  content: '';
  position: absolute;
  top: 0; right: -20%;
  width: 60%; height: 6px;
  background: var(--gold);
}
.rent-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.rent-img {
  position: relative;
  aspect-ratio: 4/3;
}
.rent-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.2) contrast(1.05);
}
.rent-img::after {
  content: 'MEHANIZACIJA';
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--ink);
  color: var(--gold);
  padding: 12px 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
}
.rent-band .section-num { color: var(--gold-lo); }
.rent-band .section-num::before { background: var(--gold-lo); }

.rent-body p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--grey-500);
  margin-bottom: 18px;
  max-width: 580px;
}
.rent-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 36px 0;
  border-top: 1px solid var(--paper-edge);
}
.rent-list li {
  list-style: none;
  padding: 16px 0 16px 28px;
  border-bottom: 1px solid var(--paper-edge);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
}
.rent-list li:nth-child(odd) { border-right: 1px solid var(--paper-edge); padding-left: 0; }
.rent-list li:nth-child(odd)::before {
  left: 0;
}
.rent-list li::before {
  content: '-';
  position: absolute;
  left: 8px;
  color: var(--gold);
  font-weight: 700;
}

/* ---- partners ---- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  border-top: 1px solid rgba(245, 238, 224, 0.1);
  border-left: 1px solid rgba(245, 238, 224, 0.1);
}
.partner {
  padding: 36px 28px;
  border-right: 1px solid rgba(245, 238, 224, 0.1);
  border-bottom: 1px solid rgba(245, 238, 224, 0.1);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--bone);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: all .3s;
  cursor: default;
}
.partner:hover {
  background: var(--ink-soft);
  color: var(--gold-hi);
}

/* ---- cta band ---- */
.cta-band {
  background: var(--gold);
  color: var(--ink);
  padding: clamp(60px, 9vw, 110px) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0.18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}
.cta-band .wrap {
  display: grid;
  grid-template-columns: 1.5fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5.5vw, 80px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--ink);
}
.cta-band h2 em { font-style: italic; }

/* ---- page hero ---- */
.page-hero {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(72px, 9vw, 140px) 0 clamp(54px, 7vw, 100px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(10,9,8,0.78) 0%, rgba(10,9,8,0.92) 100%),
    var(--ph-img, none);
  background-size: cover;
  background-position: center;
  z-index: -1;
}
.page-hero .wrap {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: end;
  min-height: 30vh;
}
.page-hero .crumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
}
.page-hero .crumb a { color: var(--bone); }
.page-hero .crumb a:hover { color: var(--gold-hi); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(56px, 12vw, 180px);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--bone);
  margin-top: 24px;
}
.page-hero .num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  align-self: end;
  padding-bottom: 12px;
}

/* ---- reference gallery ---- */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 220px;
  gap: 4px;
}
.ref-item {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.ref-item img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.05) contrast(1.05);
  transition: transform .8s cubic-bezier(.7,.1,.3,1), filter .4s;
}
.ref-item:hover img { transform: scale(1.06); filter: grayscale(0) contrast(1.08); }
.ref-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,9,8,0.92) 0%, rgba(10,9,8,0) 50%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: var(--bone);
}
.ref-item .meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.ref-item h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  line-height: 1;
}

.ref-1 { grid-column: span 7; grid-row: span 2; }
.ref-2 { grid-column: span 5; grid-row: span 1; }
.ref-3 { grid-column: span 5; grid-row: span 1; }
.ref-4 { grid-column: span 4; grid-row: span 1; }
.ref-5 { grid-column: span 4; grid-row: span 2; }
.ref-6 { grid-column: span 4; grid-row: span 1; }
.ref-7 { grid-column: span 6; grid-row: span 1; }
.ref-8 { grid-column: span 6; grid-row: span 1; }

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.ref-video {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--ink);
  overflow: hidden;
}
.ref-video video { width: 100%; height: 100%; object-fit: cover; }
.ref-video::before, .ref-video::after {
  content: '';
  position: absolute;
  width: 28px; height: 28px;
  border: 2px solid var(--gold);
  z-index: 2;
  pointer-events: none;
}
.ref-video::before { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.ref-video::after { bottom: 12px; right: 12px; border-left: none; border-top: none; }

/* ---- investors ---- */
.investors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--paper-edge);
  border-left: 1px solid var(--paper-edge);
}
.investor {
  padding: 28px 32px;
  border-right: 1px solid var(--paper-edge);
  border-bottom: 1px solid var(--paper-edge);
  background: var(--bone);
  transition: background .3s;
}
.investor:hover { background: var(--paper); }
.investor strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.investor span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold-lo);
  text-transform: uppercase;
}

/* ---- equipment detail (o-nama) ---- */
.equip-panel {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(40px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}
.equip-panel::before {
  content: 'FLOTA';
  position: absolute;
  bottom: -10%;
  right: -2%;
  font-family: var(--font-display);
  font-size: clamp(120px, 22vw, 360px);
  font-weight: 900;
  color: rgba(200, 156, 60, 0.04);
  letter-spacing: -0.02em;
  line-height: 0.8;
}
.equip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  position: relative;
  z-index: 2;
}
.equip-col h3 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--gold-hi);
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
.equip-list { list-style: none; }
.equip-list li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(245, 238, 224, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
}
.equip-list li:last-child { border-bottom: none; }
.equip-list li span { color: rgba(245, 238, 224, 0.85); }
.equip-list li strong {
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.1em;
}

.equip-note {
  margin-top: 32px;
  padding: 24px 28px;
  background: var(--ink-soft);
  border-left: 3px solid var(--gold);
  font-size: 14px;
  color: rgba(245, 238, 224, 0.7);
  line-height: 1.6;
}

/* ---- contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
}
.contact-info {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(36px, 5vw, 56px);
  position: relative;
}
.contact-info::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 80px; height: 4px;
  background: var(--gold);
}
.contact-info h3 {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--gold-hi);
  margin-bottom: 36px;
  text-transform: uppercase;
}
.contact-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(245, 238, 224, 0.08);
  align-items: center;
}
.contact-row .icon {
  width: 40px; height: 40px;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--gold);
}
.contact-row .icon svg { width: 18px; height: 18px; }
.contact-row .icon.wa { background: #25d366; border-color: #25d366; color: #fff; }
.contact-row .label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.contact-row a, .contact-row .val {
  color: var(--bone);
  font-size: 15px;
  line-height: 1.4;
}
.contact-row a:hover { color: var(--gold-hi); }

.contact-id {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(245, 238, 224, 0.08);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(245, 238, 224, 0.5);
  line-height: 1.8;
  text-transform: uppercase;
}
.contact-id strong {
  display: block;
  color: var(--gold);
  margin-bottom: 8px;
  font-weight: 500;
}

.map {
  height: 100%;
  min-height: 460px;
  border: 1px solid var(--paper-edge);
  position: relative;
}
.map::before {
  content: 'LOKACIJA / IVE ANDRIĆA 139 · NOVI PAZAR';
  position: absolute;
  top: -30px;
  left: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold-lo);
  text-transform: uppercase;
}
.map iframe { width: 100%; height: 100%; border: none; filter: grayscale(0.35) contrast(1.05); }

/* ---- service-detail (usluge) ---- */
.svc-detail {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
  padding: clamp(64px, 8vw, 110px) 0;
  border-bottom: 1px solid var(--paper-edge);
}
.svc-detail:last-of-type { border-bottom: none; }
.svc-detail.reverse > div:first-child { order: 2; }
.svc-detail.feature-block {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(48px, 7vw, 88px);
  border: none;
  position: relative;
  overflow: hidden;
}
.svc-detail.feature-block::before {
  content: '01';
  position: absolute;
  top: -10px;
  right: 32px;
  font-family: var(--font-display);
  font-size: clamp(160px, 22vw, 320px);
  font-weight: 900;
  color: rgba(200, 156, 60, 0.06);
  letter-spacing: -0.02em;
  line-height: 0.8;
  pointer-events: none;
}
.svc-detail.feature-block .svc-content { position: relative; z-index: 2; }
.svc-img {
  position: relative;
  aspect-ratio: 4/3;
}
.svc-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: contrast(1.06) saturate(0.95);
}
.svc-img.tall { aspect-ratio: 4/5; }
.svc-img::before {
  content: '';
  position: absolute;
  top: -10px; left: -10px;
  width: 30px; height: 30px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}
.svc-img::after {
  content: '';
  position: absolute;
  bottom: -10px; right: -10px;
  width: 30px; height: 30px;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
}
.svc-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.svc-mono::before { content: ''; width: 32px; height: 1px; background: var(--gold); }
.svc-content h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.svc-detail.feature-block h2 { color: var(--bone); }
.svc-detail.feature-block h2 em { color: var(--gold-hi); font-style: italic; }
.svc-content > p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 16px;
  color: var(--grey-500);
  max-width: 540px;
}
.svc-detail.feature-block p { color: rgba(245, 238, 224, 0.7); }
.svc-content ul {
  list-style: none;
  margin: 32px 0;
  border-top: 1px solid var(--paper-edge);
}
.svc-detail.feature-block ul { border-color: rgba(245, 238, 224, 0.12); }
.svc-content ul li {
  padding: 14px 0 14px 32px;
  border-bottom: 1px solid var(--paper-edge);
  position: relative;
  font-size: 14.5px;
  letter-spacing: 0.005em;
}
.svc-detail.feature-block ul li { border-color: rgba(245, 238, 224, 0.12); color: var(--bone); }
.svc-content ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 14px;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 14px;
}

/* ---- footer ---- */
.footer {
  background: #050403;
  color: rgba(245, 238, 224, 0.55);
  padding: clamp(72px, 9vw, 110px) 0 28px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: 'VG';
  position: absolute;
  bottom: -8%;
  right: 4%;
  font-family: var(--font-display);
  font-size: clamp(200px, 32vw, 520px);
  font-weight: 900;
  color: rgba(200, 156, 60, 0.025);
  line-height: 0.8;
  letter-spacing: -0.04em;
  pointer-events: none;
}
.footer .wrap { position: relative; z-index: 2; }
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.2fr;
  gap: 56px;
  margin-bottom: 64px;
}
.footer-about p {
  font-size: 14px;
  line-height: 1.65;
  margin-top: 24px;
  max-width: 380px;
  color: rgba(245, 238, 224, 0.6);
}
.footer h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 22px;
  font-weight: 500;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 12px; font-size: 14px; }
.footer a { color: rgba(245, 238, 224, 0.6); transition: color .2s; }
.footer a:hover { color: var(--gold-hi); }
.footer-id {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(245, 238, 224, 0.3);
  margin-top: 12px;
  text-transform: uppercase;
}
.footer-bottom {
  border-top: 1px solid rgba(245, 238, 224, 0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 238, 224, 0.4);
}

/* ---- whatsapp float ---- */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.35);
  z-index: 90;
  transition: all .3s;
  color: #fff;
}
.wa-float:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 var(--ink);
}
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ---- responsive ---- */
@media (max-width: 1100px) {
  .sipovi-grid, .about-split, .rent-grid, .equip-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .svc-detail { grid-template-columns: 1fr; gap: 40px; }
  .svc-detail.reverse > div:first-child { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ref-1, .ref-2, .ref-3, .ref-4, .ref-5, .ref-6, .ref-7, .ref-8 {
    grid-column: span 6;
    grid-row: span 1;
  }
  .ref-1 { grid-column: span 12; grid-row: span 2; }
  .hero-spec .wrap { grid-template-columns: repeat(4, 1fr); }
  .hero-spec .wrap > .spec-label { display: none; }

  /* prevent corner bracket cutoff on mobile - bring inside images */
  .sipovi-figure { margin: 12px; }
  .svc-img { margin: 10px; }
  .about-figure { margin: 0 32px; }
  .sipovi-tag-vert { display: none; }
}

@media (max-width: 760px) {
  :root { --pad-section: 72px; }

  /* fix ticker overflow */
  .about-figure { margin: 0 16px; }
  .about-figure .ticker {
    left: 0;
    top: auto;
    bottom: -20px;
    padding: 10px 16px;
    font-size: 10px;
  }
  .about-figure .ticker strong { font-size: 28px; }

  /* smaller corner brackets on phone */
  .sipovi-figure::before, .sipovi-figure::after,
  .svc-img::before, .svc-img::after {
    width: 20px; height: 20px;
  }
  .sipovi-figure::before, .sipovi-figure::after { top: -8px; left: -8px; }
  .sipovi-figure::after { top: auto; left: auto; bottom: -8px; right: -8px; }

  .topbar-info { gap: 14px; font-size: 10px; }
  .topbar-info span:nth-child(1) { display: none; }
  .nav {
    /* lepi se ispod sticky headera, fixed je promasivao dok je topbar vidljiv */
    position: absolute;
    top: 100%;
    right: 0;
    width: 86%;
    max-width: 340px;
    height: calc(100vh - 90px);
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    padding: 44px var(--gutter);
    gap: 28px;
    /* zatvoren: stoji u ekranu pa secemo clip-om, da ne pravi horizontalni skrol na telefonu */
    clip-path: inset(0 0 0 100%);
    -webkit-clip-path: inset(0 0 0 100%);
    pointer-events: none;
    transition: clip-path .4s cubic-bezier(.7,.1,.3,1), -webkit-clip-path .4s cubic-bezier(.7,.1,.3,1);
    border-left: 1px solid rgba(245, 238, 224, 0.1);
  }
  .nav a { font-size: 14px; }
  .nav.open {
    clip-path: inset(0 0 0 0);
    -webkit-clip-path: inset(0 0 0 0);
    pointer-events: auto;
  }
  .nav-toggle { display: block; }
  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(3px, 4px); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(3px, -4px); }

  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 200px; min-height: 80vh; }
  .hero-rail { display: none; }
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 48px; }
  .page-hero .wrap { grid-template-columns: 1fr; }
  .page-hero .num { display: none; }

  .hero-spec .wrap { grid-template-columns: 1fr 1fr; gap: 16px; padding: 16px var(--gutter); }
  .spec { padding-left: 14px; }
  .spec-num { font-size: 24px; }

  .sipovi-points { grid-template-columns: 1fr; }
  .about-list { grid-template-columns: 1fr; }
  .rent-list { grid-template-columns: 1fr; }
  .rent-list li:nth-child(odd) { border-right: none; padding-left: 28px; }
  .rent-list li:nth-child(odd)::before { left: 8px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .investors { grid-template-columns: 1fr 1fr; }
  .ref-grid { grid-auto-rows: 180px; }
  .video-grid { grid-template-columns: 1fr; }
  .cta-band .wrap { grid-template-columns: 1fr; gap: 24px; }

  .wa-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
  .wa-float svg { width: 26px; height: 26px; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 var(--gutter); }
  .topbar-info span:nth-child(3) { display: none; }
  .topbar-info span { flex-wrap: wrap; }
  .logo-mark { width: 44px; height: 44px; }
  .logo-text strong { font-size: 18px; }
  .logo-text small { font-size: 9px; letter-spacing: 0.14em; }
  .btn { padding: 14px 22px 12px; font-size: 10px; }
  .investors { grid-template-columns: 1fr; }
}

/* prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track { animation: none; }
}
