/* ==========================================================================
   L&T PODOVI - ECHOFI DARK MINIMALIST GLASSMORPHIC THEME
   Sa naprednim spotlight i 3D tilt efektima, proširenom galerijom i lightboxom
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  /* Svetla minimalistička paleta (White / Light Theme) */
  --cl-bg: #ffffff;
  --cl-bg-subtle: #f8fafc;
  --cl-bg-surface: #ffffff;
  --cl-bg-surface-hover: #ffffff;
  --cl-bg-glass: rgba(0, 0, 0, 0.03);
  --cl-bg-glass-active: rgba(0, 0, 0, 0.06);

  /* Tekstualna hijerarhija visokog kontrasta za svetlu temu */
  --cl-white: #0f172a;          /* Naslovi i jaki tekstualni elementi postaju duboko tamni */
  --cl-txt-main: #1e293b;       /* Glavni tekst */
  --cl-txt-sub: #475569;        /* Sekundarni tekst */
  --cl-txt-muted: #64748b;      /* Prigušeni tekst */
  --cl-txt-subtle: #94a3b8;     /* Diskretni detalji */

  /* Glavni akcent - topli ćilibar / narandžasta */
  --cl-primary: #ff7e40;
  --cl-primary-darker: #e06020;
  --cl-primary-glow: rgba(255, 126, 64, 0.3);
  --cl-primary-subtle: rgba(255, 126, 64, 0.1);
  --cl-secondary-green: #16a34a;

  /* Suptilne ivice za svetlu temu */
  --cl-bd-main: rgba(0, 0, 0, 0.08);
  --cl-bd-subtle: rgba(0, 0, 0, 0.05);
  --cl-bd-highlight: rgba(0, 0, 0, 0.14);
  --cl-bd-primary: rgba(255, 126, 64, 0.45);

  /* Tipografija */
  --font-main: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Radijusi zaobljenja */
  --radius-xs: 6px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 9999px;

  /* Senke i staklasti blur */
  --blur-card: 20px;
  --blur-nav: 16px;
  --shadow-glass: 0 10px 30px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.03);
  --shadow-glass-hover: 0 20px 45px rgba(0, 0, 0, 0.1), 0 0 25px rgba(255, 126, 64, 0.12);
  --shadow-btn-primary: 0 8px 25px rgba(255, 126, 64, 0.35);

  /* Tranzicije */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* Raspored */
  --container-max: 1240px;
  --container-pad: 24px;
  --header-height: 80px;
}

/* --------------------------------------------------------------------------
   Osnovni reset i tipografija
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  background-color: var(--cl-bg);
  color: var(--cl-txt-main);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Ambijentalni radijalni sjajevi u pozadini */
.bg-ambient-glow {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(120px);
  -webkit-filter: blur(120px);
  opacity: 0.8;
}

.glow-top {
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 126, 64, 0.1) 0%, rgba(224, 96, 32, 0.03) 50%, transparent 70%);
}

.glow-mid-right {
  top: 40%;
  right: -250px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(37, 162, 107, 0.08) 0%, transparent 65%);
}

.glow-bottom-left {
  bottom: 5%;
  left: -200px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 126, 64, 0.08) 0%, transparent 70%);
}

.bg-grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  position: relative;
  z-index: 2;
}

.section {
  padding: 90px 0;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 64px auto;
}

/* Echofi stilizovani Bedž (Pill tag) */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background-color: var(--cl-bg-glass);
  border: 1px solid var(--cl-bd-main);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--cl-primary);
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.pill-dot {
  width: 7px;
  height: 7px;
  background-color: var(--cl-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cl-primary);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.section-title {
  font-family: var(--font-main);
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--cl-white);
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}

.section-desc {
  font-size: 18px;
  color: var(--cl-txt-sub);
  line-height: 1.6;
  max-width: 660px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Dugmad u stilu Echofi
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cl-primary) 0%, var(--cl-primary-darker) 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(255, 126, 64, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 28px rgba(255, 126, 64, 0.5), 0 4px 16px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.btn-glass {
  background-color: #ffffff;
  color: var(--cl-txt-main);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-glass:hover {
  background-color: #ffffff;
  border-color: var(--cl-primary);
  color: var(--cl-primary);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 20px rgba(255, 126, 64, 0.2), 0 4px 16px rgba(0, 0, 0, 0.08);
}

.btn-call {
  background: linear-gradient(135deg, var(--cl-primary) 0%, var(--cl-primary-darker) 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(255, 126, 64, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-call:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 28px rgba(255, 126, 64, 0.55);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Zaglavlje i navigacija (Sticky Dark Glass Navbar)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(var(--blur-nav));
  -webkit-backdrop-filter: blur(var(--blur-nav));
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 1000;
  transition: all var(--transition-fast);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  border-bottom-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-family: var(--font-main);
  font-size: 22px;
  font-weight: 800;
  color: var(--cl-white);
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-logo-img {
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.logo:hover .site-logo-img {
  transform: scale(1.04);
  filter: drop-shadow(0 0 12px rgba(255, 126, 64, 0.45));
}

.logo-symbol {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 126, 64, 0.2) 0%, rgba(224, 96, 32, 0.1) 100%);
  border: 1px solid rgba(255, 126, 64, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cl-primary);
  box-shadow: 0 0 14px rgba(255, 126, 64, 0.2);
}

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

.nav-desktop a {
  font-size: 14px;
  font-weight: 500;
  color: var(--cl-txt-sub);
  position: relative;
  padding: 6px 0;
  letter-spacing: -0.01em;
}

.nav-desktop a:hover {
  color: var(--cl-primary);
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--cl-primary);
  transition: width var(--transition-fast);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--cl-primary);
}

.nav-desktop a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cl-txt-main);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background-color: var(--cl-bg-glass);
  border: 1px solid var(--cl-bd-main);
  transition: all var(--transition-fast);
}

.header-phone-link:hover {
  background-color: var(--cl-bg-glass-active);
  border-color: var(--cl-primary);
  color: var(--cl-primary);
  transform: translateY(-1px);
}

.header-phone-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.menu-toggle {
  display: none;
  background: var(--cl-bg-glass);
  border: 1px solid var(--cl-bd-main);
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #0f172a;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  padding: 24px var(--container-pad) 32px var(--container-pad);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateY(-120%);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
  z-index: 999;
}

.mobile-nav-drawer.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer a {
  font-size: 17px;
  font-weight: 500;
  color: var(--cl-txt-main);
  padding: 10px 0;
  border-bottom: 1px solid var(--cl-bd-subtle);
}

.mobile-nav-drawer a:hover {
  color: var(--cl-primary);
}

.mobile-nav-drawer .mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

/* --------------------------------------------------------------------------
   Hero sekcija (Full-Impact Background Banner prema referenci)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #0b111e;
  padding-top: var(--header-height);
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: contrast(1.04) brightness(0.98);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 16, 26, 0.84) 0%,
    rgba(10, 16, 26, 0.72) 36%,
    rgba(10, 16, 26, 0.42) 64%,
    rgba(10, 16, 26, 0.12) 100%
  ),
  linear-gradient(
    180deg,
    rgba(10, 16, 26, 0.35) 0%,
    rgba(10, 16, 26, 0) 40%,
    rgba(10, 16, 26, 0.45) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 50px;
  padding-bottom: 70px;
}

.hero-content {
  max-width: 780px;
  margin: 0;
  text-align: left;
}

.hero-title {
  font-family: 'Montserrat', var(--font-main), sans-serif;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.14;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.hero-title-highlight {
  background: linear-gradient(90deg, #ffffff 0%, #ffcba4 35%, #ff995e 70%, #ff7e40 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

.br-mobile {
  display: none;
}

.br-desktop {
  display: inline;
}

.hero-subtitle {
  font-family: var(--font-main);
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 580px;
  margin: 0 0 34px 0;
  line-height: 1.55;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.hero-subtitle strong {
  font-weight: 700;
  color: #ffffff;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.hero-actions .btn-primary {
  background: #ff7e40;
  color: #ffffff;
  border: 1px solid #ff7e40;
  border-radius: var(--radius-full);
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(255, 126, 64, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.hero-actions .btn-primary:hover {
  background: var(--cl-primary-darker);
  border-color: var(--cl-primary-darker);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255, 126, 64, 0.5);
  color: #ffffff;
}

.btn-arrow-down {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.hero-actions .btn-primary:hover .btn-arrow-down {
  transform: translateY(3px);
}

.hero-actions .btn-glass {
  background: rgba(15, 23, 42, 0.42);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  display: inline-flex;
  align-items: center;
  transition: all var(--transition-fast);
}

.hero-actions .btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   SEKCIJA STATISTIKE (Animirani brojači)
   -------------------------------------------------------------------------- */
.metrics-section {
  padding: 40px 0;
  position: relative;
  z-index: 2;
}

.metrics-container {
  background-color: var(--cl-bg-surface);
  border: 1px solid var(--cl-bd-main);
  backdrop-filter: blur(var(--blur-card));
  -webkit-backdrop-filter: blur(var(--blur-card));
  border-radius: var(--radius-md);
  padding: 38px 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  box-shadow: var(--shadow-glass);
}

.metric-item {
  position: relative;
  text-align: center;
  padding: 0 16px;
}

.metric-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15%;
  right: 0;
  height: 70%;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, var(--cl-bd-main) 30%, var(--cl-bd-main) 70%, transparent 100%);
}

.metric-value {
  font-family: var(--font-main);
  font-size: 40px;
  font-weight: 800;
  color: var(--cl-white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  white-space: nowrap;
}

.metric-icon {
  width: 30px;
  height: 30px;
  color: var(--cl-primary);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  animation: metricIconFloat 3.6s ease-in-out infinite;
}

.metric-item:nth-child(1) .metric-icon { animation-delay: 0s; }
.metric-item:nth-child(2) .metric-icon { animation-delay: 0.5s; }
.metric-item:nth-child(3) .metric-icon { animation-delay: 1.0s; }
.metric-item:nth-child(4) .metric-icon { animation-delay: 1.5s; }

@keyframes metricIconFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.metric-item:hover .metric-icon {
  transform: translateY(-5px) scale(1.15) rotate(-4deg);
  filter: drop-shadow(0 4px 10px rgba(255, 126, 64, 0.5));
}

.metric-value .counter {
  display: inline-block;
}

.metric-suffix {
  color: var(--cl-primary);
  font-weight: 800;
}

.metric-label {
  font-size: 14px;
  color: var(--cl-txt-muted);
  font-weight: 500;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   INTERAKTIVNI SPOTLIGHT I 3D TILT EFEKTI NA KARTICAMA
   -------------------------------------------------------------------------- */
.spotlight-card {
  position: relative;
  overflow: hidden;
  --mouse-x: 50%;
  --mouse-y: 50%;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Svetlosni radijalni reflektor koji prati kursor */
.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mouse-x) var(--mouse-y), rgba(255, 126, 64, 0.16), transparent 80%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 3;
}

.spotlight-card:hover::before {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Sekcija Usluge (Spotlight kartice)
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  height: 420px;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background-color: #0c0f17;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  display: block;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--cl-bd-primary);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.14), 0 0 25px rgba(255, 126, 64, 0.22);
}

.service-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.06) saturate(1.1) brightness(1.0);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.service-card:hover .service-card-img {
  transform: scale(1.05);
  filter: contrast(1.08) saturate(1.15) brightness(1.02);
}

video.service-card-img {
  background-color: #0c0f17;
  pointer-events: none;
}

/* Automatski Slideshow u karticama usluga (npr. Parket) */
.card-slideshow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.card-slideshow .slide {
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
  will-change: opacity, transform;
  pointer-events: none;
}

.card-slideshow .slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.service-card:hover .card-slideshow .slide.active {
  transform: scale(1.06);
  filter: contrast(1.08) saturate(1.15) brightness(1.02);
}

.card-slide-indicators {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  max-width: 55%;
  display: flex;
  gap: 4px;
  z-index: 3;
  pointer-events: auto;
}

.slide-indicator {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 99px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.slide-indicator:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scaleY(1.3);
}

.slide-indicator.active {
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Navigacione strelice na samim karticama usluga (Listanje bez ulaska u galeriju) */
.card-slide-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%) scale(0.9);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.card-slide-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  pointer-events: none;
  transition: transform 0.2s ease;
}

.card-slide-prev {
  left: 14px;
}

.card-slide-next {
  right: 14px;
}

.service-card:hover .card-slide-btn {
  opacity: 1;
  transform: translateY(-50%) scale(1);
  pointer-events: auto;
}

.card-slide-btn:hover {
  background: var(--cl-primary);
  border-color: var(--cl-primary);
  transform: translateY(-50%) scale(1.14);
  box-shadow: 0 0 22px var(--cl-primary-glow);
}

.card-slide-prev:hover svg {
  transform: translateX(-2px);
}

.card-slide-next:hover svg {
  transform: translateX(2px);
}

@media (hover: none), (max-width: 820px) {
  .card-slide-btn {
    opacity: 0.95;
    pointer-events: auto;
    width: 38px;
    height: 38px;
    transform: translateY(-50%) scale(1);
  }
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 42%,
    rgba(8, 12, 20, 0.12) 65%,
    rgba(8, 12, 20, 0.45) 84%,
    rgba(8, 12, 20, 0.68) 100%
  );
  z-index: 1;
  pointer-events: none;
  transition: background 0.35s ease;
}

.service-card:hover .service-card-overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 38%,
    rgba(8, 12, 20, 0.18) 60%,
    rgba(8, 12, 20, 0.52) 82%,
    rgba(8, 12, 20, 0.76) 100%
  );
}

.service-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px 20px 18px;
  z-index: 2;
  transform: translateZ(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
}

.service-card-title {
  font-family: 'Montserrat', var(--font-main), sans-serif;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 5px;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  line-height: 1.2;
}

.service-card-desc {
  font-family: 'Montserrat', var(--font-main), sans-serif;
  font-size: 13.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.42;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  margin: 0;
  max-width: 96%;
}

.card-gallery-hint {
  display: none !important;
}

.service-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 126, 64, 0.9);
  border: 1px solid rgba(255, 126, 64, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 5;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease, background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.service-card:hover .service-card-badge,
.service-card:focus-within .service-card-badge {
  opacity: 1;
  transform: translateY(0);
}

.service-card-badge:hover {
  background: var(--cl-primary-darker);
  border-color: var(--cl-primary-darker);
  color: #ffffff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 20px var(--cl-primary-glow);
}

@media (hover: none) {
  .service-card-badge {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   Sekcija Zašto izabrati nas (Spotlight & Tilt)
   -------------------------------------------------------------------------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  background-color: var(--cl-bg-surface);
  backdrop-filter: blur(var(--blur-card));
  -webkit-backdrop-filter: blur(var(--blur-card));
  padding: 44px 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--cl-bd-main);
  box-shadow: var(--shadow-glass);
  display: flex;
  flex-direction: column;
}

.benefit-card:hover {
  border-color: var(--cl-bd-highlight);
  box-shadow: var(--shadow-glass-hover);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(255, 126, 64, 0.1);
  border: 1px solid rgba(255, 126, 64, 0.25);
  color: var(--cl-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(255, 126, 64, 0.15);
  transform: translateZ(25px);
}

.benefit-icon svg {
  width: 26px;
  height: 26px;
}

.benefit-title {
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 700;
  color: var(--cl-white);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  transform: translateZ(20px);
}

.benefit-desc {
  font-size: 15px;
  color: var(--cl-txt-sub);
  line-height: 1.6;
  transform: translateZ(15px);
}

/* --------------------------------------------------------------------------
   INTERAKTIVNI PRE I POSLE SLIDER (Više tabova)
   -------------------------------------------------------------------------- */
.comparison-section {
  position: relative;
}

.slider-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.slider-tab-btn {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--cl-txt-sub);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-tab-btn:hover {
  border-color: var(--cl-primary);
  color: var(--cl-primary);
  transform: translateY(-1px);
}

.slider-tab-btn:active {
  transform: scale(0.96);
}

.slider-tab-btn.active {
  background: linear-gradient(135deg, var(--cl-primary) 0%, var(--cl-primary-darker) 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(255, 126, 64, 0.35);
  transform: translateY(-2px);
}

.comparison-wrapper {
  max-width: 980px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1), 0 0 35px rgba(255, 126, 64, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background-color: #0f172a;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  transition: max-width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.comparison-wrapper.ratio-portrait {
  max-width: 500px;
}

.comparison-wrapper.ratio-landscape {
  max-width: 980px;
}

.comparison-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  cursor: ew-resize;
  --slider-pos: 50%;
  transition: aspect-ratio 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Na mobilnim uređajima i ekranima na dodir: slike i kontejner dozvoljavaju vertikalni skrol strane (pan-y),
   a samo ručica i dugme zaključavaju skrol (touch-action: none) radi horizontalnog pomeranja */
@media (max-width: 991px), (hover: none) and (pointer: coarse) {
  .comparison-wrapper,
  .comparison-container,
  .comparison-image,
  .comparison-image * {
    touch-action: pan-y;
  }

  .comparison-handle,
  .comparison-handle * {
    touch-action: none;
    -webkit-touch-callout: none;
  }
}

.comparison-container.ratio-portrait {
  aspect-ratio: 3 / 4;
}

.comparison-container.ratio-landscape {
  aspect-ratio: 16 / 10;
}

.comparison-image,
.comparison-image-before .inner-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  image-rendering: -webkit-optimize-contrast;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
  will-change: transform, opacity;
}

.comparison-image-after {
  z-index: 1;
}

.comparison-image-before {
  z-index: 2;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--slider-pos, 50%)) 0 0);
  -webkit-clip-path: inset(0 calc(100% - var(--slider-pos, 50%)) 0 0);
}

/* ==========================================================================
   ČISTA I POUZDANA ANIMACIJA PROMENE PROJEKATA U PRE I POSLE SLAJDERU
   (Garantovano se pokreće na svaki klik, inspirisana sekcijom Materijali i montaža)
   ========================================================================== */
@keyframes sliderProjectFadeScale {
  0% {
    opacity: 0.25;
    transform: scale(1.04);
    filter: blur(3px) brightness(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0px) brightness(1);
  }
}

@keyframes sliderHandleCenterPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.9);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes sliderBadgeSettle {
  0% {
    opacity: 0.3;
    transform: translateY(-5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.comparison-image-after.animate-project-switch,
.comparison-image-before.animate-project-switch .inner-img {
  animation: sliderProjectFadeScale 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  will-change: transform, opacity, filter;
}

.comparison-handle-circle.animate-project-switch {
  animation: sliderHandleCenterPulse 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.comparison-badge.animate-project-switch {
  animation: sliderBadgeSettle 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.comparison-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--slider-pos, 50%);
  width: 2px;
  background-color: #ffffff;
  z-index: 10;
  transform: translateX(-50%);
  pointer-events: auto;
  cursor: ew-resize;
  touch-action: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4), 0 0 10px var(--cl-primary);
}

/* Proširena nevidljiva zona dodira duž cele linije slajdera za lakše hvatanje na telefonu */
.comparison-handle::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -20px;
  right: -20px;
  pointer-events: auto;
  touch-action: none;
}

.comparison-handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: #ffffff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 20px rgba(255, 126, 64, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cl-primary);
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
}

/* Proširena zona dodira oko okruglog dugmeta za lagodan dodir prstom */
.comparison-handle-circle::after {
  content: '';
  position: absolute;
  top: -12px;
  bottom: -12px;
  left: -12px;
  right: -12px;
  border-radius: 50%;
  pointer-events: auto;
  touch-action: none;
}

.comparison-handle-circle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.comparison-badge {
  position: absolute;
  top: 24px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  z-index: 5;
  pointer-events: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.badge-before {
  left: 24px;
  background-color: rgba(15, 23, 42, 0.82);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-after {
  right: 24px;
  background-color: rgba(22, 163, 74, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 20px rgba(22, 163, 74, 0.35);
}

.comparison-instructions {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--cl-txt-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* --------------------------------------------------------------------------
   PROŠIRENA GALERIJA RADOVA (Filteri + Kartice sa Lightbox podrškom)
   -------------------------------------------------------------------------- */
.gallery-filter-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
  width: 100%;
}

.gallery-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 9999px;
  background: #ffffff;
  color: #475569;
  border: 1.5px solid #e2e8f0;
  font-family: var(--font-main);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.gallery-filter-btn:hover {
  color: var(--cl-primary);
  border-color: rgba(255, 126, 64, 0.45);
  background: rgba(255, 126, 64, 0.04);
  transform: translateY(-1px);
}

.gallery-filter-btn.active {
  background: var(--cl-primary);
  color: #ffffff;
  border-color: var(--cl-primary);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(255, 126, 64, 0.35);
  transform: translateY(-1px);
}

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

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  background-color: #0f172a;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.35s ease;
  animation: galleryCardAppear 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.gallery-item.hidden {
  display: none !important;
}

@keyframes galleryCardAppear {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: var(--cl-bd-primary);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14), 0 0 25px rgba(255, 126, 64, 0.15);
}

.gallery-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 18px;
}

.gallery-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.02) saturate(1.04) brightness(0.97);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.gallery-item:hover .gallery-card-img {
  transform: scale(1.06);
  filter: contrast(1.05) saturate(1.08) brightness(1.02);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.45) 60%, rgba(0, 0, 0, 0.88) 100%);
  transition: opacity 0.35s ease;
  z-index: 1;
}

.gallery-item:hover .gallery-card-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0.52) 58%, rgba(0, 0, 0, 0.92) 100%);
}

.gallery-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  z-index: 2;
  pointer-events: none;
}

.gallery-card-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.gallery-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 7px;
}

.gallery-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin: 0 0 5px 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  white-space: normal;
  letter-spacing: -0.01em;
}

.gallery-card-location {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.gallery-card-location svg {
  color: var(--cl-primary);
  flex-shrink: 0;
}

.gallery-card-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-card-arrow {
  background: var(--cl-primary);
  border-color: var(--cl-primary);
  color: #ffffff;
  transform: translateX(2px) scale(1.08);
  box-shadow: 0 4px 14px rgba(255, 126, 64, 0.4);
}

/* --------------------------------------------------------------------------
   LIGHTBOX MODAL PREGLED (Ultra-čisti Staklasti Pop-up sa Zamućenom Pozadinom Sajta)
   -------------------------------------------------------------------------- */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  overflow: hidden;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

/* Polu-transparentni zamućeni sloj (Sajt ostaje vidljiv u pozadini kroz meki blur) */
.lightbox-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(10, 16, 28, 0.58);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  cursor: pointer;
  z-index: 2001;
}

/* Gornji plutajući bedž sa brojačem */
.lightbox-counter-badge {
  position: fixed;
  top: 24px;
  left: 28px;
  z-index: 2020;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 99px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

/* Gornje plutajuće dugme za zatvaranje */
.lightbox-close-btn {
  position: fixed;
  top: 22px;
  right: 28px;
  z-index: 2020;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.lightbox-close-btn:hover {
  background: rgba(239, 68, 68, 0.9);
  border-color: #ef4444;
  transform: rotate(90deg) scale(1.08);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.45);
}

/* Centralna scena za sliku - Bez pozadinskih crnih pravougaonika */
.lightbox-stage {
  position: relative;
  z-index: 2010;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 82vh;
  pointer-events: auto;
}

.lightbox-img,
.lightbox-video {
  max-width: min(88vw, 1200px);
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.75), 0 0 45px rgba(255, 126, 64, 0.12);
  cursor: pointer;
  user-select: none;
  animation: lightboxImgIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
  transition: opacity 0.2s ease, transform 0.2s ease;
  outline: none;
  background-color: #0c0f17;
}

@keyframes lightboxImgIn {
  0% {
    opacity: 0;
    transform: scale(0.94);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Navigacione strelice levo i desno */
.lightbox-nav-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2020;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.lightbox-nav-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  transition: transform 0.2s ease;
  pointer-events: none;
}

.lightbox-nav-btn.lightbox-prev {
  left: 28px;
}

.lightbox-nav-btn.lightbox-next {
  right: 28px;
}

.lightbox-nav-btn:hover {
  background: var(--cl-primary);
  border-color: var(--cl-primary);
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 0 25px var(--cl-primary-glow);
}

.lightbox-nav-btn.lightbox-prev:hover svg {
  transform: translateX(-2px);
}

.lightbox-nav-btn.lightbox-next:hover svg {
  transform: translateX(2px);
}

/* Donja plutajuća info zona: opis i tačkice */
.lightbox-footer-info {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2020;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: min(90vw, 760px);
  pointer-events: auto;
}

/* Tekstualni opis u Lightboxu je uklonjen i za desktop i za mobilne kako bi slika bila u punom fokusu */
.lightbox-caption-box {
  display: none !important;
}

.lightbox-dots-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 99px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

.lightbox-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: all 0.25s ease;
}

.lightbox-dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.3);
}

.lightbox-dot.active {
  background: var(--cl-primary);
  width: 24px;
  border-radius: 99px;
  box-shadow: 0 0 12px var(--cl-primary-glow);
}

/* Mobilna prilagođavanja za Lightbox */
@media (max-width: 820px) {
  .lightbox-counter-badge {
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    font-size: 13px;
  }

  .lightbox-close-btn {
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .lightbox-stage {
    max-width: 94vw;
    max-height: 75vh;
  }

  .lightbox-img {
    max-width: 94vw;
    max-height: 74vh;
    border-radius: 12px;
  }

  .lightbox-nav-btn {
    width: 42px;
    height: 42px;
  }

  .lightbox-nav-btn.lightbox-prev {
    left: 10px;
  }

  .lightbox-nav-btn.lightbox-next {
    right: 10px;
  }

  .lightbox-footer-info {
    bottom: 20px;
    max-width: 94vw;
  }

  /* Uklanjanje tekstualnog opisa na mobilnim telefonima radi maksimalne preglednosti */
  .lightbox-caption-box {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   Sekcija Kako radimo
   -------------------------------------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-card {
  background-color: var(--cl-bg-surface);
  backdrop-filter: blur(var(--blur-card));
  -webkit-backdrop-filter: blur(var(--blur-card));
  padding: 40px 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--cl-bd-main);
  box-shadow: var(--shadow-glass);
  position: relative;
  transition: all var(--transition-smooth);
}

.process-card:hover {
  border-color: var(--cl-bd-primary);
  box-shadow: var(--shadow-glass-hover);
}

.process-number {
  font-family: var(--font-main);
  font-size: 40px;
  font-weight: 900;
  color: var(--cl-primary);
  margin-bottom: 20px;
  line-height: 1;
  letter-spacing: -0.03em;
  display: inline-block;
  text-shadow: 0 0 20px rgba(255, 126, 64, 0.3);
}

.process-title {
  font-family: var(--font-main);
  font-size: 17px;
  font-weight: 700;
  color: var(--cl-white);
  line-height: 1.4;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.process-desc {
  font-size: 14px;
  color: var(--cl-txt-sub);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Sekcija FAQ
   -------------------------------------------------------------------------- */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--cl-bg-surface);
  backdrop-filter: blur(var(--blur-card));
  -webkit-backdrop-filter: blur(var(--blur-card));
  border: 1px solid var(--cl-bd-main);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glass);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--cl-bd-highlight);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 30px;
  background: none;
  text-align: left;
  cursor: pointer;
  gap: 16px;
}

.faq-question-text {
  font-family: var(--font-main);
  font-size: 17px;
  font-weight: 600;
  color: var(--cl-white);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.faq-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background-color: var(--cl-bg-glass);
  border: 1px solid var(--cl-bd-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cl-txt-sub);
  transition: all var(--transition-fast);
}

.faq-icon svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  transition: transform var(--transition-smooth);
}

.faq-item.active {
  border-color: var(--cl-bd-primary);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06), 0 0 20px rgba(255, 126, 64, 0.12);
}

.faq-item.active .faq-icon {
  background-color: var(--cl-primary);
  border-color: var(--cl-primary);
  color: #ffffff;
  transform: rotate(180deg);
  box-shadow: 0 0 15px var(--cl-primary-glow);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 30px;
}

.faq-item.active .faq-answer {
  padding-bottom: 26px;
}

.faq-answer p {
  font-size: 15px;
  color: var(--cl-txt-sub);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Sekcija Kontakt i Funkcionalna forma
   -------------------------------------------------------------------------- */
.contact-section {
  position: relative;
  overflow: hidden;
  padding-top: 28px;
  padding-bottom: 48px;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.contact-section .section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px auto;
}

.contact-section .section-header .section-title {
  margin-top: 14px;
  margin-bottom: 12px;
}

.contact-section .section-header .section-desc {
  margin: 0 auto;
}

/* 3 Brze kontakt kartice (Direktan poziv, Email, Instagram) */
.contact-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 860px;
  margin: 0 auto 32px auto;
}

.contact-quick-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background-color: var(--cl-bg-surface);
  border: 1px solid var(--cl-bd-main);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.contact-quick-card:hover {
  border-color: var(--cl-bd-primary);
  background-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08), 0 0 20px rgba(255, 126, 64, 0.15);
}

.contact-quick-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: rgba(255, 126, 64, 0.1);
  border: 1px solid rgba(255, 126, 64, 0.22);
  color: var(--cl-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.contact-quick-card:hover .contact-quick-icon {
  background: var(--cl-primary);
  color: #ffffff;
}

.contact-quick-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-quick-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact-quick-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
  color: var(--cl-txt-muted);
  margin-bottom: 2px;
}

.contact-quick-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--cl-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.contact-quick-hint {
  font-size: 12px;
  color: var(--cl-txt-subtle);
  margin-top: 1px;
}

/* Glavna centrirana kartica sa formularom */
.contact-form-container {
  max-width: 860px;
  margin: 0 auto;
}

.contact-form-card {
  background-color: var(--cl-bg-surface);
  backdrop-filter: blur(var(--blur-card));
  -webkit-backdrop-filter: blur(var(--blur-card));
  border-radius: var(--radius-lg);
  border: 1px solid var(--cl-bd-main);
  padding: 38px 44px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  position: relative;
  transition: border-color var(--transition-fast);
}

.contact-form-card:hover {
  border-color: rgba(255, 126, 64, 0.35);
}

.contact-form-header {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
}

.contact-form-header h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--cl-white);
  margin-bottom: 5px;
  letter-spacing: -0.02em;
}

.contact-form-header p {
  font-size: 14.5px;
  color: var(--cl-txt-muted);
  margin: 0;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--cl-txt-main);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background-color: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #0f172a;
  font-size: 14.5px;
  font-family: var(--font-main);
  transition: all var(--transition-fast);
}

.form-control:focus {
  background-color: #ffffff;
  border-color: var(--cl-primary);
  box-shadow: 0 0 0 3px rgba(255, 126, 64, 0.2);
}

.form-control::placeholder {
  color: #94a3b8;
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23334155'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 20px;
}

select.form-control option {
  background-color: #ffffff;
  color: #0f172a;
}

textarea.form-control {
  resize: vertical;
  min-height: 85px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.btn-submit {
  width: 100%;
  padding: 15px 24px;
  font-size: 15.5px;
  font-weight: 700;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-submit svg {
  transition: transform 0.25s ease;
}

.btn-submit:hover svg {
  transform: translateX(4px);
}

.contact-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  flex-wrap: wrap;
}

.contact-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--cl-txt-sub);
}

.contact-trust-item svg {
  color: #16a34a;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.form-status {
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  display: none;
  text-align: center;
}

.form-status.success {
  display: block;
  background-color: rgba(22, 163, 74, 0.1);
  color: #15803d;
  border: 1px solid rgba(22, 163, 74, 0.3);
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.08);
}

.form-status.error {
  display: block;
  background-color: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   PLUTAJUĆE MOBILNO DUGME ZA POZIV
   -------------------------------------------------------------------------- */
.mobile-call-btn {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  background: linear-gradient(135deg, var(--cl-primary) 0%, var(--cl-primary-darker) 100%);
  color: #ffffff;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 25px rgba(255, 126, 64, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 700;
  font-size: 15px;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  animation: callPulseGlow 2.5s infinite;
}

.mobile-call-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.mobile-call-btn:hover, .mobile-call-btn:active {
  transform: scale(1.04);
  box-shadow: 0 10px 35px rgba(255, 126, 64, 0.7);
  color: #ffffff;
}

@keyframes callPulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 126, 64, 0.65), 0 8px 25px rgba(255, 126, 64, 0.45);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(255, 126, 64, 0), 0 8px 25px rgba(255, 126, 64, 0.45);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 126, 64, 0), 0 8px 25px rgba(255, 126, 64, 0.45);
  }
}

/* --------------------------------------------------------------------------
   Podnožje (Moderni tamni Footer sa 4 kolone prema referenci)
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background-color: #152238;
  color: #94a3b8;
  padding: 70px 0 34px 0;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

/* Kolona 1: Brend */
.footer-col-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 12px;
}

.footer-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.footer-logo-title {
  font-family: 'Montserrat', var(--font-main), sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.footer-brand-subtitle {
  font-size: 13.5px;
  color: #94a3b8;
  font-weight: 400;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-brand-subtitle .subtitle-dash {
  color: #64748b;
  font-weight: 600;
}

.footer-brand-divider {
  height: 1px;
  width: 100%;
  max-width: 320px;
  background: rgba(255, 255, 255, 0.1);
  margin: 16px 0 14px 0;
}

.footer-floor-tags {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-floor-tags .tag-dot {
  color: #475569;
}

.footer-floor-tags span {
  transition: color var(--transition-fast);
}

.footer-floor-tags span:not(.tag-dot):hover {
  color: var(--cl-primary);
  cursor: default;
}

/* Naslovi kolona */
.footer-col-title {
  font-family: 'Montserrat', var(--font-main), sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 20px 0;
  letter-spacing: -0.01em;
}

/* Liste linkova */
.footer-links-list,
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-links-list a {
  font-size: 14px;
  color: #94a3b8;
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer-links-list a:hover {
  color: var(--cl-primary);
  transform: translateX(3px);
}

/* Kontakt stavke i ikone */
.footer-contact-link,
.footer-contact-info,
.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #cbd5e1;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-contact-link:hover,
.footer-social-link:hover {
  color: var(--cl-primary);
}

.footer-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-contact-link:hover .footer-icon,
.footer-social-link:hover .footer-icon {
  color: var(--cl-primary);
}

/* Donja linija: Copyright i Povratak na vrh */
.footer-bottom {
  padding-top: 28px;
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #64748b;
}

.footer-copyright {
  color: #64748b;
  font-size: 13px;
}

.back-to-top-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.back-to-top-btn:hover {
  background: var(--cl-primary);
  border-color: var(--cl-primary);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(255, 126, 64, 0.45);
}

.back-to-top-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: transform 0.2s ease;
}

.back-to-top-btn:hover svg {
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* --------------------------------------------------------------------------
   ANIMACIJE OTKRIVANJA (Reveal on Scroll - Echofi fade-in-up)
   -------------------------------------------------------------------------- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* --------------------------------------------------------------------------
   RESPONZIVNOST
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .hero-title {
    font-size: 46px;
  }
  .metrics-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .metric-item:nth-child(2)::after {
    display: none;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-cards-row {
    gap: 14px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 68px;
  }

  .nav-desktop {
    display: none;
  }

  .header-actions .header-phone-link {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  /* 1. Smanjeno narandžasto dugme na vrhu pored logoa (ISKLJUČIVO ZA TELEFON) */
  .header-actions .btn-primary {
    padding: 7px 13px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(255, 126, 64, 0.3);
  }

  /* 2. Lepši i oštriji logo i naziv pored logoa */
  .logo {
    font-family: 'Montserrat', var(--font-main), sans-serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--cl-white);
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .logo span {
    font-weight: 800;
    letter-spacing: -0.02em;
    white-space: nowrap;
  }

  .site-logo-img {
    height: 35px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
  }

  .menu-toggle {
    display: flex;
    width: 38px;
    height: 38px;
    padding: 6px;
    border-radius: 10px;
    flex-shrink: 0;
  }

  .menu-toggle span {
    width: 18px;
  }

  /* 3. Ispravka preterano zumirane prve slike: fokus na prelep pod i prostor */
  .hero-section {
    min-height: auto;
    padding-top: calc(var(--header-height) + 12px);
    padding-bottom: 50px;
  }

  .hero-container {
    padding-top: 18px;
    padding-bottom: 24px;
  }

  .hero-bg-img {
    object-position: center 58%;
    filter: contrast(1.05) brightness(0.96);
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(10, 16, 26, 0.78) 0%,
      rgba(10, 16, 26, 0.5) 45%,
      rgba(10, 16, 26, 0.84) 100%
    );
  }

  .hero-title {
    font-size: 32px;
  }

  .br-mobile {
    display: inline;
  }

  .br-desktop {
    display: none;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 30px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .gallery-filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 6px 14px;
    margin: 0 calc(-1 * var(--container-pad));
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
    justify-content: flex-start;
  }
  .gallery-filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* 4. Horizontalno listanje kartica podova (Parket, Laminat, LVT...) levo-desno */
  .services-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding: 8px 4px 18px;
    margin: 0 calc(-1 * var(--container-pad));
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .services-grid::-webkit-scrollbar {
    display: none;
  }

  .service-card {
    flex: 0 0 80vw;
    max-width: 310px;
    height: 390px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    border-radius: 18px;
    user-select: none;
  }

  .service-card .card-slide-btn {
    width: 34px;
    height: 34px;
    top: 45%;
    transform: translateY(-50%) !important;
  }

  .service-card .card-slide-btn svg {
    width: 18px;
    height: 18px;
  }

  .services-grid .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }

  /* 5. Horizontalno listanje koraka Kako radimo (01 do 04) levo-desno */
  .process-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding: 8px 4px 18px;
    margin: 0 calc(-1 * var(--container-pad));
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .process-grid::-webkit-scrollbar {
    display: none;
  }

  .process-card {
    flex: 0 0 78vw;
    max-width: 285px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    border-radius: 18px;
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
  }

  .process-grid .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Interaktivni slajder - Uredno sortiranje 5 dugmića u 2 kolone sa centriranim 5. dugmetom */
  .slider-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 10px;
    max-width: 440px;
    margin: 0 auto 24px auto;
    padding: 0 4px;
  }

  .slider-tab-btn {
    padding: 9px 8px;
    font-size: 12.5px;
    font-weight: 600;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
    white-space: nowrap;
    width: 100%;
    min-height: 40px;
  }

  .slider-tab-btn:nth-child(5),
  .slider-tab-btn[data-project="poslovni"] {
    grid-column: 1 / -1;
    justify-self: center;
    width: auto;
    min-width: min(100%, 220px);
    padding: 9px 20px;
  }

  .comparison-container {
    height: auto;
    touch-action: pan-y;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* 5. Raspored u sekciji Zatražite ponudu na telefonima: Forma prva, a 3 kontakt kartice (telefon, email, instagram) ispod nje */
  .contact-section .container {
    display: flex;
    flex-direction: column;
  }

  .contact-section .section-header {
    order: 1;
    margin-bottom: 24px;
  }

  .contact-section .contact-form-container {
    order: 2;
    margin-bottom: 28px;
    width: 100%;
    scroll-margin-top: calc(var(--header-height) + 12px);
  }

  .contact-cards-row {
    order: 3;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
  }

  .contact-form-card {
    padding: 28px 20px;
    scroll-margin-top: calc(var(--header-height) + 12px);
  }

  .contact-trust-row {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .mobile-call-btn {
    display: inline-flex;
  }
}

@media (max-width: 560px) {
  :root {
    --container-pad: 16px;
  }

  .site-header {
    height: 64px;
  }

  .header-container {
    padding: 0 14px;
  }

  .site-logo-img {
    height: 32px;
  }

  .logo {
    font-size: 16.5px;
    gap: 7px;
  }

  .header-actions .btn-primary {
    padding: 6px 11px;
    font-size: 11.5px;
  }

  .hero-title {
    font-size: 28px;
    line-height: 1.2;
  }

  .metrics-container {
    grid-template-columns: 1fr;
    padding: 26px 18px;
    gap: 24px;
  }

  .metric-value {
    font-size: 34px;
    gap: 10px;
  }

  .metric-icon {
    width: 26px;
    height: 26px;
  }

  .metric-item::after {
    display: none !important;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-item {
    aspect-ratio: 16 / 11;
    border-radius: 16px;
  }

  .gallery-card-inner {
    border-radius: 16px;
  }

  .gallery-card-content {
    padding: 16px 18px;
  }

  .gallery-card-badge {
    font-size: 10px;
    padding: 3px 9px;
    margin-bottom: 6px;
  }

  .gallery-card-title {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .gallery-card-location {
    font-size: 12.5px;
  }

  .gallery-card-arrow {
    width: 34px;
    height: 34px;
  }

  .gallery-card-arrow svg {
    width: 14px;
    height: 14px;
  }

  .slider-tabs {
    gap: 8px 8px;
    margin-bottom: 20px;
    max-width: 380px;
  }

  .slider-tab-btn {
    font-size: 12px;
    padding: 8px 6px;
    min-height: 38px;
  }

  .slider-tab-btn:nth-child(5),
  .slider-tab-btn[data-project="poslovni"] {
    padding: 8px 16px;
    min-width: min(100%, 200px);
  }

  .comparison-container {
    height: auto;
    touch-action: pan-y;
  }

  .comparison-badge {
    top: 14px;
    padding: 6px 13px;
    font-size: 10.5px;
    letter-spacing: 0.8px;
  }

  .badge-before {
    left: 14px;
  }

  .badge-after {
    right: 14px;
  }

  .comparison-handle-circle {
    width: 40px;
    height: 40px;
  }

  .site-footer {
    padding: 50px 0 28px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand-divider {
    max-width: 100%;
  }

  .footer-bottom {
    margin-top: 36px;
    padding-top: 22px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .lightbox-nav-btn {
    width: 38px;
    height: 38px;
  }

  .lightbox-nav-btn svg {
    width: 18px;
    height: 18px;
  }

  .lightbox-nav-btn.lightbox-prev {
    left: 8px;
  }

  .lightbox-nav-btn.lightbox-next {
    right: 8px;
  }
}
