/* ============================================================
   DISTEFANO FRIGO — dizajn sistem
   Crno · belo · zlatna (samo naziv i sitni akcenti)
   ============================================================ */

/* ---------- 1. TOKENI ---------- */
:root {
  /* Osnova */
  --black:    #0B0B0C;
  --black-2:  #121213;
  --black-3:  #191819;
  --ink:      #111113;
  --white:    #FFFFFF;
  --off:      #FAFAF9;

  /* Neutralne sa blagim toplim pomakom ka zlatnoj */
  --n-900: #1C1B1A;
  --n-700: #46443F;
  --n-500: #767268;
  --n-400: #9B968C;
  --n-300: #C6C2B9;
  --n-200: #E4E1DA;
  --n-100: #F1EFEA;

  /* Zlatna — rezervisana za naziv i sitne akcente */
  --gold:      #CBA355;
  --gold-deep: #9C7A33;
  --gold-soft: #E6D6AE;

  /* Linije */
  --line-dark:  #2A2724;
  --line-dark-2:#3A362F;
  --line-light: #E4E1DA;

  /* Semantika — svetla sekcija */
  --bg:      var(--white);
  --surface: var(--off);
  --text:    var(--ink);
  --text-2:  var(--n-700);
  --text-3:  var(--n-500);
  --line:    var(--line-light);

  /* Tipografija */
  --serif: "Bodoni Moda", "Times New Roman", Georgia, serif;
  --sans:  "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* Razmaci */
  --s1: .25rem; --s2: .5rem;  --s3: .75rem; --s4: 1rem;
  --s5: 1.5rem; --s6: 2rem;   --s7: 3rem;   --s8: 4rem;
  --s9: 6rem;   --s10: 8rem;

  --r-sm: 4px; --r-md: 8px; --r-lg: 14px; --r-full: 100px;

  --shadow-sm: 0 1px 2px rgba(11,11,12,.05), 0 1px 3px rgba(11,11,12,.04);
  --shadow-md: 0 6px 18px -6px rgba(11,11,12,.12), 0 2px 6px rgba(11,11,12,.05);
  --shadow-lg: 0 24px 50px -18px rgba(11,11,12,.28), 0 6px 16px rgba(11,11,12,.07);

  --maxw: 1200px;
  --nav-h: 78px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.68;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* ---------- 3. TIPOGRAFIJA ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--text);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 1.5rem + 3.8vw, 4.4rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.85rem, 1.35rem + 2.2vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); line-height: 1.25; }
p  { color: var(--text-2); }

.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: .72rem; font-weight: 500; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold-deep);
  margin-bottom: var(--s4);
}
.lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.22rem); color: var(--text-2); max-width: 62ch; }

/* ---------- 4. LAYOUT ---------- */
.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 2rem + 7vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.section--surface { background: var(--surface); }

/* Tamne sekcije — invertovani tokeni */
.section--dark,
.dark-zone {
  --bg: var(--black);
  --surface: var(--black-2);
  --text: var(--white);
  --text-2: var(--n-300);
  --text-3: var(--n-400);
  --line: var(--line-dark);
  background: var(--black);
  color: var(--white);
}
.section--dark h1, .section--dark h2, .section--dark h3,
.dark-zone h1, .dark-zone h2, .dark-zone h3 { color: var(--white); }
.section--dark p, .dark-zone p { color: var(--n-300); }
.section--dark .eyebrow, .dark-zone .eyebrow { color: var(--gold); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: var(--s4); }

/* ---------- 5. DUGMAD ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .92rem 1.7rem;
  font-family: var(--sans); font-weight: 500; font-size: .95rem;
  letter-spacing: .04em;
  border: 1px solid transparent; border-radius: var(--r-sm);
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              color .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 1.08rem 2.1rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* na svetloj podlozi */
.btn--solid { background: var(--ink); color: var(--white); }
.btn--solid:hover { background: #000; box-shadow: var(--shadow-md); }
.btn--outline { border-color: var(--n-300); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); background: var(--n-100); }

/* na tamnoj podlozi */
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--n-100); box-shadow: 0 12px 28px -10px rgba(255,255,255,.3); }
.btn--ghost { border-color: rgba(255,255,255,.28); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.07); }

/* zlatna — samo za primarni poziv */
.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: var(--gold-soft); box-shadow: 0 14px 30px -10px rgba(203,163,85,.5); }

/* ---------- 6. TOP TRAKA + NAVIGACIJA ---------- */
.topbar {
  background: var(--black); color: var(--n-400);
  font-size: .8rem; letter-spacing: .02em;
  border-bottom: 1px solid var(--line-dark);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: center;
  gap: 1.5rem; min-height: 40px; padding-block: .3rem;
}
.topbar a { display: inline-flex; align-items: center; gap: .4rem; transition: color .16s; }
.topbar a:hover { color: var(--white); }
.topbar svg { width: 13px; height: 13px; opacity: .7; }
.topbar__sep { opacity: .28; }
@media (max-width: 900px) { .topbar__inner > *:nth-child(n+4) { display: none; } }
@media (max-width: 620px) { .topbar__inner > *:nth-child(n+2) { display: none; } }

.nav {
  position: sticky; top: 0; z-index: 70;
  background: rgba(11,11,12,.9);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background-color .25s;
}
.nav.is-stuck { border-bottom-color: var(--line-dark); background: rgba(11,11,12,.97); }
.nav__inner { display: flex; align-items: center; gap: var(--s5); min-height: var(--nav-h); }

.brand { margin-right: auto; display: block; flex: none; }
.brand img { height: 46px; width: auto; }
.brand__compact { display: none; }
@media (max-width: 1080px) {
  .brand__full { display: none; }
  .brand__compact { display: block; }
  .brand img { height: 40px; }
}

.nav__links { display: flex; align-items: center; gap: .15rem; }
.nav__links a {
  position: relative;
  padding: .55rem .82rem; border-radius: var(--r-sm);
  font-size: .9rem; font-weight: 400; letter-spacing: .02em;
  color: var(--n-300); transition: color .16s;
}
.nav__links a::after {
  content: ""; position: absolute; left: .82rem; right: .82rem; bottom: .3rem;
  height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .22s var(--ease);
}
.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: .55rem; }

.lang { display: inline-flex; padding: 2px; border: 1px solid var(--line-dark-2); border-radius: var(--r-sm); }
.lang button {
  padding: .3rem .6rem; border-radius: 2px;
  font-size: .74rem; font-weight: 500; letter-spacing: .1em;
  color: var(--n-400); transition: background-color .18s, color .18s;
}
.lang button[aria-pressed="true"] { background: var(--white); color: var(--black); }

.nav__toggle { display: none; padding: .45rem; color: var(--white); }
.nav__toggle svg { width: 26px; height: 26px; }

@media (max-width: 1080px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--black); border-bottom: 1px solid var(--line-dark);
    padding: var(--s3) var(--s5) var(--s6);
    max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
  }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links li:not(.nav__cta-m) a {
    display: block; padding: .9rem .3rem; border-radius: 0; font-size: 1.02rem;
    border-bottom: 1px solid var(--line-dark); color: var(--white);
  }
  .nav__links li:not(.nav__cta-m) a::after { display: none; }
  .nav__cta-d { display: none; }
  .nav__cta-m { display: block; margin-top: var(--s4); }
}
.nav__cta-m { display: none; }

/* ---------- 7. HERO ---------- */
.hero { position: relative; overflow: hidden; background: var(--black); color: var(--white); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(1100px 620px at 74% -12%, rgba(203,163,85,.10) 0%, transparent 62%),
    radial-gradient(700px 460px at 8% 108%, rgba(255,255,255,.05) 0%, transparent 60%);
}
.hero__grid-lines {
  position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image: linear-gradient(to right, var(--line-dark) 1px, transparent 1px);
  background-size: 25% 100%;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
}
.hero__inner {
  position: relative; z-index: 1;
  padding-block: clamp(3.5rem, 2rem + 8vw, 8rem) clamp(3rem, 2rem + 5vw, 5.5rem);
}
.hero__badge {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .45rem 1rem;
  border: 1px solid var(--line-dark-2); border-radius: var(--r-full);
  font-size: .8rem; letter-spacing: .06em; color: var(--n-300);
  margin-bottom: var(--s5);
}
.hero__badge b { color: var(--gold); font-weight: 500; }
.hero h1 { color: var(--white); max-width: 24ch; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero__lead { margin-top: var(--s5); color: var(--n-300); max-width: 54ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }

.hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; margin-top: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  background: var(--line-dark); border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.hero__stat { background: var(--black); padding: 1.5rem 1.35rem; }
.hero__stat b {
  display: flex; align-items: flex-end;
  min-height: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem);
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); color: var(--gold); line-height: 1;
  letter-spacing: -.02em;
}
.hero__stat b.hero__stat--sm {
  font-size: clamp(1.45rem, 1.15rem + 1vw, 2.05rem);
  white-space: nowrap; letter-spacing: -.01em;
}
.hero__stat span { display: block; margin-top: .5rem; font-size: .84rem; color: var(--n-400); line-height: 1.45; }
@media (max-width: 860px) { .hero__stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 8. O NAMA ---------- */
.about { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1fr); gap: clamp(2rem,4vw,5rem); align-items: start; }
@media (max-width: 940px) { .about { grid-template-columns: 1fr; } }
.about__body p + p { margin-top: var(--s4); }
.about__quote {
  margin-top: var(--s6); padding: var(--s5) var(--s5) var(--s5) var(--s6);
  border-left: 2px solid var(--gold);
  background: var(--surface);
}
.about__quote p { font-family: var(--serif); font-size: clamp(1.15rem,1rem + .7vw,1.45rem); color: var(--text); font-style: italic; line-height: 1.4; }
.about__quote span { display: block; margin-top: .7rem; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }

.about__facts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fact { background: var(--bg); padding: 1.35rem 1.5rem; display: flex; gap: 1rem; align-items: flex-start; }
.fact svg { width: 21px; height: 21px; flex: none; color: var(--gold-deep); margin-top: 3px; }
.fact b { display: block; font-size: .98rem; font-weight: 500; color: var(--text); }
.fact span { display: block; font-size: .87rem; color: var(--text-3); margin-top: .2rem; line-height: 1.5; }

/* ---------- 9. USLUGE ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 940px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } }
.svc {
  background: var(--bg); padding: clamp(1.6rem,1.2rem + 1.4vw,2.2rem);
  display: flex; flex-direction: column;
  transition: background-color .25s var(--ease);
}
.svc:hover { background: var(--surface); }
.svc__no {
  font-family: var(--serif); font-size: .95rem; color: var(--gold-deep);
  letter-spacing: .08em; margin-bottom: var(--s5);
}
.svc__icon { width: 34px; height: 34px; color: var(--text); margin-bottom: var(--s4); }
.svc h3 { margin-bottom: .55rem; }
.svc p { font-size: .93rem; }
.svc ul { margin-top: var(--s4); display: grid; gap: .4rem; }
.svc li { font-size: .86rem; color: var(--text-3); display: flex; gap: .5rem; }
.svc li::before { content: "—"; color: var(--gold-deep); flex: none; }

/* ---------- 10. KAKO RADIMO ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem,2.5vw,2.5rem); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: var(--s5); }
.step::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--line);
}
.step::after {
  content: ""; position: absolute; top: 0; left: 0; width: 46px; height: 1px;
  background: var(--gold);
}
.step__no {
  font-family: var(--serif); font-size: 2.4rem; font-weight: 500;
  color: var(--gold); line-height: 1; letter-spacing: -.04em; display: block;
  margin-bottom: var(--s3);
}
.section--dark .step__no { color: var(--gold); }
.step h3 { margin-bottom: .45rem; }
.step p { font-size: .9rem; }

/* ---------- 11. BRENDOVI ---------- */
.brands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 760px) { .brands { grid-template-columns: repeat(2, 1fr); } }
.brand-cell {
  background: var(--bg); padding: clamp(1.5rem,1.2rem + 1vw,2rem);
  display: flex; flex-direction: column; gap: .5rem; min-height: 150px;
}
.brand-cell b {
  font-family: var(--serif); font-size: clamp(1.35rem,1.2rem + .7vw,1.75rem);
  font-weight: 500; letter-spacing: -.01em; color: var(--text);
}
.brand-cell span { font-size: .85rem; color: var(--text-3); line-height: 1.5; }
.brand-note { margin-top: var(--s5); font-size: .88rem; color: var(--text-3); max-width: 62ch; }

/* ---------- 12. GARANCIJA ---------- */
.warranty { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.85fr); gap: clamp(2rem,4vw,4.5rem); align-items: center; }
@media (max-width: 900px) { .warranty { grid-template-columns: 1fr; } }
.warranty__card {
  border: 1px solid var(--line); padding: clamp(1.75rem,1.4rem + 1.6vw,2.5rem);
  background: var(--surface);
}
.warranty__row { display: flex; gap: 1rem; padding-block: 1.1rem; border-bottom: 1px solid var(--line); }
.warranty__row:last-child { border-bottom: 0; padding-bottom: 0; }
.warranty__row:first-child { padding-top: 0; }
.warranty__row svg { width: 20px; height: 20px; flex: none; color: var(--gold); margin-top: 3px; }
.warranty__row b { display: block; font-size: .98rem; font-weight: 500; color: var(--text); }
.warranty__row p { font-size: .88rem; margin-top: .2rem; }

/* ---------- 13. REFERENCE ---------- */
.ref-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: var(--s6); }
.ref-filter button {
  padding: .5rem 1.05rem; font-size: .84rem; letter-spacing: .04em;
  border: 1px solid var(--line); border-radius: var(--r-full);
  color: var(--text-2); transition: all .18s var(--ease);
}
.ref-filter button:hover { border-color: var(--text-3); color: var(--text); }
.ref-filter button[aria-pressed="true"] {
  background: var(--ink); border-color: var(--ink); color: var(--white);
}
.section--dark .ref-filter button[aria-pressed="true"],
.dark-zone .ref-filter button[aria-pressed="true"] {
  background: var(--white); border-color: var(--white); color: var(--black);
}

.refs { border-top: 1px solid var(--line); }
.ref { border-bottom: 1px solid var(--line); }
.ref[hidden] { display: none; }
.ref summary {
  display: flex; align-items: center; gap: clamp(1rem,2vw,1.75rem);
  padding: 1.35rem .25rem; cursor: pointer; list-style: none;
  transition: background-color .2s var(--ease);
}
.ref summary::-webkit-details-marker { display: none; }
.ref summary:hover { background: var(--surface); }
.ref__logo {
  width: 128px; height: 52px; flex: none;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  border-radius: var(--r-sm);
  background: var(--white);
  padding: 6px 10px;
  transition: transform .2s var(--ease);
}
.ref summary:hover .ref__logo { transform: translateY(-1px); }
.ref__logo img {
  width: auto; height: auto;
  max-width: 108px; max-height: 40px;
  object-fit: contain;
}
.ref__logo--empty,
.ref__logo--icon {
  background: transparent; border: 1px dashed var(--line);
}
.ref__logo--icon { color: var(--n-400); }
.ref__logo--icon svg { width: 22px; height: 22px; }
.ref__logo span {
  font-size: .56rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--n-400); text-align: center; line-height: 1.3;
}
/* pločica sa ikonicom delatnosti — za reference bez logotipa */
.ref__logo--mark {
  background: linear-gradient(158deg, rgba(203,163,85,.17), rgba(203,163,85,.05));
  border: 1px solid rgba(203,163,85,.30);
  color: var(--gold);
}
.ref__logo--mark svg { width: 25px; height: 25px; }
@media (max-width: 720px) { .ref__logo--mark svg { width: 22px; height: 22px; } }

/* lokacija uz delatnost */
.ref__name span span { display: inline; }
.ref__loc { font-style: normal; color: var(--gold-deep); white-space: nowrap; }
.section--dark .ref__loc, .dark-zone .ref__loc { color: var(--gold); }
.ref__loc::before { content: '·'; margin: 0 .5em; color: var(--text-3); }
@media (max-width: 560px) {
  .ref__loc { display: block; }
  .ref__loc::before { content: none; }
}

/* inicijali umesto logotipa — za reference koje nemaju svoj znak */
.ref__logo--text {
  background: var(--white);
  border: 1px solid var(--n-200);
}
.ref__logo--text span {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.05rem; letter-spacing: .06em; text-transform: none;
  color: var(--n-700); line-height: 1;
}
@media (max-width: 720px) {
  .ref__logo--text span { font-size: .95rem; }
}

.ref__name { flex: 1; min-width: 0; }
.ref__name b {
  display: block; font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.1rem,1rem + .5vw,1.35rem); color: var(--text); letter-spacing: -.01em;
}
.ref__name span { display: block; font-size: .84rem; color: var(--text-3); margin-top: .15rem; }
.ref__tag {
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-deep); white-space: nowrap;
}
.section--dark .ref__tag, .dark-zone .ref__tag { color: var(--gold); }
.ref__chev {
  width: 34px; height: 34px; flex: none; border: 1px solid var(--line);
  border-radius: 50%; display: grid; place-items: center; color: var(--text-2);
  transition: transform .25s var(--ease), border-color .2s, color .2s;
}
.ref__chev svg { width: 15px; height: 15px; }
.ref[open] .ref__chev { transform: rotate(180deg); border-color: var(--gold); color: var(--gold-deep); }
.section--dark .ref[open] .ref__chev, .dark-zone .ref[open] .ref__chev { color: var(--gold); }
@media (max-width: 720px) {
  .ref summary { flex-wrap: wrap; gap: .8rem 1rem; }
  .ref__logo { width: 104px; height: 42px; padding: 5px 8px; }
  .ref__logo img { max-width: 88px; max-height: 32px; }
  .ref__tag { order: 3; width: 100%; }
}

.ref__body { padding: 0 .25rem 2rem; }
.ref__meta {
  display: flex; flex-wrap: wrap; gap: .5rem 2rem;
  padding-bottom: var(--s5); margin-bottom: var(--s5);
  border-bottom: 1px solid var(--line);
  font-size: .86rem; color: var(--text-3);
}
.ref__meta b { color: var(--text); font-weight: 500; }
.ref__gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
@media (max-width: 900px) { .ref__gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .ref__gallery { grid-template-columns: repeat(2, 1fr); } }
.shot {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
  border: 1px dashed var(--line); border-radius: var(--r-sm);
  background: var(--surface);
  display: grid; place-items: center; text-align: center; padding: .75rem;
}
.shot--has { border-style: solid; padding: 0; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot__ph { color: var(--n-400); }
.shot__ph svg { width: 24px; height: 24px; margin: 0 auto .4rem; opacity: .6; }
.shot__ph span { font-size: .68rem; letter-spacing: .08em; }

/* video u galeriji — poster + dugme za reprodukciju */
.shot--video::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.06) 0%, rgba(0,0,0,.32) 100%);
  pointer-events: none;
  transition: opacity .25s var(--ease);
}
.shot--video .shot__play {
  position: relative; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.92); color: var(--n-900);
  box-shadow: 0 6px 20px rgba(0,0,0,.28);
  transition: transform .25s var(--ease), background-color .2s;
  pointer-events: none;
}
.shot--video .shot__play svg { width: 20px; height: 20px; margin-left: 2px; }
.shot--video:hover .shot__play { transform: scale(1.08); background: var(--white); }
@media (max-width: 600px) {
  .shot--video .shot__play { width: 38px; height: 38px; }
  .shot--video .shot__play svg { width: 16px; height: 16px; }
}
.ref__note {
  margin-top: var(--s4); font-size: .8rem; color: var(--text-3);
  display: flex; gap: .5rem; align-items: flex-start;
}
.ref__note svg { width: 15px; height: 15px; flex: none; margin-top: 3px; color: var(--gold-deep); }

/* ---------- 14. PARTNERI (rezervisano) ---------- */
.partners {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
@media (max-width: 860px) { .partners { grid-template-columns: repeat(2, 1fr); } }
.ptile {
  background: var(--white); min-height: 132px;
  display: grid; place-items: center; padding: 1.6rem 1.8rem;
  transition: background-color .22s var(--ease);
}
.ptile:hover { background: var(--n-100); }
.ptile img {
  max-width: 100%; max-height: 66px; width: auto; height: auto;
  object-fit: contain;
  transition: transform .25s var(--ease);
}
.ptile:hover img { transform: scale(1.04); }
.ptile--text span {
  font-family: var(--serif); font-size: 1.3rem; font-weight: 500;
  color: var(--n-500); letter-spacing: -.01em;
}
/* ako poslednja pločica ostane sama u redu, razvuci je — bez praznih polja */
.ptile:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
@media (max-width: 860px) {
  .ptile:last-child:nth-child(3n+1) { grid-column: auto; }
  .ptile:last-child:nth-child(2n+1) { grid-column: 1 / -1; }
}

.partners-slot {
  border: 1px dashed var(--line);
  padding: clamp(2rem,1.5rem + 3vw,3.5rem);
  text-align: center;
}
.partners-slot__icon {
  width: 46px; height: 46px; margin: 0 auto var(--s4);
  display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%;
  color: var(--gold-deep);
}
.partners-slot__icon svg { width: 22px; height: 22px; }
.partners-slot h3 { margin-bottom: .6rem; }
.partners-slot p { font-size: .93rem; max-width: 52ch; margin-inline: auto; }
.partners-row {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px;
  margin-top: var(--s6); background: var(--line); border: 1px solid var(--line);
}
@media (max-width: 760px) { .partners-row { grid-template-columns: repeat(2, 1fr); } }
.partners-row div {
  background: var(--bg); min-height: 84px; display: grid; place-items: center;
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--n-400);
}

/* ---------- 15. FAQ ---------- */
.faq { max-width: 48rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  padding: 1.3rem 0; cursor: pointer; list-style: none;
  font-size: 1.02rem; font-weight: 400; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; font-size: 1.4rem; line-height: 1;
  color: var(--gold-deep); transition: transform .25s var(--ease);
  font-weight: 300;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__body { padding-bottom: 1.4rem; }
.faq__body p { font-size: .95rem; max-width: 60ch; }

/* ---------- 16. KONTAKT / FORMA ---------- */
.contact { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1fr); gap: clamp(2rem,4vw,4.5rem); align-items: start; }
@media (max-width: 940px) { .contact { grid-template-columns: 1fr; } }
.cinfo-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cinfo { background: var(--bg); padding: 1.25rem 1.4rem; display: flex; gap: 1rem; align-items: flex-start;
         transition: background-color .18s; }
a.cinfo:hover { background: var(--surface); }
.cinfo__icon { width: 20px; height: 20px; flex: none; color: var(--gold-deep); margin-top: 4px; }
.cinfo__t { flex: 1; min-width: 0; }
.cinfo__label { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.cinfo__val { display: block; font-size: 1rem; font-weight: 400; color: var(--text); margin-top: .2rem; overflow-wrap: anywhere; }
.cinfo__note { display: block; font-size: .8rem; color: var(--text-3); margin-top: .15rem; }

.form-card { border: 1px solid var(--line); padding: clamp(1.6rem,1.3rem + 1.8vw,2.5rem); background: var(--bg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .82rem; letter-spacing: .04em; color: var(--text-2); }
.field label .req { color: var(--gold-deep); }
.field input, .field select, .field textarea {
  padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg); color: var(--text); font-size: .97rem; width: 100%;
  transition: border-color .16s, box-shadow .16s;
}
.field textarea { resize: vertical; min-height: 122px; }
.field select {
  appearance: none; cursor: pointer; padding-right: 2.6rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239C7A33' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 15px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(203,163,85,.16);
}
.field input::placeholder, .field textarea::placeholder { color: var(--n-400); }
.form-foot { margin-top: var(--s5); display: grid; gap: var(--s4); }
.form-privacy { font-size: .79rem; color: var(--text-3); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 17. FOOTER ---------- */
.footer { background: var(--black); color: var(--n-400); padding-block: var(--s8) var(--s5); }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: var(--s6); }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }
.footer img.footer__logo { height: 78px; width: auto; margin-bottom: var(--s5); }
.footer__about { font-size: .88rem; color: var(--n-400); max-width: 34ch; line-height: 1.65; }
.footer h4 {
  font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .18em;
  text-transform: uppercase; color: var(--white); margin-bottom: var(--s4);
}
.footer ul { display: grid; gap: .6rem; }
.footer li, .footer p.fline { font-size: .88rem; color: var(--n-400); }
.footer a:hover { color: var(--white); }
.footer__social { display: flex; gap: .5rem; margin-top: var(--s5); }
.footer__social a {
  width: 38px; height: 38px; border: 1px solid var(--line-dark-2);
  display: grid; place-items: center; color: var(--n-300);
  transition: background-color .18s, color .18s, border-color .18s;
}
.footer__social a:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.footer__social svg { width: 17px; height: 17px; }
.footer__bottom {
  margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3);
  font-size: .8rem; color: var(--n-500);
}

/* ---------- 18. PLUTAJUĆE DUGME ZA POZIV ---------- */
.callfab {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .95rem 1.4rem; border-radius: var(--r-full);
  background: var(--gold); color: var(--black);
  font-weight: 500; font-size: .95rem; letter-spacing: .03em;
  box-shadow: 0 14px 34px -10px rgba(203,163,85,.55), 0 3px 10px rgba(0,0,0,.25);
  transition: transform .2s var(--ease), background-color .2s;
}
.callfab:hover { transform: translateY(-2px); background: var(--gold-soft); }
.callfab svg { width: 19px; height: 19px; }
.callfab[aria-expanded="true"] { background: var(--white); }
@media (max-width: 560px) { .callfab { right: 1rem; bottom: 1rem; padding: .9rem 1.25rem; } }

.callsheet-bd {
  position: fixed; inset: 0; z-index: 95; background: rgba(11,11,12,.62);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .25s var(--ease);
}
.callsheet-bd.is-open { opacity: 1; pointer-events: auto; }

.callsheet {
  position: fixed; z-index: 100;
  right: 1.25rem; bottom: 5.4rem; width: min(24rem, calc(100vw - 2.5rem));
  background: var(--white); color: var(--ink);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 1.5rem 1.4rem 1.35rem;
  transform: translateY(12px) scale(.97); opacity: 0; pointer-events: none;
  transform-origin: bottom right;
  transition: opacity .24s var(--ease), transform .24s var(--ease);
}
.callsheet.is-open { transform: none; opacity: 1; pointer-events: auto; }
@media (max-width: 560px) {
  .callsheet {
    right: 0; left: 0; bottom: 0; width: 100%;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    padding-bottom: calc(1.4rem + env(safe-area-inset-bottom));
    transform-origin: bottom center; transform: translateY(100%);
  }
  .callsheet.is-open { transform: none; }
}
.callsheet__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.15rem; }
.callsheet__head b { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.callsheet__head span { display: block; font-size: .82rem; color: var(--n-500); margin-top: .15rem; }
.callsheet__close { width: 32px; height: 32px; flex: none; display: grid; place-items: center;
                    border-radius: 50%; color: var(--n-500); transition: background-color .16s; }
.callsheet__close:hover { background: var(--n-100); color: var(--ink); }
.callsheet__close svg { width: 17px; height: 17px; }

.callnum + .callnum { margin-top: 1.05rem; padding-top: 1.05rem; border-top: 1px solid var(--n-200); }
.callnum__label { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; margin-bottom: .6rem; }
.callnum__label b { font-size: 1rem; font-weight: 500; letter-spacing: .02em; }
.callnum__label span { font-size: .84rem; letter-spacing: .01em; color: var(--n-500); }
.callnum__acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; }
.callact {
  display: flex; flex-direction: column; align-items: center; gap: .38rem;
  padding: .72rem .3rem; border: 1px solid var(--n-200); border-radius: var(--r-sm);
  font-size: .74rem; letter-spacing: .04em; color: var(--ink);
  transition: border-color .16s, background-color .16s, transform .16s var(--ease);
}
.callact:hover { border-color: var(--ink); background: var(--n-100); transform: translateY(-1px); }
.callact svg { width: 19px; height: 19px; }
.callact--viber svg { color: #7360F2; }
.callact--wa svg { color: #25D366; }

/* ---------- 19. ANIMACIJA POJAVLJIVANJA ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200;
             background: var(--black); color: var(--white); padding: .8rem 1.3rem; }
.skip-link:focus { left: 0; }

@media print {
  .nav, .topbar, .callfab, .callsheet, .callsheet-bd, .footer__social { display: none !important; }
  body { color: #000; background: #fff; }
}

/* ---------- 20. UVEĆAVANJE SLIKE (lightbox) ---------- */
.shot--has { cursor: zoom-in; }
.lb {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(6,6,7,.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .22s var(--ease);
}
.lb.is-open { opacity: 1; pointer-events: auto; }
.lb__img {
  max-width: min(92vw, 1500px); max-height: 86vh;
  width: auto; height: auto; object-fit: contain;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.8);
}
.lb__btn {
  position: absolute; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.09); color: var(--white);
  border: 1px solid rgba(255,255,255,.16);
  transition: background-color .18s var(--ease), border-color .18s var(--ease);
}
.lb__btn:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.4); }
.lb__btn svg { width: 20px; height: 20px; }
.lb__close { top: 1.25rem; right: 1.25rem; }
.lb__prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lb__next { right: 1.25rem; top: 50%; transform: translateY(-50%); }
.lb__count {
  position: absolute; bottom: 1.35rem; left: 50%; transform: translateX(-50%);
  font-size: .82rem; letter-spacing: .12em; color: var(--n-400);
  font-variant-numeric: tabular-nums;
}
.lb__video {
  max-width: min(92vw, 1200px); max-height: 86vh;
  width: auto; height: auto;
  background: #000; border-radius: var(--r-sm);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.8);
}
.lb__img[hidden], .lb__video[hidden] { display: none; }
.shot--video { cursor: pointer; }

@media (max-width: 620px) {
  .lb__img { max-width: 94vw; max-height: 78vh; }
  .lb__video { max-width: 94vw; max-height: 74vh; }
  .lb__btn { width: 42px; height: 42px; }
  .lb__prev { left: .6rem; } .lb__next { right: .6rem; }
  .lb__close { top: .8rem; right: .8rem; }
}

body.lb-open .callfab { opacity: 0; pointer-events: none; }
