/* =========================================
   VKS SANACIJA — main.css
   Brand: #0F598D (plava) | vks-sanacija.eu
   ========================================= */

/* ---------- RESET & CUSTOM PROPERTIES ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand blues */
  --clr-primary:       #0F598D;
  --clr-primary-light: #1A7BB8;
  --clr-primary-dark:  #083E63;
  --clr-accent:        #00AEEF;
  --clr-accent-dark:   #0088C0;

  /* Surfaces */
  --clr-bg:            #FFFFFF;
  --clr-bg-alt:        #F0F6FB;
  --clr-bg-dark:       #071E35;
  --clr-surface:       #FFFFFF;
  --clr-border:        #D0E3F0;

  /* Text */
  --clr-text:          #1A2332;
  --clr-text-muted:    #5A7A9A;
  --clr-text-inv:      #FFFFFF;

  /* Status */
  --clr-success:       #00C853;
  --clr-warning:       #FF8F00;

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;

  /* Spacing scale */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Layout */
  --max-width: 1280px;
  --max-width-text: 760px;
  --nav-height: 72px;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(15,89,141,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 16px rgba(15,89,141,.12), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg:  0 12px 40px rgba(15,89,141,.16), 0 4px 12px rgba(0,0,0,.08);
  --shadow-xl:  0 24px 64px rgba(15,89,141,.20);

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 180ms;
  --dur-base: 300ms;
  --dur-slow: 500ms;
}

/* ---------- DARK MODE ---------- */
[data-theme="dark"] {
  --clr-bg:          #071E35;
  --clr-bg-alt:      #0A2744;
  --clr-surface:     #0D2F50;
  --clr-border:      #1A4A70;
  --clr-text:        #E8F4FD;
  --clr-text-muted:  #7AAECF;
  --clr-primary:     #1A7BB8;
  --clr-primary-light: #2191D4;
  --clr-accent:      #00C4FF;
}

/* ---------- BASE ---------- */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--clr-text);
  background-color: var(--clr-bg);
  overflow-x: hidden;
  transition: background-color var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out);
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ---------- LAYOUT HELPERS ---------- */
.container       { width: min(100%, var(--max-width)); margin-inline: auto; padding-inline: var(--sp-6); }
.container-wide  { width: min(100%, 1440px); margin-inline: auto; padding-inline: var(--sp-6); }
.container-text  { width: min(100%, var(--max-width-text)); margin-inline: auto; padding-inline: var(--sp-6); }

.section { padding-block: var(--sp-20); }
.section--alt { background: var(--clr-bg-alt); }

/* ---------- TYPOGRAPHY ---------- */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--clr-text);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--sp-4);
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-accent);
  border-radius: 2px;
}

.section-title { margin-bottom: var(--sp-4); }
.section-title em { font-style: normal; color: var(--clr-accent); }

.section-desc {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  max-width: 600px;
  line-height: 1.75;
}

.text-center { text-align: center; }
.text-center .section-desc { margin-inline: auto; }
.text-center .section-label { margin-inline: auto; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--dur-base) var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--dur-fast);
}
.btn:hover::after { background: rgba(255,255,255,.08); }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--clr-accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,174,239,.35);
}
.btn-primary:hover {
  background: var(--clr-accent-dark);
  box-shadow: 0 6px 28px rgba(0,174,239,.45);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.35);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.6);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--clr-primary);
  border: 2px solid var(--clr-primary);
}
.btn-outline:hover {
  background: var(--clr-primary);
  color: #fff;
  transform: translateY(-1px);
}

.btn-lg { padding: var(--sp-4) var(--sp-8); font-size: 1rem; }
.btn-sm { padding: var(--sp-2) var(--sp-4); font-size: 0.85rem; }

.btn-icon { flex-shrink: 0; }

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}

/* ---------- HEADER / NAV ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--nav-height);
  transition: background var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.header.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
}
[data-theme="dark"] .header.scrolled {
  background: rgba(7,30,53,.92);
}

.navbar {
  display: flex;
  align-items: center;
  height: var(--nav-height);
  gap: var(--sp-6);
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img { height: 40px; width: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  margin-left: auto;
}

.nav-link {
  padding: var(--sp-2) var(--sp-3);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-text-inv);
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast), background var(--dur-fast);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: var(--sp-3);
  right: var(--sp-3);
  height: 2px;
  background: var(--clr-accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--dur-base) var(--ease-out);
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

.header.scrolled .nav-link { color: var(--clr-text); }

.btn-nav-emergency {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: var(--clr-accent);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  transition: all var(--dur-fast);
  box-shadow: 0 2px 12px rgba(0,174,239,.4);
}
.btn-nav-emergency:hover {
  background: var(--clr-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(0,174,239,.5);
}

/* Theme toggle */
.theme-toggle {
  width: 40px;
  height: 22px;
  background: rgba(255,255,255,.2);
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255,255,255,.3);
  position: relative;
  transition: background var(--dur-base);
  flex-shrink: 0;
}
.header.scrolled .theme-toggle { background: var(--clr-bg-alt); border-color: var(--clr-border); }
.theme-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--dur-base) var(--ease-out);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
}
[data-theme="dark"] .theme-toggle-thumb { transform: translateX(18px); background: var(--clr-accent); }
.icon-sun, .icon-moon { position: absolute; transition: opacity var(--dur-fast); }
[data-theme="dark"] .icon-sun { opacity: 0; }
[data-theme="light"] .icon-moon, :root:not([data-theme]) .icon-moon { opacity: 0; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--dur-base) var(--ease-out);
}
.header.scrolled .hamburger span { background: var(--clr-primary); }
[data-theme="dark"] .header.scrolled .hamburger span { background: #fff; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- NAV DROPDOWN ---------- */
.nav-has-dropdown { position: relative; }

.nav-link--dropdown {
  display: flex !important;
  align-items: center;
  gap: 4px;
}
.nav-link--dropdown .chevron {
  transition: transform var(--dur-base) var(--ease-out);
  flex-shrink: 0;
  opacity: .6;
}
.nav-has-dropdown:hover > .nav-link--dropdown .chevron,
.nav-has-dropdown.open > .nav-link--dropdown .chevron { transform: rotate(180deg); opacity: 1; }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px;
  background: var(--clr-bg);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  list-style: none;
  padding: var(--sp-2) 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility 0s .2s;
  z-index: 900;
}
[data-theme="dark"] .nav-dropdown { border-color: rgba(255,255,255,.1); }
.nav-has-dropdown:hover > .nav-dropdown,
.nav-has-dropdown.open > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility 0s;
}

.nav-dropdown-link {
  display: block;
  padding: var(--sp-2) var(--sp-5);
  font-size: .875rem;
  font-weight: 500;
  color: var(--clr-text);
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.nav-dropdown-link:hover { background: var(--clr-surface); color: var(--clr-accent); }
.nav-dropdown li + li .nav-dropdown-link { border-top: 1px solid rgba(0,0,0,.05); }
[data-theme="dark"] .nav-dropdown li + li .nav-dropdown-link { border-color: rgba(255,255,255,.06); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--clr-bg-dark);
}

.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease-in-out);
  transform: scale(1.05);
  transition: opacity 1.2s var(--ease-in-out), transform 8s linear;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(7,30,53,.85) 0%,
    rgba(15,89,141,.65) 50%,
    rgba(0,174,239,.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: calc(var(--nav-height) + var(--sp-16)) var(--sp-20);
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: rgba(0,174,239,.2);
  border: 1px solid rgba(0,174,239,.4);
  border-radius: var(--radius-full);
  color: var(--clr-accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--sp-5);
  backdrop-filter: blur(8px);
}

.hero h1 {
  color: #fff;
  margin-bottom: var(--sp-5);
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero h1 em {
  font-style: normal;
  color: var(--clr-accent);
}

.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,.85);
  margin-bottom: var(--sp-8);
  max-width: 560px;
  line-height: 1.7;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: rgba(255,255,255,.5);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
  animation: bounce 2s ease-in-out infinite;
}
.hero-scroll svg { animation: none; }
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* Slide dots */
.hero-dots {
  position: absolute;
  bottom: var(--sp-12);
  right: var(--sp-8);
  display: flex;
  gap: var(--sp-2);
  z-index: 3;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none;
  cursor: pointer;
  transition: all var(--dur-base);
}
.hero-dot.active {
  background: var(--clr-accent);
  width: 24px;
  border-radius: 4px;
}

/* ---------- TRUST STRIP ---------- */
.trust-strip {
  background: var(--clr-primary);
  padding-block: var(--sp-4);
  overflow: hidden;
}
.trust-strip-inner {
  display: flex;
  gap: var(--sp-10);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding-block: var(--sp-2);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}
.trust-item svg { color: var(--clr-accent); flex-shrink: 0; }
.trust-item strong { font-weight: 700; }

/* ---------- SERVICES OVERVIEW ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-6);
  margin-top: var(--sp-12);
}

.service-card {
  background: var(--clr-surface);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--clr-accent);
}

.service-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--clr-bg-alt);
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.service-card:hover .service-card-img img { transform: scale(1.06); }

.service-card-badge {
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-4);
  padding: var(--sp-1) var(--sp-3);
  background: var(--clr-accent);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.service-card-body {
  padding: var(--sp-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(0,174,239,.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-accent);
  margin-bottom: var(--sp-4);
}
.service-card h3 { margin-bottom: var(--sp-3); }
.service-card p {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: var(--sp-5);
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--clr-accent);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap var(--dur-fast);
}
.service-card-link:hover { gap: var(--sp-3); }

/* ---------- WHY US ---------- */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-6);
  margin-top: var(--sp-12);
}
.why-us-grid--3col { grid-template-columns: repeat(3, 1fr); }

.why-card {
  padding: var(--sp-6);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--clr-border);
  background: var(--clr-surface);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.why-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: var(--sp-4);
  box-shadow: 0 4px 16px rgba(0,174,239,.25);
}
.why-card h4 { margin-bottom: var(--sp-2); font-size: 1rem; }
.why-card p { font-size: 0.9rem; color: var(--clr-text-muted); line-height: 1.65; }

/* ---------- STATS ---------- */
.stats-section {
  background: linear-gradient(135deg, var(--clr-primary-dark) 0%, var(--clr-primary) 60%, var(--clr-accent-dark) 100%);
  padding-block: var(--sp-20);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--sp-6);
  position: relative;
  text-align: center;
}
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: var(--sp-2);
}
.stat-number span { color: var(--clr-accent); }
.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,.7);
  font-weight: 500;
}

/* ---------- HOW IT WORKS ---------- */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: var(--sp-12);
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--clr-accent), var(--clr-primary));
  opacity: .3;
}
.step {
  display: flex;
  gap: var(--sp-6);
  padding-bottom: var(--sp-8);
  position: relative;
}
.step:last-child { padding-bottom: 0; }
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(0,174,239,.3);
  position: relative;
  z-index: 1;
}
.step-content { padding-top: var(--sp-3); }
.step-content h4 { margin-bottom: var(--sp-2); font-size: 1.05rem; }
.step-content p { color: var(--clr-text-muted); font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq-list {
  margin-top: var(--sp-10);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.faq-item {
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--clr-surface);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.faq-item.open {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(0,174,239,.08);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-5) var(--sp-6);
  cursor: pointer;
  gap: var(--sp-4);
  font-weight: 600;
  font-size: 1rem;
  color: var(--clr-text);
  user-select: none;
}
.faq-question:hover { color: var(--clr-primary); }
.faq-icon {
  width: 24px;
  height: 24px;
  background: var(--clr-bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--clr-accent);
  transition: transform var(--dur-base) var(--ease-out), background var(--dur-fast);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--clr-accent);
  color: #fff;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-base) var(--ease-out);
}
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner {
  overflow: hidden;
  padding: 0 var(--sp-6) 0;
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  transition: padding var(--dur-base);
}
.faq-item.open .faq-answer-inner { padding-bottom: var(--sp-5); }

/* ---------- CONTACT SECTION ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: start;
  margin-top: var(--sp-12);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  margin-top: var(--sp-8);
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  background: rgba(0,174,239,.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-accent);
  flex-shrink: 0;
}
.contact-info-item strong { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--clr-text-muted); margin-bottom: 2px; }
.contact-info-item a { font-size: 1.05rem; font-weight: 600; transition: color var(--dur-fast); }
.contact-info-item a:hover { color: var(--clr-accent); }

/* Contact form */
.contact-form-card {
  background: var(--clr-surface);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  box-shadow: var(--shadow-lg);
}
.form-group { margin-bottom: var(--sp-5); }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--sp-2);
  color: var(--clr-text);
}
.form-label .req { color: var(--clr-accent); margin-left: 2px; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--clr-text);
  background: var(--clr-bg);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(0,174,239,.12);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--clr-text-muted); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select-wrap { position: relative; }
.form-select-wrap::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--clr-text-muted);
  pointer-events: none;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.form-check { display: flex; align-items: flex-start; gap: var(--sp-3); }
.form-check input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: var(--clr-accent); }
.form-check-label { font-size: 0.85rem; color: var(--clr-text-muted); line-height: 1.5; }
.form-check-label a { color: var(--clr-accent); text-decoration: underline; }

.form-submit { width: 100%; padding-block: var(--sp-4); font-size: 1rem; margin-top: var(--sp-2); }

.form-status {
  display: none;
  padding: var(--sp-4);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: var(--sp-4);
}
.form-status.success { background: rgba(0,200,83,.1); color: var(--clr-success); border: 1px solid rgba(0,200,83,.3); display: block; }
.form-status.error   { background: rgba(220,38,38,.1); color: #DC2626; border: 1px solid rgba(220,38,38,.3); display: block; }

/* ---------- AREA SERVED ---------- */
.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-6);
}
.area-tag {
  padding: var(--sp-2) var(--sp-4);
  background: var(--clr-bg-alt);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  transition: all var(--dur-fast);
}
.area-tag:hover {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  color: #fff;
}
.area-tag.primary-area {
  background: rgba(0,174,239,.1);
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  font-weight: 600;
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--clr-primary-dark) 0%, var(--clr-primary) 50%, var(--clr-accent-dark) 100%);
  border-radius: var(--radius-xl);
  padding: var(--sp-16) var(--sp-12);
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: var(--sp-12) 0;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(0,174,239,.2) 0%, transparent 60%);
}
.cta-banner h2 { color: #fff; position: relative; margin-bottom: var(--sp-4); }
.cta-banner p { color: rgba(255,255,255,.8); max-width: 520px; margin: 0 auto var(--sp-8); font-size: 1.05rem; position: relative; }
.cta-banner .cta-group { justify-content: center; position: relative; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--clr-bg-dark);
  color: rgba(255,255,255,.75);
  padding-top: var(--sp-20);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-10);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo img { height: 36px; width: auto; filter: brightness(0) invert(1); margin-bottom: var(--sp-4); }
.footer-tagline { font-size: 0.9rem; line-height: 1.7; margin-bottom: var(--sp-6); }
.footer-contact-quick { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-contact-quick a {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.9rem;
  color: rgba(255,255,255,.75);
  transition: color var(--dur-fast);
}
.footer-contact-quick a:hover { color: var(--clr-accent); }
.footer-contact-quick svg { color: var(--clr-accent); flex-shrink: 0; }

.footer-social { display: flex; gap: var(--sp-3); margin-top: var(--sp-5); }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  color: rgba(255,255,255,.75);
  transition: background var(--dur-fast), color var(--dur-fast);
}
.footer-social a:hover { background: var(--clr-accent); color: #fff; }

.footer-col h5 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: var(--sp-5);
}
.footer-links { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,.65);
  transition: color var(--dur-fast), padding-left var(--dur-fast);
}
.footer-links a:hover { color: var(--clr-accent); padding-left: var(--sp-2); }

.footer-bottom {
  padding-block: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.5); transition: color var(--dur-fast); }
.footer-bottom a:hover { color: var(--clr-accent); }
.footer-bottom-links { display: flex; gap: var(--sp-5); }

/* ---------- TESTIMONIALS ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-6);
  margin-top: var(--sp-12);
}

.testimonial-card {
  background: var(--clr-surface);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  position: relative;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-6);
  font-size: 5rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--clr-accent);
  opacity: .15;
  pointer-events: none;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--sp-4);
  color: #FFC107;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-5);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-author-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--clr-text);
}
.testimonial-author-info span {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
}

.testimonial-source {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--clr-text-muted);
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--clr-border);
  width: 100%;
}
.testimonial-source svg { color: #4285F4; }

/* ---------- O NAMA STRIP ---------- */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}
.about-strip-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;
  background: var(--clr-bg-alt);
}
.about-strip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-checkmarks {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}
.about-check {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--clr-text);
}
.about-check svg { color: var(--clr-success); flex-shrink: 0; }

/* Lazy map */
.map-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--clr-border);
  overflow: hidden;
  position: relative;
  background: var(--clr-bg-alt);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  transition: background var(--dur-fast);
}
.map-placeholder:hover { background: var(--clr-border); }
.map-placeholder iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: none;
}
.map-placeholder.loaded iframe { display: block; }
.map-placeholder.loaded .map-load-btn { display: none; }
.map-load-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  text-align: center;
}
.map-load-btn svg { color: var(--clr-primary); }

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

/* ---------- SCROLL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* =========================================
   2026 MODERNIZACIJA
   ========================================= */

/* ---------- CUSTOM CURSOR — kap vode ---------- */
*, *::before, *::after { cursor: none !important; }
@media (pointer: coarse) {
  *, *::before, *::after { cursor: auto !important; }
  .cursor-drop, .cursor-ring { display: none !important; }
}

.cursor-drop {
  position: fixed;
  top: 0; left: 0;
  width: 22px; height: 30px;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -20%) rotate(0deg);
  transition: transform 0.08s, opacity 0.2s;
  will-change: transform;
}
.cursor-drop svg { width: 100%; height: 100%; }

.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 44px; height: 44px;
  border: 1.5px solid rgba(0,174,239,.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s var(--ease-out), width 0.2s, height 0.2s, opacity 0.2s;
  will-change: transform;
}
.cursor-ring.hovered {
  width: 64px; height: 64px;
  border-color: rgba(0,174,239,.7);
  background: rgba(0,174,239,.05);
}
.cursor-ring.clicking {
  width: 30px; height: 30px;
  background: rgba(0,174,239,.15);
}

/* ---------- VIEW TRANSITIONS ---------- */
@keyframes vt-slide-in {
  from { opacity: 0; transform: translateY(16px); }
}
@keyframes vt-slide-out {
  to { opacity: 0; transform: translateY(-16px); }
}
::view-transition-new(root) {
  animation: vt-slide-in 0.35s var(--ease-out);
}
::view-transition-old(root) {
  animation: vt-slide-out 0.3s var(--ease-out);
}

/* ---------- SPLIT TEXT ---------- */
.split-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(-22px) rotate(-2deg);
  animation: word-drop 0.55s var(--ease-out) forwards;
  animation-delay: calc(var(--i) * 0.07s + 0.15s);
}
@keyframes word-drop {
  to { opacity: 1; transform: translateY(0) rotate(0deg); }
}

/* ---------- GRAIN TEXTURE ---------- */
.grain {
  position: relative;
}
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 2;
  border-radius: inherit;
}

/* ---------- BENTO GRID ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 180px;
  gap: var(--sp-4);
  margin-top: var(--sp-12);
}
.bento-card {
  background: var(--clr-surface);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base),
              border-color var(--dur-base);
  cursor: default;
}
.bento-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-xl);
  border-color: var(--clr-accent);
}
.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(0,174,239,.07) 0%, transparent 65%);
  opacity: 0;
  transition: opacity var(--dur-base);
}
.bento-card:hover::before { opacity: 1; }

/* Highlighted card */
.bento-card.bento-featured {
  background: linear-gradient(135deg, var(--clr-primary-dark), var(--clr-primary));
  border-color: transparent;
  color: #fff;
}
.bento-card.bento-featured h4,
.bento-card.bento-featured p { color: rgba(255,255,255,.9); }
.bento-card.bento-featured .bento-icon { background: rgba(255,255,255,.15); color: #fff; }
.bento-card.bento-featured .bento-num { color: rgba(255,255,255,.15); }

/* Span sizes */
.bento-card:nth-child(1) { grid-column: span 2; grid-row: span 2; justify-content: space-between; }
.bento-card:nth-child(2) { grid-column: span 2; }
.bento-card:nth-child(3) { grid-column: span 2; }
.bento-card:nth-child(4) { grid-column: span 4; flex-direction: row; align-items: center; gap: var(--sp-6); }
.bento-card:nth-child(5) { grid-column: span 3; }
.bento-card:nth-child(6) { grid-column: span 3; }

.bento-num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--clr-border);
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-5);
  transition: color var(--dur-base);
  pointer-events: none;
  user-select: none;
}
.bento-card:hover .bento-num { color: rgba(0,174,239,.12); }

.bento-icon {
  width: 48px; height: 48px;
  background: rgba(0,174,239,.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-accent);
  flex-shrink: 0;
  margin-bottom: var(--sp-3);
}
.bento-card:nth-child(4) .bento-icon { margin-bottom: 0; }

.bento-card h4 { font-size: 1rem; margin-bottom: var(--sp-2); }
.bento-card p  { font-size: 0.875rem; color: var(--clr-text-muted); line-height: 1.6; }

@media (max-width: 900px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .bento-card { grid-column: span 1 !important; grid-row: span 1 !important; min-height: 160px; flex-direction: column !important; }
  .bento-num { font-size: 3rem; }
}
@media (max-width: 480px) {
  .bento-grid { grid-template-columns: 1fr; }
}

/* ---------- GLASSMORPHISM service cards ---------- */
@supports (backdrop-filter: blur(1px)) {
  [data-theme="dark"] .service-card {
    background: rgba(13,47,80,.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-color: rgba(255,255,255,.08);
  }
  [data-theme="light"] .service-card {
    background: rgba(255,255,255,.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}

/* ---------- BEFORE / AFTER SLIDER ---------- */
.before-after {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  user-select: none;
  aspect-ratio: 4/3;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow-xl);
  cursor: ew-resize;
  background: #071E35;
}
.ba-layer {
  position: absolute;
  inset: 0;
}
.ba-after { z-index: 1; }
.ba-before {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0ms;
}
.ba-before img,
.ba-after img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  draggable: false;
}
.ba-label {
  position: absolute;
  bottom: var(--sp-4);
  padding: var(--sp-2) var(--sp-4);
  background: rgba(0,0,0,.55);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.ba-before .ba-label { left: var(--sp-4); }
.ba-after  .ba-label { right: var(--sp-4); }

.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  z-index: 3;
  transform: translateX(-50%);
  cursor: ew-resize;
  box-shadow: 0 0 12px rgba(0,0,0,.4);
}
.ba-handle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary);
}

/* ---------- FLOATING FORM LABELS ---------- */
.form-floating {
  position: relative;
  margin-bottom: var(--sp-5);
}
.form-floating .form-input,
.form-floating .form-textarea {
  padding-top: 1.6rem;
  padding-bottom: 0.5rem;
}
.form-floating label {
  position: absolute;
  top: 50%;
  left: var(--sp-4);
  transform: translateY(-50%);
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  pointer-events: none;
  transition: all 0.2s var(--ease-out);
  line-height: 1;
  white-space: nowrap;
}
.form-floating textarea ~ label { top: 1.1rem; transform: none; }
.form-floating .form-input:focus ~ label,
.form-floating .form-input:not(:placeholder-shown) ~ label,
.form-floating .form-textarea:focus ~ label,
.form-floating .form-textarea:not(:placeholder-shown) ~ label {
  top: 0.5rem;
  transform: none;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--clr-accent);
  letter-spacing: 0.03em;
}

/* ---------- MAGNETIC BUTTONS ---------- */
.btn-magnetic {
  transition: transform 0.3s var(--ease-out), box-shadow var(--dur-base), background var(--dur-fast);
  will-change: transform;
}

/* ---------- SCROLL-DRIVEN (native CSS) ---------- */
@supports (animation-timeline: scroll()) {
  .reveal {
    animation: reveal-up linear both;
    animation-timeline: view();
    animation-range: entry 5% entry 35%;
  }
  @keyframes reveal-up {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/* ---------- COOKIE CONSENT ---------- */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--clr-bg-dark);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: var(--sp-5) var(--sp-6);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
}
.cookie-bar.visible { transform: translateY(0); }

.cookie-bar-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: 0 auto;
}
.cookie-bar-text {
  flex: 1;
  font-size: 0.875rem;
  color: rgba(255,255,255,.75);
  line-height: 1.6;
  min-width: 240px;
}
.cookie-bar-text a { color: var(--clr-accent); text-decoration: underline; }
.cookie-bar-text strong { color: #fff; }
.cookie-bar-actions {
  display: flex;
  gap: var(--sp-3);
  flex-shrink: 0;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--dur-fast);
}
.cookie-btn-accept {
  background: var(--clr-accent);
  color: #fff;
}
.cookie-btn-accept:hover { background: var(--clr-accent-dark); }
.cookie-btn-reject {
  background: transparent;
  color: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.2);
}
.cookie-btn-reject:hover { color: #fff; border-color: rgba(255,255,255,.4); }

/* ---------- WATER ANIMATION — hero efekt ---------- */
.hero-water {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

/* SVG wave na dnu heroja */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
}
.hero-wave svg { display: block; width: 100%; }

/* Animirane kapljice vode */
.drops {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.drop {
  position: absolute;
  bottom: -80px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 30'%3E%3Cpath d='M11 1C11 1 21 13 21 19.5A10 10 0 0 1 1 19.5C1 13 11 1 11 1Z' fill='rgba(0%2C174%2C239%2C0.18)' stroke='rgba(0%2C174%2C239%2C0.35)' stroke-width='1'/%3E%3Cellipse cx='8' cy='14' rx='2.5' ry='3.5' fill='white' fill-opacity='0.2' transform='rotate(-30 8 14)'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  animation: drop-rise linear infinite;
}

/* index — 12 kapljica, pune veličine */
.drops--full .drop:nth-child(1)  { width:14px;  height:19px;  left:5%;   animation-duration:9s;   animation-delay:0s;    }
.drops--full .drop:nth-child(2)  { width:22px;  height:30px;  left:13%;  animation-duration:12s;  animation-delay:1.8s;  }
.drops--full .drop:nth-child(3)  { width:10px;  height:14px;  left:22%;  animation-duration:8s;   animation-delay:3.5s;  }
.drops--full .drop:nth-child(4)  { width:18px;  height:25px;  left:31%;  animation-duration:10s;  animation-delay:0.6s;  }
.drops--full .drop:nth-child(5)  { width:28px;  height:38px;  left:41%;  animation-duration:14s;  animation-delay:2.2s;  }
.drops--full .drop:nth-child(6)  { width:12px;  height:16px;  left:52%;  animation-duration:9s;   animation-delay:4.5s;  }
.drops--full .drop:nth-child(7)  { width:20px;  height:27px;  left:61%;  animation-duration:11s;  animation-delay:1.2s;  }
.drops--full .drop:nth-child(8)  { width:16px;  height:22px;  left:70%;  animation-duration:13s;  animation-delay:2.8s;  }
.drops--full .drop:nth-child(9)  { width:8px;   height:11px;  left:79%;  animation-duration:7s;   animation-delay:0.4s;  }
.drops--full .drop:nth-child(10) { width:24px;  height:33px;  left:87%;  animation-duration:15s;  animation-delay:3.2s;  }
.drops--full .drop:nth-child(11) { width:11px;  height:15px;  left:93%;  animation-duration:8s;   animation-delay:5.5s;  }
.drops--full .drop:nth-child(12) { width:17px;  height:23px;  left:46%;  animation-duration:10s;  animation-delay:6s;    }

/* substranice — 6 kapljica, manji opacity */
.drops--sub .drop {
  opacity: 0.6;
}
.drops--sub .drop:nth-child(1)  { width:12px;  height:16px;  left:8%;   animation-duration:10s;  animation-delay:0s;   }
.drops--sub .drop:nth-child(2)  { width:20px;  height:27px;  left:25%;  animation-duration:13s;  animation-delay:2s;   }
.drops--sub .drop:nth-child(3)  { width:9px;   height:12px;  left:43%;  animation-duration:8s;   animation-delay:4s;   }
.drops--sub .drop:nth-child(4)  { width:16px;  height:22px;  left:60%;  animation-duration:11s;  animation-delay:1s;   }
.drops--sub .drop:nth-child(5)  { width:24px;  height:33px;  left:75%;  animation-duration:14s;  animation-delay:3s;   }
.drops--sub .drop:nth-child(6)  { width:11px;  height:15px;  left:90%;  animation-duration:9s;   animation-delay:5s;   }

@keyframes drop-rise {
  0%   { transform: translateY(0)    translateX(0)    rotate(0deg)   scale(1);    opacity: 0;   }
  8%   { opacity: 1; }
  40%  { transform: translateY(-38vh) translateX(12px)  rotate(8deg)  scale(1.05); }
  75%  { transform: translateY(-72vh) translateX(-8px)  rotate(-5deg) scale(0.95); opacity: 0.8; }
  100% { transform: translateY(-105vh) translateX(5px)  rotate(3deg)  scale(0.7);  opacity: 0;   }
}

/* Clip-path reveal na slike (scroll animacija) */
.img-reveal {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.9s var(--ease-out);
}
.img-reveal.visible { clip-path: inset(0 0% 0 0); }

/* Pipe flow animacija — dekorativna linija */
.pipe-flow-line {
  position: relative;
  height: 3px;
  background: var(--clr-border);
  border-radius: 2px;
  overflow: hidden;
  margin: var(--sp-6) 0;
}
.pipe-flow-line::after {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--clr-accent), transparent);
  animation: flow 2.5s ease-in-out infinite;
}
@keyframes flow {
  0%   { left: -60%; }
  100% { left: 110%; }
}

/* Hover efekt na service kartice — water ripple */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(0,174,239,.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--dur-base);
  pointer-events: none;
  border-radius: inherit;
}
.service-card:hover::after { opacity: 1; }

/* ---------- FLOATING CTA ---------- */
.float-cta {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  z-index: 800;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  align-items: flex-end;
}
.float-cta-btn {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform var(--dur-fast), box-shadow var(--dur-fast);
}
.float-cta-btn:hover { transform: scale(1.04); }
.float-cta-phone { background: var(--clr-success); }
.float-cta-phone:hover { box-shadow: 0 8px 30px rgba(0,200,83,.45); }
.float-cta-wa { background: #25D366; }
.float-cta-wa:hover { box-shadow: 0 8px 30px rgba(37,211,102,.45); }

/* Pulse animation za phone */
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(0,200,83,.5); }
  70%  { box-shadow: 0 0 0 12px rgba(0,200,83,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,200,83,0); }
}
.float-cta-phone { animation: pulse-ring 2.5s infinite; }

/* ---------- UTILITY ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Skip link — accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--sp-4);
  z-index: 99999;
  background: var(--clr-accent);
  color: #fff;
  padding: var(--sp-3) var(--sp-6);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* Focus visible — keyboard navigation */
:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
a:focus-visible, button:focus-visible { outline-offset: 4px; }
.mt-auto { margin-top: auto; }
.gap-2 { gap: var(--sp-2); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7,30,53,.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: var(--sp-2);
    transform: translateX(100%);
    transition: transform var(--dur-base) var(--ease-out);
    z-index: 850;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu li { width: 100%; text-align: center; }
  .nav-link { display: block; width: 100%; font-size: 1.2rem; padding: var(--sp-3) var(--sp-6); text-align: center; }
  .nav-menu .nav-link { color: rgba(255,255,255,.85); }
  .nav-menu .nav-link.active,
  .nav-menu .nav-link:hover { color: #fff; }
  .header.scrolled .nav-link { color: #fff; }

  .hamburger {
    display: flex;
    background: rgba(0,0,0,.28);
    border-radius: 6px;
    padding: 7px;
    width: 38px;
  }
  .header.scrolled .hamburger { background: rgba(15,89,141,.25); border-radius: 6px; }

  /* Kad je meni otvoren — header uvijek taman, bez obzira na scroll */
  /* backdrop-filter: none je kritično — blur bi napravio containing block za fixed nav-menu */
  .header:has(.hamburger.open) {
    background: rgba(7,30,53,.97) !important;
    backdrop-filter: none !important;
    box-shadow: none;
  }
  .header:has(.hamburger.open) .hamburger span { background: #fff; }
  .header:has(.hamburger.open) .nav-logo img { filter: brightness(0) invert(1); }
  .header:has(.hamburger.open) .theme-toggle {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.15);
  }

  /* Dropdown — mobile */
  .nav-has-dropdown { position: static; }
  .nav-dropdown {
    position: static;
    width: 100%;
    background: transparent;
    box-shadow: none;
    border: none;
    opacity: 1;
    visibility: hidden;
    transform: none;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height .3s ease, visibility 0s .3s;
  }
  .nav-has-dropdown.open > .nav-dropdown {
    visibility: visible;
    max-height: 200px;
    transform: none;
    transition: max-height .3s ease, visibility 0s;
  }
  .nav-dropdown-link {
    font-size: 1rem;
    padding: var(--sp-2) var(--sp-4);
    color: rgba(255,255,255,.65);
    border: none !important;
    text-align: center;
    width: 100%;
    white-space: normal;
  }
  .nav-dropdown-link:hover { background: rgba(255,255,255,.06); color: #fff; }
  .nav-link--dropdown { display: flex !important; justify-content: center; }
  .nav-menu .btn-nav-emergency { display: inline-flex; }
  .nav-menu .theme-toggle { display: inline-block; }

  .hero-content { padding-top: calc(var(--nav-height) + var(--sp-10)); }

  .why-us-grid { grid-template-columns: 1fr 1fr; }
  .why-us-grid--3col { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .footer-bottom { flex-direction: column; text-align: center; }

  .cta-banner { padding: var(--sp-10) var(--sp-6); }

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

  .trust-strip-inner { gap: var(--sp-6); }

  .float-cta-btn span { display: none; }
  .float-cta-btn { padding: var(--sp-4); border-radius: 50%; }

  /* ---- 2-col inline grid → stack na mobitelu ---- */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: var(--sp-8) !important;
  }
  /* Slika/video (zadnji child) ide na vrh — iznad teksta */
  [style*="grid-template-columns:1fr 1fr"] > *:last-child,
  [style*="grid-template-columns: 1fr 1fr"] > *:last-child {
    order: -1;
  }
}

@media (max-width: 480px) {
  .why-us-grid { grid-template-columns: 1fr; }
  .why-us-grid--3col { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-dots { display: none; }
}

/* =========================================
   VIDEO PLACEHOLDER
   ========================================= */
.service-video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  background: linear-gradient(135deg, var(--clr-primary-dark) 0%, var(--clr-primary) 100%);
  color: rgba(255,255,255,.85);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .02em;
  border-top: 1px solid rgba(255,255,255,.08);
  position: relative;
  overflow: hidden;
}

.service-video-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: .4;
}

.service-video-placeholder svg {
  opacity: .7;
  position: relative;
}

.service-video-placeholder span {
  position: relative;
  font-weight: 600;
  color: #fff;
}

.service-video-placeholder small {
  position: relative;
  opacity: .6;
  font-size: .78rem;
}

.service-video-placeholder--large {
  padding: var(--sp-16) var(--sp-8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  font-size: .95rem;
  max-width: 760px;
  margin: 0 auto;
}

/* Videos */
.service-card-video {
  width: 100%;
  display: block;
  max-height: 220px;
  object-fit: cover;
  background: #000;
}

.service-video-large {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  display: block;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

/* 3-column services grid */
.services-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

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

@media (max-width: 600px) {
  .services-grid--3 {
    grid-template-columns: 1fr;
  }
}
