/* =========================================================
   STUDIO 8 — Nenoline Enterijeri
   Dizajn sistem
   ========================================================= */

:root {
  /* Brend boje */
  --orange: #e78d41;
  --orange-dark: #cc7833;
  --ink: #141414;
  --charcoal: #1d1d1d;
  --bg: #ffffff;
  --bg-soft: #f6f4f1;
  --bg-warm: #efece7;
  --muted: #6f6b66;
  --muted-light: #9a958f;
  --line: #e7e3dd;
  --line-dark: #2c2c2c;
  --white: #ffffff;

  /* Tipografija */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Razmaci */
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(64px, 9vw, 140px);

  --radius: 4px;
  --shadow-sm: 0 4px 18px rgba(20, 20, 20, 0.06);
  --shadow-lg: 0 30px 70px rgba(20, 20, 20, 0.16);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ---------- Tipografija ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6.5vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
p { color: var(--ink); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); line-height: 1.7; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--orange);
  display: inline-block;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark p, .section--dark .lead { color: rgba(255,255,255,0.72); }
.center { text-align: center; }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 18px; }

.grid { display: grid; gap: clamp(20px, 3vw, 40px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 15px 30px;
  font-family: var(--font-sans);
  font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.04em;
  border: 1.5px solid transparent;
  border-radius: 100px;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(244,124,32,0.32); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--charcoal); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn--light { border-color: rgba(255,255,255,0.3); color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding-block: 18px;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; z-index: 2; }
.brand img { height: 48px; width: auto; transition: height 0.4s var(--ease); }
.brand .logo-light { display: none; }
.site-header.scrolled { background: rgba(255,255,255,0.92); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); padding-block: 12px; }
.site-header.scrolled .brand img { height: 38px; }
/* Preko tamnog hera (netaknut header) koristi svijetlu verziju logoa */
.site-header.on-hero:not(.scrolled) .logo-dark { display: none; }
.site-header.on-hero:not(.scrolled) .logo-light { display: block; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative;
  padding: 8px 16px;
  font-weight: 600; font-size: 0.92rem;
  color: var(--ink);
  transition: color 0.25s;
}
.nav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px;
  height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--orange); }
.header-cta { margin-left: 10px; }

/* Header preko hera (transparentno, bijeli tekst) */
.site-header.on-hero:not(.scrolled) .nav a { color: #fff; }
.site-header.on-hero:not(.scrolled) .nav a.active { color: var(--orange); }
.site-header.on-hero:not(.scrolled) .burger span { background: #fff; }

/* Hamburger */
.burger { display: none; flex-direction: column; gap: 5px; width: 30px; height: 22px; justify-content: center; background: none; border: 0; z-index: 2; }
.burger span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.25s; }
.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .burger { display: flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 360px);
    background: var(--ink); flex-direction: column; align-items: flex-start;
    justify-content: center; gap: 8px; padding: 40px;
    transform: translateX(100%); transition: transform 0.45s var(--ease);
  }
  .nav a { color: #fff !important; font-size: 1.4rem; font-family: var(--font-display); padding: 10px 0; }
  .nav a::after { display: none; }
  .nav .header-cta { margin: 18px 0 0; }
  .nav-open .nav { transform: translateX(0); }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.45); opacity: 0; visibility: hidden; transition: opacity 0.4s; z-index: 99; }
  .nav-open .nav-backdrop { opacity: 1; visibility: visible; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(15,15,15,0.82) 0%, rgba(15,15,15,0.5) 45%, rgba(15,15,15,0.2) 100%);
}
.hero__inner { padding-block: 140px 80px; max-width: 760px; }
.hero h1 { color: #fff; margin: 22px 0 24px; }
.hero h1 .accent { color: var(--orange); font-style: italic; }
.hero .lead { color: rgba(255,255,255,0.85); max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.7); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__scroll::after { content: ""; width: 1px; height: 40px; background: linear-gradient(rgba(255,255,255,0.7), transparent); animation: scrollLine 2s infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 50.1% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Page hero (manji, za podstranice) */
.page-hero {
  position: relative; padding: 180px 0 70px; color: #fff; overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,15,15,0.78), rgba(15,15,15,0.6)); }
.page-hero h1 { color: #fff; margin-top: 16px; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-top: 18px; letter-spacing: 0.02em; }
.breadcrumb a:hover { color: var(--orange); }

/* =========================================================
   STAT / TRUST BAR
   ========================================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat__num { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 600; color: var(--orange); line-height: 1; }
.stat__label { margin-top: 8px; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.section--dark .stat__label { color: rgba(255,255,255,0.6); }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 36px 16px; } }

/* =========================================================
   FEATURE / SPLIT
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/3.4; object-fit: cover; }
.split__media .badge {
  position: absolute; bottom: -22px; right: -22px;
  background: var(--orange); color: #fff; padding: 22px 26px;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.split__media .badge b { font-family: var(--font-display); font-size: 2rem; display: block; line-height: 1; }
.split__media .badge span { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.9; }
.split__body h2 { margin: 14px 0 20px; }
.split__body .lead { margin-bottom: 24px; }
.ticks { display: grid; gap: 14px; margin: 26px 0 32px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink); }
.ticks li svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--orange); margin-top: 3px; }
.section--dark .ticks li { color: rgba(255,255,255,0.85); }
@media (max-width: 850px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media .badge { right: 18px; bottom: 18px; }
}

/* =========================================================
   USLUGE / SERVICE CARDS
   ========================================================= */
.service-card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px 30px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
  position: relative; overflow: hidden; height: 100%;
}
.service-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--orange); transform: scaleY(0); transform-origin: top; transition: transform 0.4s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleY(1); }
.service-card__icon { width: 52px; height: 52px; display: grid; place-items: center; background: var(--bg-warm); border-radius: 50%; color: var(--orange); margin-bottom: 22px; transition: background 0.4s, color 0.4s; }
.service-card:hover .service-card__icon { background: var(--orange); color: #fff; }
.service-card__icon svg { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 0.97rem; }
.service-card .num { position: absolute; top: 24px; right: 28px; font-family: var(--font-display); font-size: 1.3rem; color: var(--line); }

/* =========================================================
   PROCES
   ========================================================= */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; counter-reset: step; }
.process__step { position: relative; }
.process__step .n {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 600;
  background: var(--bg); color: var(--orange);
  border: 1.5px solid var(--orange);
  margin-bottom: 22px;
}
.section--dark .process__step .n { background: transparent; }
.process__step h3 { font-size: 1.3rem; margin-bottom: 8px; }
.process__step p { color: var(--muted); font-size: 0.95rem; }
.process__step:not(:last-child)::after {
  content: ""; position: absolute; top: 32px; left: 78px; right: -15px; height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
}
.section--dark .process__step:not(:last-child)::after { background: repeating-linear-gradient(90deg, rgba(255,255,255,0.2) 0 8px, transparent 8px 16px); }
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; } .process__step::after { display: none; } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* =========================================================
   GALERIJA
   ========================================================= */
.gallery-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.gallery-filter button {
  padding: 10px 22px; border-radius: 100px; border: 1.5px solid var(--line);
  background: transparent; color: var(--muted); font-weight: 600; font-size: 0.88rem;
  transition: all 0.3s var(--ease);
}
.gallery-filter button:hover { border-color: var(--ink); color: var(--ink); }
.gallery-filter button.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.gallery-grid { columns: 3; column-gap: 18px; }
@media (max-width: 900px) { .gallery-grid { columns: 2; } }
@media (max-width: 560px) { .gallery-grid { columns: 1; } }
.gallery-item {
  position: relative; margin-bottom: 18px; break-inside: avoid;
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  background: var(--bg-warm);
}
.gallery-item img { width: 100%; transition: transform 0.7s var(--ease); display: block; }
.gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(transparent 55%, rgba(15,15,15,0.55));
  opacity: 0; transition: opacity 0.4s;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item .tag {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  color: #fff; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px); transition: all 0.4s var(--ease);
}
.gallery-item:hover .tag { opacity: 1; transform: translateY(0); }
.gallery-item .zoom {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px); display: grid; place-items: center; color: #fff;
  opacity: 0; transform: scale(0.7); transition: all 0.4s var(--ease);
}
.gallery-item:hover .zoom { opacity: 1; transform: scale(1); }
.gallery-item.is-hidden { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(12,12,12,0.94); display: none; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
.lightbox.open { display: flex; opacity: 1; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255,255,255,0.12); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; transition: background 0.25s; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--orange); }
.lightbox__close { top: 26px; right: 26px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav.prev { left: 26px; }
.lightbox__nav.next { right: 26px; }
.lightbox__counter { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.7); font-size: 0.85rem; letter-spacing: 0.1em; }
@media (max-width: 600px) { .lightbox__nav { width: 44px; height: 44px; } .lightbox__nav.prev { left: 10px; } .lightbox__nav.next { right: 10px; } }

/* =========================================================
   PROJEKTI (preview kartice)
   ========================================================= */
.project-card { position: relative; border-radius: var(--radius); overflow: hidden; display: block; aspect-ratio: 3/3.6; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(15,15,15,0.85)); }
.project-card:hover img { transform: scale(1.07); }
.project-card__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 30px; color: #fff; }
.project-card__body .eyebrow { color: var(--orange); }
.project-card__body h3 { color: #fff; margin-top: 8px; font-size: 1.7rem; }
.project-card__body .more { margin-top: 12px; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; display: inline-flex; align-items: center; gap: 6px; opacity: 0; transform: translateY(8px); transition: all 0.4s var(--ease); }
.project-card:hover .more { opacity: 1; transform: translateY(0); }

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner { position: relative; overflow: hidden; text-align: center; color: #fff; }
.cta-banner__media { position: absolute; inset: 0; z-index: -2; }
.cta-banner__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(15,15,15,0.82); }
.cta-banner h2 { color: #fff; max-width: 720px; margin: 16px auto 22px; }
.cta-banner .lead { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 34px; }
.cta-banner__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   KONTAKT
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 70px); }
@media (max-width: 850px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 14px; align-content: start; }
.contact-line { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-line__icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--bg-warm); color: var(--orange); display: grid; place-items: center; }
.contact-line__icon svg { width: 20px; height: 20px; }
.contact-line h4 { font-family: var(--font-sans); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.contact-line a, .contact-line p { font-size: 1.05rem; color: var(--ink); font-weight: 500; }
.contact-line a:hover { color: var(--orange); }

.form { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 8px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; font-family: inherit; font-size: 1rem;
  border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--bg-soft);
  color: var(--ink); transition: border-color 0.25s, background 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form-status { margin-top: 16px; padding: 14px; border-radius: var(--radius); font-size: 0.92rem; text-align: center; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #e9f6ec; color: #1f7a3a; }
.form-status.err { background: #fbe9e9; color: #b3261e; }

.map-wrap { margin-top: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; filter: grayscale(0.2) contrast(1.05); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); }
.faq__q .ic { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; position: relative; transition: all 0.3s; }
.faq__q .ic::before, .faq__q .ic::after { content: ""; position: absolute; background: var(--ink); transition: transform 0.3s; }
.faq__q .ic::before { width: 12px; height: 1.5px; }
.faq__q .ic::after { width: 1.5px; height: 12px; }
.faq__item.open .faq__q .ic { background: var(--orange); border-color: var(--orange); }
.faq__item.open .faq__q .ic::before, .faq__item.open .faq__q .ic::after { background: #fff; }
.faq__item.open .faq__q .ic::after { transform: scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq__a p { padding-bottom: 24px; color: var(--muted); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding-top: clamp(56px, 7vw, 90px); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-dark); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 540px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand img { height: 53px; margin-bottom: 20px; }
.footer-brand p { font-size: 0.95rem; max-width: 320px; }
.footer-col h4 { font-family: var(--font-sans); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: 20px; font-weight: 700; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 0.95rem; transition: color 0.25s; }
.footer-col a:hover { color: var(--orange); }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 0.95rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--orange); flex-shrink: 0; margin-top: 3px; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: all 0.3s; }
.footer-social a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-block: 26px; font-size: 0.85rem; }
.footer-bottom a:hover { color: var(--orange); }

/* =========================================================
   ANIMACIJE (reveal on scroll)
   ========================================================= */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* =========================================================
   FLOATING KONTAKT DUGMAD (WhatsApp + Viber)
   ========================================================= */
.float-contacts {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: flex; flex-direction: column; gap: 14px;
}
.float-btn {
  position: relative; width: 58px; height: 58px; border-radius: 50%;
  color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(20, 20, 20, 0.22);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.float-btn svg { width: 32px; height: 32px; position: relative; z-index: 1; }
.float-btn:hover { transform: translateY(-3px) scale(1.05); }
.float-btn::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid currentColor; animation: waPulse 2.4s ease-out infinite;
}
.wa-float { background: #25d366; }
.wa-float:hover { box-shadow: 0 14px 34px rgba(37, 211, 102, 0.55); }
.viber-float { background: #7360f2; }
.viber-float:hover { box-shadow: 0 14px 34px rgba(115, 96, 242, 0.55); }
@keyframes waPulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.7); opacity: 0; } }
@media (max-width: 600px) {
  .float-contacts { right: 16px; bottom: 16px; gap: 12px; }
  .float-btn { width: 52px; height: 52px; }
  .float-btn svg { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) { .float-btn::before { animation: none; } }

/* =========================================================
   RECENZIJE / POVJERENJE
   ========================================================= */
.reviews-hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(28px, 5vw, 72px); margin-bottom: clamp(40px, 5vw, 64px); }
.rating-big { text-align: center; }
.rating-big .num { font-family: var(--font-display); font-size: clamp(3.4rem, 7vw, 5rem); font-weight: 600; line-height: 1; color: var(--ink); }
.rating-big .num small { font-size: 0.4em; color: var(--muted); }
.rating-big .stars { display: flex; gap: 4px; justify-content: center; margin: 10px 0 8px; }
.rating-big .stars svg { width: 24px; height: 24px; color: var(--orange); }
.rating-big .src { font-size: 0.9rem; color: var(--muted); }
.rating-big .src a { color: var(--orange); font-weight: 600; }
.reviews-divider { width: 1px; align-self: stretch; background: var(--line); }
@media (max-width: 620px) { .reviews-divider { display: none; } }

.trust-badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 24px); }
@media (max-width: 760px) { .trust-badges { grid-template-columns: repeat(2, 1fr); } }
.trust-badge { text-align: center; padding: 26px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.trust-badge:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.trust-badge .b-num { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; color: var(--orange); line-height: 1; }
.trust-badge .b-label { margin-top: 8px; font-size: 0.85rem; color: var(--muted); letter-spacing: 0.02em; }
.trust-badge .b-logo { height: 30px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.trust-badge .b-logo svg { height: 30px; width: auto; display: block; }
a.trust-badge { text-decoration: none; color: inherit; display: block; }
.src .g-mark { height: 16px; width: auto; vertical-align: -3px; margin-right: 2px; }

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 28px); margin-top: clamp(36px, 4vw, 52px); }
@media (max-width: 880px) { .review-grid { grid-template-columns: 1fr; } }
.review-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; position: relative; }
.review-card .quote-mark { font-family: var(--font-display); font-size: 3.4rem; line-height: 0.6; color: var(--orange); opacity: 0.3; }
.review-card .stars { display: flex; gap: 3px; margin: 6px 0 14px; }
.review-card .stars svg { width: 16px; height: 16px; color: var(--orange); }
.review-card p { font-size: 1.02rem; color: var(--ink); line-height: 1.6; }
.review-card .author { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.review-card .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--bg-warm); color: var(--orange); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.review-card .author b { display: block; font-size: 0.95rem; }
.review-card .author span { font-size: 0.82rem; color: var(--muted); }

/* =========================================================
   WHATSAPP / VIBER (legacy alias zadržan)
   ========================================================= */

/* Utility */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.text-orange { color: var(--orange); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
