﻿/* ════════════════════════════════════════════
   MAREK-KOP — style.css
   Dark industrial theme · Montserrat · #F5A200
════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────── */
:root {
  --c-bg:          #111111;
  --c-bg2:         #181818;
  --c-bg3:         #202020;
  --c-bg4:         #282828;
  --c-border:      #2e2e2e;
  --c-accent:      #F5A200;
  --c-accent-dark: #d48e00;
  --c-accent-bg:   rgba(245, 162, 0, 0.08);
  --c-accent-bdr:  rgba(245, 162, 0, 0.25);
  --c-white:       #ffffff;
  --c-gray:        #888888;
  --c-gray-lt:     #bbbbbb;
  --c-green:       #25D366;

  --font:       'Poppins', sans-serif;
  --f-display:  'Poppins', sans-serif;
  --f-mono:     'JetBrains Mono', 'Courier New', monospace;
  --r-sm:     8px;
  --r-md:     16px;
  --r-lg:     24px;
  --r-xl:     32px;
  --ease:          0.3s ease;
  --ease-expo:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quart:    cubic-bezier(0.25, 1, 0.5, 1);
  --maxw:          1200px;

  --shadow-sm: 0 2px 12px rgba(0,0,0,0.35);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.45);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.55);
  --shadow-accent: 0 8px 28px rgba(245,162,0,0.35);
}

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

/* ── Container ─────────────────────────────── */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Scroll Animations ─────────────────────── */
.animate-fade,
.animate-left,
.animate-right {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-expo), transform 0.7s var(--ease-expo);
}
.animate-left  { transform: translateX(-40px); }
.animate-right { transform: translateX(40px); }
.animate-fade.visible,
.animate-left.visible,
.animate-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* ── Shared Section Styles ─────────────────── */
.section { padding: 120px 0; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  background: var(--c-accent-bg);
  color: var(--c-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  border: 1px solid var(--c-accent-bdr);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 1rem;
  color: var(--c-gray);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.75;
}
.accent { color: var(--c-accent); }

/* ── Buttons ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: var(--ease);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-accent);
  color: var(--c-bg);
  border-color: var(--c-accent);
}
.btn-primary:hover {
  background: var(--c-accent-dark);
  border-color: var(--c-accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}
.btn-primary:active { transform: translateY(0) scale(0.97); box-shadow: none; }

.btn-whatsapp {
  background: var(--c-green);
  color: var(--c-white);
  border-color: var(--c-green);
}
.btn-whatsapp:hover {
  background: #1fba58;
  border-color: #1fba58;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.3);
}
.btn-whatsapp:active { transform: translateY(0) scale(0.97); box-shadow: none; }

.btn-outline {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255,255,255,0.35);
}
.btn-outline:hover {
  border-color: var(--c-white);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}
.btn-outline:active { transform: translateY(0) scale(0.97); }
.btn-full { width: 100%; justify-content: center; }

/* ════════════════════════════════════════════
   COOKIE BANNER
════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 680px;
  background: var(--c-bg3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transition: opacity 0.35s, transform 0.35s;
}
.cookie-banner.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(16px);
}
.cookie-content {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-content p {
  flex: 1;
  font-size: 0.85rem;
  color: var(--c-gray-lt);
  min-width: 200px;
  line-height: 1.6;
}
.cookie-link { color: var(--c-accent); }
.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie-accept {
  background: var(--c-accent);
  color: var(--c-bg);
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font);
  transition: var(--ease);
}
.btn-cookie-accept:hover { background: var(--c-accent-dark); }
.btn-cookie-decline {
  background: var(--c-bg4);
  color: var(--c-gray);
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font);
  transition: var(--ease);
}
.btn-cookie-decline:hover { color: var(--c-white); background: #333; }

/* ════════════════════════════════════════════
   HEADER / NAV
════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
.header.scrolled,
body.subpage .header {
  background: rgba(17,17,17,0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 var(--c-border), var(--shadow-sm);
  padding: 10px 0;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { flex-shrink: 0; }
.logo-img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(245,162,0,0.25));
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-gray-lt);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: var(--ease);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 14px;
  width: 0; height: 2px;
  background: var(--c-accent);
  border-radius: 2px;
  transition: width 0.35s var(--ease-expo);
}
.nav-link:hover,
.nav-link.active { color: var(--c-white); }
.nav-link:hover::after,
.nav-link.active::after { width: calc(100% - 28px); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--c-accent);
  color: var(--c-bg);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  transition: var(--ease);
  margin-left: 10px;
}
.nav-cta:hover {
  background: var(--c-accent-dark);
  transform: translateY(-1px);
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 44px;
  background: var(--c-bg3);
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
  transition: background 0.25s ease, border-color 0.25s ease;
  position: relative;
}
.nav-toggle:hover {
  background: var(--c-bg4);
  border-color: rgba(245,162,0,0.4);
}
/* hamburger bars — hidden when active */
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: opacity 0.2s ease, transform 0.3s ease;
  position: absolute;
}
.nav-toggle span:nth-child(1) { transform: translateY(-6px); }
.nav-toggle span:nth-child(2) { transform: translateY(0); }
.nav-toggle span:nth-child(3) { transform: translateY(6px); }
/* X state */
.nav-toggle.active span:nth-child(1) { transform: translateY(0) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(0) rotate(-45deg); }
.nav-toggle.active { border-color: rgba(245,162,0,0.5); background: rgba(245,162,0,0.08); }

/* ════════════════════════════════════════════
   HERO — IMAGE ACCORDION
════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--c-bg);
  position: relative;
  overflow: hidden;
}

/* Hero background texture — image at very low opacity */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('slike/hero-image.png');
  background-size: cover;
  background-position: center 40%;
  opacity: 0.2;
  z-index: 0;
}

/* Gradient overlay — keeps left/text side dark, fades right */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 10% 60%, rgba(245,162,0,0.06) 0%, transparent 70%),
    linear-gradient(105deg, rgba(17,17,17,0.92) 0%, rgba(17,17,17,0.55) 55%, rgba(17,17,17,0.15) 100%);
  z-index: 1;
}

/* Two-column grid: text + buttons left | accordion right */
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "content acc"
    "actions  acc";
  column-gap: 3.5rem;
  row-gap: 2rem;
  align-items: start;
  padding-top: 96px;
  padding-bottom: 72px;
  width: 100%;
}

/* ── Left: text ── */
.hero-content {
  grid-area: content;
  position: relative;
}
.hero-actions {
  grid-area: actions;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-self: start;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,162,0,0.08);
  border: 1px solid rgba(245,162,0,0.22);
  color: var(--c-accent);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.badge-dot {
  display: none;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
.hero-title {
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero-sub {
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  margin-bottom: 0;
  max-width: 480px;
}


/* ── Right: accordion (spans both rows on desktop) ── */
.hero-acc {
  grid-area: acc;
  display: flex;
  flex-direction: row;
  gap: 10px;
  height: clamp(380px, 52vh, 520px);
  align-self: stretch;
}

.acc-panel {
  position: relative;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  flex: 0 0 54px;
  transition: flex 680ms cubic-bezier(.4, 0, .2, 1);
  outline: none;
}
.acc-panel:focus-visible {
  box-shadow: 0 0 0 3px var(--c-accent);
}
.acc-panel.active {
  flex: 1 1 auto;
}

.acc-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  will-change: transform;
  transition: transform 900ms cubic-bezier(.4, 0, .2, 1);
}
.acc-panel.active img {
  transform: scale(1.05);
}
.acc-panel:not(.active):hover img {
  transform: scale(1.08);
}

/* Overlay: simple background transition — no pseudo-elements (avoids stacking context bleed) */
.acc-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.48);
  transition: background 500ms ease;
}
.acc-panel.active .acc-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 50%, transparent 100%);
}

/* Label text */
.acc-label {
  position: absolute;
  z-index: 2;
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.6px;
  white-space: nowrap;
  font-family: var(--font);
  pointer-events: none;
  transition: transform 680ms cubic-bezier(.4, 0, .2, 1),
              bottom 680ms cubic-bezier(.4, 0, .2, 1),
              font-size 400ms ease, color 400ms ease, opacity 400ms ease;
}

/* Inactive: rotated 90° — reads bottom to top */
.acc-panel:not(.active) .acc-label {
  bottom: 96px;
  left: 50%;
  transform: translateX(-50%) rotate(90deg);
  opacity: 0.85;
}

/* Active: horizontal at bottom-center, amber accent */
.acc-panel.active .acc-label {
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) rotate(0deg);
  font-size: 0.95rem;
  color: var(--c-accent);
  text-shadow: 0 1px 10px rgba(0,0,0,0.6);
}

/* ════════════════════════════════════════════
   STATS BAR
════════════════════════════════════════════ */
.stats-bar {
  background: #1c1c1c;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 44px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 16px 24px;
  border-right: 1px solid var(--c-border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  display: block;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 900;
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -1px;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--c-gray);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ════════════════════════════════════════════
   O NAMA
════════════════════════════════════════════ */
.o-nama { background: #1c1c1c; }
.o-nama-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Image stack */
.img-stack {
  position: relative;
  padding-bottom: 90px;
  padding-right: 90px;
}
.img-main {
  border-radius: var(--r-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}
.img-accent-wrap {
  position: absolute;
  bottom: 0; right: 0;
  width: 58%;
}
.img-accent {
  border-radius: var(--r-md);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 4px solid var(--c-bg2);
  box-shadow: var(--shadow-md);
}
.img-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--c-accent);
  color: var(--c-bg);
  border-radius: var(--r-md);
  padding: 14px 18px;
  text-align: center;
  box-shadow: var(--shadow-accent);
  min-width: 100px;
}
.img-badge-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
}
.img-badge-stars {
  display: block;
  font-size: 0.75rem;
  margin: 3px 0 2px;
  letter-spacing: 1px;
}
.img-badge-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

/* O nama text */
.o-nama-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.8;
  margin-bottom: 18px;
}
.o-nama-list {
  margin: 24px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.o-nama-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}
.check-icon {
  width: 28px; height: 28px;
  background: var(--c-accent-bg);
  border: 1px solid var(--c-accent-bdr);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  flex-shrink: 0;
}

/* ════════════════════════════════════════════
   USLUGE — 3D SCROLL PANEL
════════════════════════════════════════════ */
.usluge-section {
  padding: 104px 0 0;
  background: var(--c-bg);
  overflow: hidden;
}
.usluge-section .section-header {
  margin-bottom: 72px;
}

/* Perspective wrapper */
.usp-scene {
  perspective: 1600px;
  perspective-origin: 50% 30%;
  padding: 0 24px 140px;
}

/* The 3D panel itself */
.usp-panel {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transform-origin: center top;
  transform: rotateX(22deg) scale(0.95);
  will-change: transform;
  box-shadow:
    0 0 0 1px rgba(245,162,0,0.06),
    0 40px 80px rgba(0,0,0,0.65),
    0 80px 160px rgba(0,0,0,0.45);
  transition: box-shadow 0.6s ease;
}

/* 4-column grid of service panels */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 540px;
}

/* Individual service panel */
.usp-item {
  position: relative;
  overflow: hidden;
  border-right: 1px solid rgba(255,255,255,0.05);
  cursor: pointer;
}
.usp-item:last-child { border-right: none; }

/* Background photo */
.usp-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.usp-item:hover .usp-bg { transform: scale(1.07); }

/* Dark gradient overlay — heavier at bottom for text legibility */
.usp-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8,8,8,0.97) 0%,
    rgba(8,8,8,0.72) 45%,
    rgba(8,8,8,0.35) 100%
  );
  transition: background 0.5s ease;
}
.usp-item:hover .usp-overlay {
  background: linear-gradient(
    to top,
    rgba(8,8,8,0.98) 0%,
    rgba(8,8,8,0.80) 50%,
    rgba(8,8,8,0.45) 100%
  );
}

/* Content positioned at bottom */
.usp-body {
  position: absolute;
  inset: 0;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
}

/* Service number */
.usp-num {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--c-accent);
  opacity: 0.75;
  display: block;
  margin-bottom: 2px;
}

/* Service title */
.usp-title {
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin: 0;
}

/* Bullet list — revealed on hover */
.usp-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: max-height 0.4s ease, opacity 0.35s ease, transform 0.35s ease;
}
.usp-item:hover .usp-list {
  max-height: 120px;
  opacity: 1;
  transform: translateY(0);
}
.usp-list li {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}
.usp-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--c-accent);
  font-size: 0.7rem;
  line-height: 1.6;
}

/* CTA link */
.usp-cta {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: 0.3px;
  text-decoration: none;
  margin-top: 2px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease 0.08s, transform 0.3s ease 0.08s, color 0.2s ease;
}
.usp-item:hover .usp-cta {
  opacity: 1;
  transform: translateY(0);
}
.usp-cta:hover { color: #fff; }

/* ════════════════════════════════════════════
   GALERIJA
════════════════════════════════════════════ */
.galerija { background: #1c1c1c; }
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.filter-btn {
  background: var(--c-bg3);
  color: var(--c-gray);
  border: 1px solid var(--c-border);
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font);
  transition: var(--ease);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--c-accent);
  color: var(--c-bg);
  border-color: var(--c-accent);
}
.gallery-grid {
  columns: 4;
  column-gap: 14px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 14px;
  border-radius: var(--r-sm);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item.hidden { display: none; }

/* ── Gallery CTA ──────────────────────────── */
.gallery-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
}
.gallery-cta-text {
  font-size: 0.82rem;
  color: var(--c-gray);
  letter-spacing: 0.5px;
}
.gallery-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 36px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: var(--c-white);
  transition: var(--ease);
}
.gallery-cta-btn:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
  background: rgba(245,162,0,0.06);
  gap: 10px;
}

/* ── Lightbox ──────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.96);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.active {
  opacity: 1;
  pointer-events: all;
}
.lightbox-img-wrap {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img-wrap img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-lg);
  transition: opacity 0.2s ease;
}
.lightbox-close {
  position: fixed;
  top: 20px; right: 20px;
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--ease);
  z-index: 9999;
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); }
.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--ease);
  z-index: 9999;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--c-accent);
}
.lightbox-counter {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.7);
  color: var(--c-gray-lt);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 7px 20px;
  border-radius: 50px;
  z-index: 9999;
}

/* ════════════════════════════════════════════
   PROCES — sticky scroll-stop section
════════════════════════════════════════════ */
.proces {
  position: relative;
  background: #000;
  height: 360vh;
  color: var(--c-white);
}
.proces__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

/* TOP CHROME */
.proces__chrome-top {
  position: absolute;
  inset: clamp(80px, 10vh, 112px) clamp(20px, 4vw, 48px) auto clamp(20px, 4vw, 48px);
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  pointer-events: none;
}
.proces__eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gray);
}
.proces__eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--c-accent);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: 1px;
}
.proces__counter {
  text-align: right;
  font-family: var(--f-display);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--c-white);
  font-weight: 800;
  text-transform: uppercase;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.proces__counter .now {
  display: inline-grid;
  position: relative;
  width: 0.6em; height: 1em;
  overflow: hidden;
}
.proces__counter .now span {
  position: absolute; left: 0; right: 0;
  text-align: center;
  transition: transform 0.6s cubic-bezier(.6,.2,.1,1), opacity 0.5s;
}
.proces__counter .now span:nth-child(1) { transform: translateY(0); }
.proces__counter .now span:nth-child(2) { transform: translateY(100%); opacity: 0; }
.proces__counter .now span:nth-child(3) { transform: translateY(200%); opacity: 0; }
.proces[data-step="1"] .proces__counter .now span:nth-child(1) { transform: translateY(-100%); opacity: 0; }
.proces[data-step="1"] .proces__counter .now span:nth-child(2) { transform: translateY(0); opacity: 1; }
.proces[data-step="2"] .proces__counter .now span:nth-child(1) { transform: translateY(-200%); opacity: 0; }
.proces[data-step="2"] .proces__counter .now span:nth-child(2) { transform: translateY(-100%); opacity: 0; }
.proces[data-step="2"] .proces__counter .now span:nth-child(3) { transform: translateY(0); opacity: 1; }
.proces__counter .total {
  color: var(--c-gray);
  font-size: 0.5em;
  font-family: var(--f-mono);
  letter-spacing: 0.04em;
  font-weight: 400;
}

/* IMAGE STAGE */
.proces__stage {
  position: absolute;
  inset: clamp(72px, 10vh, 120px) clamp(20px, 4vw, 48px) 0 clamp(20px, 4vw, 48px);
  z-index: 1;
  border: 1px solid var(--c-border);
  border-bottom: none;
  overflow: hidden;
  background: #0E0E0E;
}
.proces__layer {
  position: absolute; inset: 0; opacity: 0;
  transition:
    opacity 0.9s cubic-bezier(.4,.0,.2,1),
    transform 1.2s cubic-bezier(.4,.0,.2,1),
    filter 0.9s ease;
}

/* STEP 1 — raw terrain: dim + desaturated */
.proces__layer.s1 {
  background:
    linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.6) 28%, rgba(0,0,0,0.1) 58%, transparent 100%),
    url('slike/1.jpeg') 30% center / cover no-repeat;
  filter: brightness(0.72) saturate(0.45);
  transform: scale(1);
}
.proces__layer.s1::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 58%;
  height: 1px;
  background: rgba(245,162,0,0.18);
}

/* STEP 2 — bager u radu: amber grade + motion stripes */
.proces__layer.s2 {
  background:
    linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.55) 28%, rgba(0,0,0,0.05) 60%, transparent 100%),
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(245,162,0,0.14), transparent 70%),
    url('slike/2.jpeg') center / cover no-repeat;
  filter: brightness(0.82) saturate(1.15);
}
/* CSS silhouette placeholder — hidden now that real photo is used */
.proces__layer.s2 .machine { display: none; }
.proces__layer.s2 .motion {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(245,162,0,0.08) 0 2px, transparent 2px 14px);
  animation: procesMotionRoll 1.6s linear infinite;
  mix-blend-mode: screen;
}
@keyframes procesMotionRoll {
  from { background-position: 0 0; }
  to   { background-position: 200px 0; }
}
/* s2::before — placeholder removed, real photo in use */
.proces__layer.s2::before { content: none; }
.proces__layer.s2 .live {
  position: absolute; top: 18px; right: 20px;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.22em; color: var(--c-accent); text-transform: uppercase;
}
.proces__layer.s2 .live::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--c-accent); border-radius: 50%;
  animation: procesBlink 1.1s ease-in-out infinite;
}
@keyframes procesBlink { 50% { opacity: 0.2; } }

/* STEP 3 — završeno: clean view + callouts + stamp */
.proces__layer.s3 {
  background:
    linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.55) 28%, rgba(0,0,0,0.08) 58%, transparent 100%),
    url('slike/3.jpeg') center / cover no-repeat;
  filter: brightness(0.85) saturate(0.88);
}
/* s3::before — placeholder removed */
.proces__layer.s3::before { content: none; }
.proces__layer.s3 .stamp {
  position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%) rotate(-8deg);
  font-family: var(--f-display);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--c-accent);
  border: 3px solid var(--c-accent);
  padding: 8px 18px 6px;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.6s 0.3s ease, transform 0.8s 0.3s cubic-bezier(.2,.7,.2,1);
}
.proces[data-step="2"] .proces__layer.s3 .stamp {
  opacity: 1;
  transform: translateY(-50%) rotate(-4deg);
}
.proces__layer.s3 .callout {
  position: absolute;
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: 0.18em;
  color: var(--c-white); text-transform: uppercase;
  background: rgba(10,10,10,0.7);
  border: 1px solid var(--c-border);
  padding: 6px 10px;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.proces__layer.s3 .callout b { color: var(--c-accent); font-weight: 500; margin-left: 6px; }
.proces__layer.s3 .c1 { left: 14%; top: 32%; }
.proces__layer.s3 .c2 { left: 30%; bottom: 22%; }
.proces__layer.s3 .c3 { right: 30%; top: 28%; }
.proces[data-step="2"] .proces__layer.s3 .callout { opacity: 1; transform: none; }
.proces[data-step="2"] .proces__layer.s3 .c2 { transition-delay: 0.15s; }
.proces[data-step="2"] .proces__layer.s3 .c3 { transition-delay: 0.3s; }

/* Show the correct layer per step */
.proces[data-step="0"] .proces__layer.s1 {
  opacity: 1;
  filter: brightness(0.7) saturate(0.6);
  transform: scale(1);
}
.proces[data-step="1"] .proces__layer.s2 { opacity: 1; transform: scale(1.06); }
.proces[data-step="2"] .proces__layer.s3 { opacity: 1; transform: scale(1.02); }

/* CAPTIONS */
.proces__copy {
  position: absolute;
  left: clamp(20px, 4vw, 48px);
  right: clamp(20px, 4vw, 48px);
  bottom: clamp(28px, 5vh, 56px);
  z-index: 5;
  height: 240px;
  pointer-events: none;
}
.proces__copy .step {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.7s cubic-bezier(.2,.7,.2,1);
}
.proces__copy .step h3 {
  font-family: var(--f-display);
  font-size: clamp(26px, 5.5vw, 80px);
  font-weight: 800;
  line-height: 0.95; letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 12px;
  white-space: nowrap;
  overflow: hidden;
}
.proces__copy .step h3 em { font-style: normal; color: var(--c-accent); }
.proces__copy .step p {
  font-size: clamp(13px, 1.1vw, 17px);
  color: var(--c-gray-lt); line-height: 1.55;
  max-width: none;
}
.proces[data-step="0"] .proces__copy .step.s1 { opacity: 1; transform: none; }
.proces[data-step="1"] .proces__copy .step.s2 { opacity: 1; transform: none; }
.proces[data-step="2"] .proces__copy .step.s3 { opacity: 1; transform: none; }

/* PROGRESS DOTS */
.proces__dots {
  position: absolute;
  right: clamp(20px, 4vw, 48px);
  bottom: clamp(20px, 4vh, 48px);
  z-index: 5;
  display: flex; gap: 18px; align-items: center;
}
.proces__dots .dot {
  width: 28px; height: 1px;
  background: var(--c-border);
  transition: background 0.4s, width 0.4s;
}
.proces[data-step="0"] .proces__dots .dot:nth-child(1),
.proces[data-step="1"] .proces__dots .dot:nth-child(2),
.proces[data-step="2"] .proces__dots .dot:nth-child(3) {
  background: var(--c-accent); width: 48px;
}
.proces__dots .scroll-cue {
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: 0.22em;
  color: var(--c-gray); text-transform: uppercase;
  margin-left: 18px;
  display: inline-flex; align-items: center; gap: 8px;
}
.proces[data-step="2"] .proces__dots .scroll-cue { color: var(--c-accent); }
.proces__dots .scroll-cue .arr {
  animation: procesCueBob 1.6s ease-in-out infinite;
  display: inline-block;
}
@keyframes procesCueBob { 50% { transform: translateY(3px); } }

/* ════════════════════════════════════════════
   RECENZIJE
════════════════════════════════════════════ */
.recenzije { background: #131313; }

/* Header row: big score left, title right */
.recenzije-header {
  display: flex;
  align-items: center;
  gap: 0;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--c-border);
}
.recenzije-score-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-right: 52px;
  border-right: 1px solid var(--c-border);
  flex-shrink: 0;
}
.recenzije-score-num {
  font-size: 5rem;
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1;
  letter-spacing: -4px;
}
.recenzije-stars-row {
  color: var(--c-accent);
  font-size: 1rem;
  letter-spacing: 4px;
}
.recenzije-header-text {
  flex: 1;
  padding-left: 52px;
}
.recenzije-naslov {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
}
.recenzije-izvor {
  font-size: 0.82rem;
  color: var(--c-gray);
  font-weight: 400;
}

/* Testimonial list — no cards, just text columns */
.recenzije-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.recenzija-item {
  padding: 56px 48px 56px 0;
  border-right: 1px solid var(--c-border);
}
/* col 2 items */
.recenzija-item:nth-child(3n+2) { padding-left: 48px; }
/* col 3 items — no right border */
.recenzija-item:nth-child(3n)   { padding-left: 48px; padding-right: 0; border-right: none; }
/* row 2 items — top border */
.recenzija-item:nth-child(n+4)  { border-top: 1px solid var(--c-border); }
/* item 5 in col 2 of row 2 — remove dangling right border */
.recenzija-item:nth-child(5)    { border-right: none; }
.recenzija-citat {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.78);
  font-style: italic;
  font-weight: 300;
  margin-bottom: 28px;
  quotes: none;
}
.recenzija-meta {
  font-size: 0.78rem;
  font-style: normal;
  color: var(--c-gray);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ── Scrolling testimonial columns ─────────── */
@keyframes scroll-up {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

.recenzije-columns {
  display: flex;
  justify-content: center;
  gap: 16px;
  max-height: 640px;
  overflow: hidden;
  margin-top: 64px;
  /* fade edges */
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 15%,
    black 85%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 15%,
    black 85%,
    transparent 100%
  );
}

.recenzije-col {
  flex: 0 0 300px;
  overflow: hidden;
}

/* Col 2 & 3 hidden on mobile — shown via breakpoints below */
.recenzije-col--2,
.recenzije-col--3 {
  display: none;
}

.recenzije-col-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* Each inner contains 2 identical sets → animate by -50% for seamless loop */
  animation: scroll-up linear infinite;
}

/* Individual column speeds */
.recenzije-col:nth-child(1) .recenzije-col-inner { animation-duration: 20s; }
.recenzije-col:nth-child(2) .recenzije-col-inner { animation-duration: 26s; }
.recenzije-col:nth-child(3) .recenzije-col-inner { animation-duration: 23s; }

/* Pause on hover */
.recenzije-col:hover .recenzije-col-inner { animation-play-state: paused; }

/* ── Testimonial card ───────────────────────── */
.recenzija-card {
  background: var(--c-bg3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.25s ease, transform 0.25s var(--ease-expo);
}

.recenzija-card:hover {
  border-color: rgba(245,162,0,0.3);
  transform: translateY(-2px);
}

.recenzija-card-stars {
  color: var(--c-accent);
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.recenzija-card-text {
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.78);
  font-style: italic;
  font-weight: 300;
  quotes: none;
}

.recenzija-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.recenzija-card-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-accent-bg);
  border: 1px solid var(--c-accent-bdr);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
  text-transform: uppercase;
}

.recenzija-card-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-white);
}

.recenzija-card-source {
  font-size: 0.72rem;
  color: var(--c-gray);
  margin-top: 2px;
}

/* ════════════════════════════════════════════
   KONTAKT
════════════════════════════════════════════ */
.kontakt { background: #1c1c1c; }
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 32px;
  align-items: stretch;
}
.kontakt-card {
  background: var(--c-bg3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  height: 100%;
}
.kontakt-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.kontakt-icon {
  width: 46px; height: 46px;
  background: var(--c-accent-bg);
  border: 1px solid var(--c-accent-bdr);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  flex-shrink: 0;
}
.kontakt-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 4px;
}
.kontakt-label {
  font-size: 0.72rem;
  color: var(--c-gray);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.kontakt-value {
  font-size: 0.975rem;
  color: var(--c-white);
  font-weight: 600;
}
a.kontakt-value:hover { color: var(--c-accent); }
.kontakt-divider {
  height: 1px;
  background: var(--c-border);
  margin: 4px 0;
}
.kontakt-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}
.kontakt-map {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--c-border);
  min-height: 440px;
}
.kontakt-map iframe {
  width: 100%;
  height: 100%;
  min-height: 440px;
  display: block;
  filter: grayscale(20%) brightness(0.9);
}

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.footer {
  background: #0a0a0a;
  position: relative;
}

/* Amber accent line at top */
.footer-accent-bar {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--c-accent) 30%, var(--c-accent) 70%, transparent 100%);
  opacity: 0.7;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: 60px;
  padding: 64px 0 56px;
}

/* ── Brand column ── */
.footer-logo {
  height: 56px;
  width: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 20px rgba(245,162,0,0.5));
}
.footer-tagline {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--c-white);
  font-style: normal;
}
.footer-sub {
  font-size: 0.83rem;
  color: var(--c-gray);
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: 24px;
}
.footer-cta-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-accent);
  color: var(--c-bg);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 50px;
  transition: var(--ease);
  font-family: var(--font);
}
.footer-cta-call:hover {
  background: var(--c-accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

/* ── Column headings ── */
.footer-heading {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 20px;
}

/* ── Navigation ── */
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.48);
  transition: var(--ease);
}
.footer-nav a:hover {
  color: var(--c-white);
  padding-left: 6px;
}

/* ── Contact ── */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.48);
  transition: color 0.25s ease;
  line-height: 1.45;
}
.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--c-accent);
  opacity: 0.85;
}
a.footer-contact-item:hover { color: var(--c-white); }
.footer-whatsapp:hover { color: var(--c-green) !important; }
.footer-whatsapp:hover svg { color: var(--c-green); opacity: 1; }

/* ── Bottom bar ── */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.22);
}

/* ════════════════════════════════════════════
   FLOATING WHATSAPP
════════════════════════════════════════════ */
@keyframes float-in {
  from { opacity: 0; transform: scale(0.7) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.whatsapp-float {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 997;
  width: 58px; height: 58px;
  background: var(--c-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform 0.25s var(--ease-quart), box-shadow 0.25s var(--ease-quart);
  animation: float-in 0.5s var(--ease-expo) 2.2s both;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.6);
}
.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--c-bg3);
  color: var(--c-white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--r-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--ease);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  left: 100%; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--c-bg3);
}

/* ════════════════════════════════════════════
   PAGE HERO  (subpages)
════════════════════════════════════════════ */
/* PAGE HERO — full-width bg image, text centered */
.page-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-bg);
  margin-top: 68px; /* offset for fixed header (10px pad + 48px logo + 10px pad) */
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  pointer-events: none;
  user-select: none;
  opacity: 0.28;
}
.page-hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(17,17,17,0.5) 0%, rgba(17,17,17,0.96) 100%);
  pointer-events: none;
  z-index: 1;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(245,162,0,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.page-hero-deco {
  position: absolute;
  font-size: clamp(80px, 15vw, 210px);
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  letter-spacing: -4px;
  white-space: nowrap;
  line-height: 1;
  user-select: none;
  z-index: 2;
}
.page-hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  text-align: center;
  padding: 88px 0 96px;
}
.page-hero-tag {
  display: inline-block;
  background: var(--c-accent-bg);
  color: var(--c-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 50px;
  border: 1px solid var(--c-accent-bdr);
  margin-bottom: 28px;
}
.page-hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 900;
  line-height: 1.06;
  margin-bottom: 24px;
}
.page-hero-desc {
  font-size: 1.05rem;
  color: var(--c-gray);
  max-width: 580px;
  line-height: 1.82;
  margin: 0 auto;
}
/* Hero mini-stats row */
.page-hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 52px;
  padding-top: 44px;
  border-top: 1px solid var(--c-border);
  flex-wrap: wrap;
  justify-content: center;
}
.page-hero-stat-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: 8px;
}
.page-hero-stat-label {
  font-size: 0.68rem;
  color: var(--c-gray);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}
/* Hero quick contact (kontakt page) */
.page-hero-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 40px auto 0;
  padding-top: 40px;
  border-top: 1px solid var(--c-border);
  width: 100%;
  max-width: 310px; /* all items share same width → icons align vertically */
}
.page-hero-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--c-text);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  transition: color 0.2s;
  text-align: left;
  width: 100%;
}
.page-hero-contact-item svg {
  color: var(--c-accent);
  flex-shrink: 0;
  margin-top: 2px; /* optical alignment with first text line */
}
.page-hero-contact-item:hover { color: var(--c-accent); }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--c-gray);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--c-gray); transition: color var(--ease); }
.breadcrumb a:hover { color: var(--c-accent); }
.breadcrumb-sep { opacity: 0.4; }
.breadcrumb span:last-child { color: rgba(255,255,255,0.5); }

/* ════════════════════════════════════════════
   VALUES GRID  (o-nama.html)
════════════════════════════════════════════ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--c-bg3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.value-card:hover {
  border-color: var(--c-accent-bdr);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--c-accent);
  transition: height 0.4s ease;
  border-radius: 0 0 3px 3px;
}
.value-card:hover::before { height: 100%; }
.value-num {
  font-size: 4rem;
  font-weight: 900;
  color: rgba(245,162,0,0.1);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -2px;
}
.value-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.value-desc {
  font-size: 0.875rem;
  color: var(--c-gray);
  line-height: 1.75;
}

/* ════════════════════════════════════════════
   CTA BANNER  (shared across subpages)
════════════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, var(--c-bg3) 0%, var(--c-bg4) 100%);
  border: 1px solid var(--c-accent-bdr);
  border-radius: var(--r-xl);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 100%, rgba(245,162,0,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 16px;
  position: relative;
}
.cta-banner p {
  font-size: 1rem;
  color: var(--c-gray);
  margin-bottom: 36px;
  position: relative;
}
.cta-banner-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ════════════════════════════════════════════
   IMAGE COMPARE  (o-nama.html)
════════════════════════════════════════════ */
.compare-section { background: var(--c-bg2); }
.img-compare {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: var(--r-xl);
  overflow: hidden;
  cursor: col-resize;
  user-select: none;
  touch-action: none;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-lg);
}
.img-compare img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.img-compare-after  { z-index: 1; }
.img-compare-before { z-index: 2; clip-path: inset(0 50% 0 0); }
.img-compare-divider {
  position: absolute;
  top: 0; left: 50%;
  width: 4px;
  height: 100%;
  background: var(--c-accent);
  z-index: 3;
  transform: translateX(-50%);
  cursor: col-resize;
}
.img-compare-knob {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  background: var(--c-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-bg);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  flex-shrink: 0;
}
.img-compare-label {
  position: absolute;
  bottom: 24px;
  background: rgba(0,0,0,0.72);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 50px;
  z-index: 4;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
}
.img-compare-label-left  { left: 24px; }
.img-compare-label-right { right: 24px; }

/* ════════════════════════════════════════════
   USLUGE DETAIL PAGE
════════════════════════════════════════════ */
.usluga-section { padding: 104px 0; }
.usluge-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.usluge-detail-grid--reverse { direction: rtl; }
.usluge-detail-grid--reverse > * { direction: ltr; }
.usluga-num {
  font-size: 5rem;
  font-weight: 900;
  color: rgba(245,162,0,0.1);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -3px;
}
.usluga-img {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.usluga-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.usluga-img:hover img { transform: scale(1.04); }
.usluga-price-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--c-accent);
  color: var(--c-bg);
  border-radius: var(--r-md);
  padding: 16px 22px;
  text-align: center;
  line-height: 1.1;
  box-shadow: 0 8px 24px rgba(245,162,0,0.4);
}
.price-from { display: block; font-size: 0.68rem; font-weight: 600; opacity: 0.75; margin-bottom: 2px; }
.price-val  { display: block; font-size: 2rem; font-weight: 900; }
.price-unit { display: block; font-size: 0.75rem; font-weight: 600; opacity: 0.85; }
.usluga-desc {
  font-size: 0.93rem;
  color: var(--c-gray-lt);
  line-height: 1.82;
  margin-bottom: 18px;
}
.usluga-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 32px;
}
.usluga-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--c-gray-lt);
}
.usluga-price-info {
  background: var(--c-bg3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 22px 24px;
  margin-bottom: 32px;
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--c-border);
  font-size: 0.875rem;
}
.price-row:last-of-type { border-bottom: none; }
.price-row span { color: var(--c-gray); }
.price-row strong { color: var(--c-accent); font-weight: 700; }
.price-note {
  font-size: 0.75rem;
  color: var(--c-gray);
  margin-top: 12px;
  font-style: italic;
  line-height: 1.6;
}

/* ════════════════════════════════════════════
   FAQ  (usluge.html)
════════════════════════════════════════════ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
}
.faq-item {
  background: var(--c-bg3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 28px 30px;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.faq-item:hover {
  border-color: var(--c-accent-bdr);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.faq-q {
  font-size: 0.93rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--c-white);
  position: relative;
  padding-left: 16px;
}
.faq-q::before {
  content: '';
  position: absolute;
  left: 0; top: 4px;
  width: 4px; height: 14px;
  background: var(--c-accent);
  border-radius: 2px;
}
.faq-a {
  font-size: 0.875rem;
  color: var(--c-gray);
  line-height: 1.75;
  padding-left: 16px;
}

/* ════════════════════════════════════════════
   GALLERY FULL PAGE  (galerija.html)
════════════════════════════════════════════ */
.gallery-page-section { padding: 80px 0 104px; }
.gallery-page-grid {
  columns: 4;
  column-gap: 14px;
  margin-top: 48px;
}
.gallery-page-grid .gallery-item {
  margin-bottom: 14px;
  break-inside: avoid;
  border-radius: var(--r-md);
  overflow: hidden;
}
.gallery-page-grid .gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-md);
  transition: transform 0.45s ease;
}
.gallery-page-grid .gallery-item:hover img { transform: scale(1.04); }

/* ════════════════════════════════════════════
   KONTAKT FULL PAGE  (kontakt.html)
════════════════════════════════════════════ */
.kontakt-section { padding: 96px 0; }
.kontakt-full-grid {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 32px;
  align-items: flex-start;
}
/* Override kontakt-card for the subpage variant (individual info cards) */
.kontakt-section .kontakt-card {
  background: var(--c-bg3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  height: auto;
  transition: border-color var(--ease), transform var(--ease);
}
.kontakt-section .kontakt-card:hover {
  border-color: var(--c-accent-bdr);
  transform: translateY(-2px);
}
.kontakt-card-icon {
  width: 52px; height: 52px;
  background: var(--c-accent-bg);
  border: 1px solid var(--c-accent-bdr);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  flex-shrink: 0;
}
.kontakt-card-icon--green {
  background: rgba(37,211,102,0.08);
  border-color: rgba(37,211,102,0.25);
  color: var(--c-green);
}
.kontakt-card-icon--amber {
  background: var(--c-accent-bg);
  border-color: var(--c-accent-bdr);
  color: var(--c-accent);
}
.kontakt-card-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.kontakt-card-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--c-gray);
}
.kontakt-card-value {
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--c-white);
}
a.kontakt-card-value:hover { color: var(--c-accent); }
.kontakt-card-note {
  font-size: 0.78rem;
  color: var(--c-gray);
  margin-top: 2px;
}
.kontakt-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.kontakt-quick-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.map-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-md);
}
.map-wrap iframe {
  display: block;
  filter: grayscale(20%) brightness(0.9);
}
.map-directions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-gray);
  transition: color var(--ease);
}
.map-directions:hover { color: var(--c-accent); }

/* ── Podrucje grid ── */
.podrucje-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}
.podrucje-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--c-bg3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-gray-lt);
  transition: border-color var(--ease), color var(--ease);
}
.podrucje-item:hover {
  border-color: var(--c-accent-bdr);
  color: var(--c-white);
}
.podrucje-item svg { color: var(--c-accent); flex-shrink: 0; }

/* ── Scrolling columns — show col 2 on tablet, col 3 on desktop ── */
@media (min-width: 769px) {
  .recenzije-col--2 { display: block; }
  .recenzije-columns { gap: 20px; }
}
@media (min-width: 1025px) {
  .recenzije-col--3 { display: block; }
  .recenzije-col { flex: 0 0 320px; }
}

/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .o-nama-grid { gap: 52px; }
  .gallery-grid { columns: 3; }
}

@media (max-width: 900px) {
  .usp-grid { grid-template-columns: repeat(2, 1fr); height: auto; }
  .usp-item { height: 300px; }
  .recenzije-header { flex-direction: column; align-items: flex-start; gap: 32px; }
  .recenzije-score-block { flex-direction: row; border-right: none; padding-right: 0; gap: 16px; align-items: baseline; }
  .recenzije-score-num { font-size: 3rem; letter-spacing: -2px; }
  .recenzije-header-text { padding-left: 0; }
  .recenzije-list { grid-template-columns: 1fr 1fr; }
  .recenzija-item { padding: 36px 28px 36px 0; border-right: 1px solid var(--c-border); }
  /* col 2 in 2-col grid */
  .recenzija-item:nth-child(2n) { padding: 36px 0 36px 28px; border-right: none; }
  /* row 2+ items: top border */
  .recenzija-item:nth-child(n+3) { border-top: 1px solid var(--c-border); }
  /* item 5: spans full width (alone in row 3) */
  .recenzija-item:nth-child(5) { grid-column: 1 / -1; padding: 36px 0; border-right: none; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .kontakt-map { min-height: 320px; }
  .kontakt-map iframe { min-height: 320px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; border-bottom: 1px solid rgba(255,255,255,0.06); padding-bottom: 32px; }
}

@media (max-width: 760px) {
  .proces { height: 320vh; }

  /* Edge-to-edge, no side margins, no border — fills entire viewport width */
  .proces__stage {
    inset: 64px 0 0 0;
    border: none;
  }

  /* Eyebrow + counter — just below the fixed header */
  .proces__chrome-top {
    inset: 72px 16px auto 16px;
  }

  /* Caption: full width, sitting at the bottom of the image */
  .proces__copy {
    left: 16px;
    right: 16px;
    bottom: 24px;
    height: 210px;
  }
  .proces__copy .step p {
    color: rgba(255,255,255,0.78);
  }

  /* Progress dots hidden on mobile — no room */
  .proces__dots { display: none; }

  /* Callout chips + stamp — smaller */
  .proces__layer.s3 .callout { font-size: 9px; padding: 4px 8px; }
  .proces__layer.s3 .c1 { left: 8%; top: 22%; }
  .proces__layer.s3 .c2 { left: 8%; bottom: 32%; }
  .proces__layer.s3 .c3 { right: 8%; top: 22%; }
  .proces__layer.s3 .stamp { font-size: clamp(20px, 6vw, 32px); right: 16px; top: 42%; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  /* Nav mobile — full-screen overlay */
  .nav-toggle {
    display: flex;
    width: 48px;
    height: 48px;
    z-index: 1002;
  }
  .nav-toggle span { width: 22px; height: 2px; }
  .nav-menu {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    background: rgba(13,13,13,0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 0;
    z-index: 1001;
    border: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    /* override desktop right: auto */
    right: 0;
  }
  .nav-menu.open {
    opacity: 1;
    pointer-events: all;
  }
  .nav-link {
    font-size: 2rem;
    font-weight: 700;
    padding: 20px 40px;
    width: 100%;
    text-align: center;
    color: rgba(255,255,255,0.85);
    letter-spacing: -0.3px;
    border: none;
  }
  .nav-link:hover,
  .nav-link.active { color: var(--c-accent); }
  .nav-cta {
    margin: 40px 0 0;
    width: auto;
    padding: 14px 40px;
    font-size: 1rem;
    justify-content: center;
  }

  /* Always solid header on mobile — no transparent effect */
  .header {
    background: rgba(17,17,17,0.98) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--c-border);
    padding: 12px 0 !important;
  }

  /* Hero accordion — mobile stack: title → slider → buttons */
  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "content"
      "acc"
      "actions";
    gap: 0;
    padding-top: 160px; /* 72px header + 88px clearance */
    padding-bottom: 24px;
  }

  /* Hero: start from top so padding-top is reliable (no flex centering offset) */
  .hero { align-items: flex-start; }
  .hero-content { grid-area: content; text-align: center; margin-bottom: 36px; }
  .hero-content .hero-badge { display: inline-flex; }
  .hero-content .hero-sub { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-title { margin-bottom: 16px; }
  .hero-acc     { grid-area: acc; height: 260px; gap: 7px; margin-bottom: 36px; }
  .hero-actions {
    grid-area: actions;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-bottom: 56px;
  }
  .hero-actions .btn {
    width: 88%;
    justify-content: center;
    padding: 11px 24px;
    font-size: 0.84rem;
  }
  .acc-panel { flex: 0 0 44px; border-radius: 12px; }
  .acc-panel:not(.active) .acc-label { font-size: 0.78rem; bottom: 72px; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--c-border); }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { border-top: 1px solid var(--c-border); }

  /* O nama */
  .o-nama-grid { grid-template-columns: 1fr; gap: 48px; }
  .img-stack { padding-bottom: 70px; padding-right: 70px; }

  /* Usluge — single column, no 3D on mobile */
  .usluge-section { padding: 72px 0 0; }
  .usp-scene { padding: 0 16px 80px; perspective: none; }
  .usp-panel {
    transform: none !important;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  }
  .usp-grid {
    grid-template-columns: 1fr;
    height: auto;
  }
  .usp-item {
    height: 200px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .usp-item:last-child { border-bottom: none; }
  .usp-body { padding: 20px; gap: 6px; }
  .usp-title { font-size: 1.15rem; }
  /* Always visible on mobile — no hover required */
  .usp-list { max-height: 100px; opacity: 1; transform: none; transition: none; }
  .usp-cta { opacity: 1; transform: none; transition: none; }

  /* Gallery */
  .gallery-grid { columns: 2; }

  /* Recenzije — reset all desktop nth-child padding/border overrides */
  .recenzije-list { grid-template-columns: 1fr; }
  .recenzija-item,
  .recenzija-item:nth-child(3n+2),
  .recenzija-item:nth-child(3n),
  .recenzija-item:nth-child(2n),
  .recenzija-item:nth-child(5) {
    padding: 36px 0;
    border-right: none;
    border-top: 1px solid var(--c-border);
    grid-column: auto;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
    padding: 44px 0 36px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 28px;
    margin-bottom: 4px;
  }
  .footer-logo { height: 40px; }
  .footer-tagline { font-size: 0.95rem; }
  .footer-sub { max-width: 100%; font-size: 0.8rem; }
  .footer-bottom-inner { flex-direction: column; gap: 6px; text-align: center; align-items: center; }

  /* Cookie */
  .cookie-content { flex-direction: column; gap: 14px; }
  .cookie-banner { bottom: 16px; }

  /* WhatsApp float */
  .whatsapp-float { bottom: 24px; right: 20px; }
}

@media (max-width: 900px) {
  /* Subpage new components */
  .usluge-detail-grid,
  .usluge-detail-grid--reverse { grid-template-columns: 1fr; direction: ltr; gap: 40px; }
  .usluga-img img { height: 300px; }
  .kontakt-full-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .gallery-page-grid { columns: 3; }
  .podrucje-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Page hero */
  .page-hero { min-height: 420px; align-items: flex-start; }
  .page-hero-content { padding: 56px 0 56px; }
  .page-hero-stat-num { font-size: 2rem; }
  .page-hero-stats { gap: 24px; margin-top: 36px; padding-top: 32px; }
  .page-hero-desc { font-size: 0.92rem; }
  /* CTA banner */
  .cta-banner { padding: 48px 28px; }
  /* Image compare */
  .img-compare { height: 300px; cursor: pointer; }
  /* Subpage grids */
  .values-grid { grid-template-columns: 1fr; gap: 16px; }
  .gallery-page-grid { columns: 2; column-gap: 10px; }
  .gallery-page-grid .gallery-item { margin-bottom: 10px; }
  /* Kontakt subpage */
  .kontakt-section .kontakt-card { padding: 18px 20px; }
  /* Podrucje */
  .podrucje-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ════════════════════════════════════════════
   REDUCED MOTION
════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .animate-fade,
  .animate-left,
  .animate-right {
    opacity: 1;
    transform: none;
  }
  .whatsapp-float {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .recenzije-col-inner {
    animation: none !important;
  }
  .proces__layer.s2 .motion,
  .proces__layer.s2 .live::before,
  .proces__dots .scroll-cue .arr {
    animation: none !important;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  /* Guarantee hero badge always below fixed header on very small screens */
  .hero-inner { padding-top: 160px; }
  .gallery-grid { columns: 2; column-gap: 10px; }
  .gallery-item { margin-bottom: 10px; }
  .kontakt-card { padding: 28px 22px; }
  .usp-body { padding: 20px 18px; }
  .recenzija-card { padding: 22px 18px; }
  .recenzije-col { flex: 0 0 calc(100vw - 36px); }
  .recenzije-columns { max-height: 540px; }
  .footer-inner { gap: 24px; }
  .gallery-page-grid { columns: 1; }
  .podrucje-grid { grid-template-columns: 1fr 1fr; }
  .faq-item { padding: 22px 22px; }
}
