/* =========================================================
   KBT INstitut — dizajn sistem
   Teget (poverenje) · topla krem pozadina (mir) · narandžasta i
   senf iz logotipa i fotelja (toplina). Serif za naslove, čist sans za tekst.
   ========================================================= */

:root {
  --ink: #13233a;
  --ink-2: #1c3150;
  --navy: #234a78;
  --brand: #2b6cb0;
  --orange: #e2702a;
  --orange-2: #f28c28;
  --ochre: #c99a2e;
  --ochre-soft: #ecd9a6;
  --cream: #f7f2ea;
  --cream-2: #efe6d8;
  --paper: #fffdf9;
  --text: #22324a;
  --muted: #5d6879;
  --line: rgba(19, 35, 58, 0.12);
  --line-strong: rgba(19, 35, 58, 0.22);
  --heading: var(--ink);
  --field-focus: #fff;
  --header-glass: rgba(247, 242, 234, 0.82);
  --footer: #0e1a2c;

  --tone-0: #dfe7f1;
  --tone-1: #f3dcc8;
  --tone-2: #efe2bd;
  --tone-3: #e4ddd3;

  --serif: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius: 22px;
  --radius-lg: 36px;
  --shadow: 0 1px 2px rgba(19, 35, 58, 0.04), 0 12px 32px -12px rgba(19, 35, 58, 0.16);
  --shadow-lg: 0 30px 80px -30px rgba(19, 35, 58, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 84px;
  --section: clamp(56px, 7vw, 100px);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font: 400 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--ochre-soft); color: var(--ink); }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 99px;
  transition: top .2s;
}
.skip:focus { top: 16px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.narrow { max-width: 900px; }
.center { text-align: center; }

/* ---------- tipografija ---------- */
.display {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(2.6rem, 6.2vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--heading);
  font-variation-settings: 'opsz' 144;
}
.h2 {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--heading);
  font-variation-settings: 'opsz' 120;
}
.h2 em, .display em { font-style: italic; color: var(--orange); font-weight: 330; }
.h3 {
  font-family: var(--serif);
  font-weight: 420;
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  line-height: 1.2;
  color: var(--heading);
  letter-spacing: -0.01em;
}
.lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.7; color: var(--muted); }
.lead strong, .statement strong { color: var(--heading); font-weight: 600; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 0.74rem/1 var(--sans);
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 22px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.center .eyebrow::after, .section-head--center .eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; }
.statement {
  font-family: var(--serif);
  font-weight: 330;
  font-size: clamp(1.5rem, 2.7vw, 2.35rem);
  line-height: 1.35;
  letter-spacing: -0.012em;
  color: var(--heading);
}
.statement--sm { font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.5; }
.statement--light, .statement--light strong { color: #fff; }

.i { width: 1.2em; height: 1.2em; flex: none; }

/* ---------- dugmad ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 28px;
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 600 0.95rem/1 var(--sans); letter-spacing: 0.01em;
  transition: color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--orange);
  transform: translateY(101%); border-radius: inherit;
  transition: transform .5s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover { box-shadow: 0 14px 30px -12px rgba(226, 112, 42, .55); }
.btn .i { transition: transform .4s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--heading); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--ghost:hover { --fg: #fff; box-shadow: inset 0 0 0 1px transparent; }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--light:hover { --fg: #fff; }
.btn--sm { min-height: 46px; padding: 0 22px; font-size: 0.9rem; }
.btn--block { width: 100%; }

.round-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--paper); color: var(--heading);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: background .3s, color .3s, box-shadow .3s, transform .3s var(--ease);
}
.round-btn:hover { background: var(--ink); color: #fff; box-shadow: none; }
.round-btn:disabled { opacity: .35; pointer-events: none; }

/* ---------- zaglavlje ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header.is-scrolled {
  background: var(--header-glass);
  backdrop-filter: saturate(1.4) blur(18px);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  box-shadow: 0 1px 0 var(--line);
  --header-h: 72px;
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { flex: none; display: block; }
.brand-logo { width: auto; height: 46px; transition: height .4s var(--ease); }
.is-scrolled .brand-logo { height: 40px; }

.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list { flex-wrap: nowrap; }
.nav-list > li { position: relative; display: flex; align-items: center; white-space: nowrap; }
.nav-list a {
  position: relative; display: inline-block;
  padding: 10px 12px;
  font-size: 0.93rem; font-weight: 500; color: var(--heading);
  transition: color .25s;
}
.nav-list > li > a::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px;
  background: var(--orange); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav-list > li > a:hover::after, .nav-list > li > a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav-list a[aria-current] { color: var(--orange); }
.sub-toggle { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: -8px; color: var(--muted); transition: transform .3s; }
.sub-toggle .i { width: 14px; height: 14px; }
.sub {
  position: absolute; top: calc(100% + 6px); left: -8px;
  min-width: 320px; padding: 10px;
  background: var(--paper); border-radius: 18px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.sub::before { content: ''; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.is-open .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 12px 16px; border-radius: 12px; font-size: 0.93rem; }
.sub a:hover { background: var(--cream); color: var(--orange); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 600; color: var(--heading); }
.header-phone .i { color: var(--orange); }
.nav-mobile-foot { display: none; }
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); position: relative; }
.nav-toggle span { position: absolute; left: 15px; right: 15px; height: 1.5px; background: #fff; transition: transform .4s var(--ease), top .4s var(--ease); }
.nav-toggle span:first-child { top: 20px; }
.nav-toggle span:last-child { top: 27px; }
.nav-open .nav-toggle span:first-child { top: 23.5px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 23.5px; transform: rotate(-45deg); }

@media (max-width: 1380px) {
  .header-phone span { display: none; }
}
@media (max-width: 1240px) {
  .header-inner { gap: 18px; }
  .header-actions { gap: 12px; }
  .nav-list a { padding: 10px 9px; font-size: 0.9rem; }
  .nav-list > li > a::after { left: 9px; right: 9px; }
}
@media (max-width: 1100px) {
  :root { --header-h: 72px; }
  .brand-logo { height: 38px; }
  .header-phone, .header-cta { display: none; }
  .nav-toggle { display: block; z-index: 2; }
  .header-actions { margin-left: auto; }
  .main-nav {
    position: fixed; inset: 0; z-index: 1;
    margin: 0; padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
    background: var(--cream);
    display: flex; flex-direction: column; justify-content: space-between;
    overflow-y: auto;
    clip-path: circle(0 at calc(100% - 44px) 36px);
    visibility: hidden;
    transition: clip-path .7s var(--ease), visibility .7s;
  }
  .nav-open .main-nav { clip-path: circle(150% at calc(100% - 44px) 36px); visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; }
  .brand { position: relative; z-index: 2; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-list > li > a { flex: 1; padding: 16px 0; font: 380 clamp(1.7rem, 7vw, 2.3rem)/1.15 var(--serif); }
  .nav-list > li > a::after { display: none; }
  .sub-toggle { width: 44px; height: 44px; margin: 0; }
  .sub-toggle .i { width: 20px; height: 20px; }
  .has-sub.is-open .sub-toggle { transform: rotate(180deg); }
  .sub { position: static; flex-basis: 100%; min-width: 0; padding: 0 0 12px; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-sub.is-open .sub { display: block; }
  .has-sub:hover .sub { display: none; }
  .has-sub.is-open:hover .sub { display: block; }
  .sub a { padding: 10px 0; font-size: 1.02rem; color: var(--muted); }
  .main-nav .nav-list > li { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .nav-open .main-nav .nav-list > li { opacity: 1; transform: none; }
  .nav-open .main-nav .nav-list > li:nth-child(2) { transition-delay: .05s; }
  .nav-open .main-nav .nav-list > li:nth-child(3) { transition-delay: .1s; }
  .nav-open .main-nav .nav-list > li:nth-child(4) { transition-delay: .15s; }
  .nav-open .main-nav .nav-list > li:nth-child(5) { transition-delay: .2s; }
  .nav-open .main-nav .nav-list > li:nth-child(6) { transition-delay: .25s; }
  .nav-mobile-foot { display: grid; gap: 12px; margin-top: 32px; }
  .nav-mobile-foot a:not(.btn) { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; color: var(--heading); }
  .nav-mobile-foot .btn { margin-bottom: 8px; }
  .nav-mobile-foot a:not(.btn) .i { color: var(--orange); }
}

/* ---------- sekcije ---------- */
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--flush-top { padding-top: 0; }
.soft { background: var(--cream-2); }
.dark { background: var(--ink); color: rgba(255, 255, 255, 0.78); }
.dark .h2, .dark .h3 { color: #fff; }
.dark .lead { color: rgba(255, 255, 255, 0.7); }
.dark .eyebrow { color: var(--ochre); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 3.5vw, 52px); }
.section-head .lead { margin-top: 20px; }
.section-head--center { margin-inline: auto; text-align: center; }
.center-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 48px; }

/* luk — potpis oblik (podseća na naslon fotelje) */
.arch { border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; background: var(--cream-2); }
.arch img { width: 100%; height: 100%; object-fit: cover; }

.bubble { position: absolute; pointer-events: none; fill: currentColor; }

/* ---------- hero (početna) ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-top: clamp(24px, 4vw, 56px); padding-bottom: clamp(40px, 5vw, 72px);
  margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + clamp(24px, 4vw, 56px));
  background: radial-gradient(60vw 50vw at 88% 8%, rgba(236, 217, 166, .55), rgba(236, 217, 166, 0) 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-eyebrow .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ochre); }
.hero-eyebrow::before { display: none; }
.hero-title { margin-bottom: 28px; }
.hero-lead { max-width: 520px; margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { position: relative; }
.hero-arch { aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.hero-arch img { transform: scale(1.08); transition: transform 1.6s var(--ease); }
.hero-badge {
  position: absolute; left: -28px; bottom: 56px;
  display: flex; align-items: center; gap: 14px;
  padding: 18px 24px 18px 20px; border-radius: 20px;
  background: var(--paper); box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.hero-badge strong { font: 360 2.6rem/1 var(--serif); color: var(--orange); }
.hero-badge span { font-size: 0.82rem; line-height: 1.3; font-weight: 600; color: var(--heading); text-transform: uppercase; letter-spacing: .08em; }
@keyframes float { 50% { translate: 0 -10px; } }

.trust {
  margin-top: clamp(36px, 4.5vw, 60px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.trust li { display: flex; align-items: center; gap: 16px; padding: 28px 24px; }
.trust li + li { border-left: 1px solid var(--line); }
.trust-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--paper); color: var(--orange); flex: none; box-shadow: var(--shadow); }
.trust-ico .i { width: 24px; height: 24px; }
.trust strong { display: block; color: var(--heading); font-weight: 600; font-size: 0.98rem; line-height: 1.3; }
.trust small { color: var(--muted); font-size: 0.88rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; width: 100%; margin-inline: auto; }
  .hero-arch { aspect-ratio: 4 / 4.4; }
  .hero-title { margin-bottom: 20px; }
  .hero-lead { margin-bottom: 28px; }
  .hero-badge { left: 0; bottom: 28px; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust li:nth-child(3) { border-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .trust { grid-template-columns: 1fr; }
  .trust li + li { border-left: 0; border-top: 1px solid var(--line); }
  .trust li { padding: 20px 4px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- stubovi (4 kartice sa slikama) ---------- */
.pillars-section { padding-top: 0; }
.pillars { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(260px, auto); gap: 20px; }
.pillar {
  position: relative; overflow: hidden; border-radius: var(--radius);
  min-height: 340px; color: #fff; isolation: isolate;
  display: flex; align-items: flex-end;
}
.pillar--0 { grid-column: span 7; grid-row: span 2; min-height: 560px; }
.pillar--1 { grid-column: span 5; }
.pillar--2 { grid-column: span 5; }
.pillar--3 { grid-column: span 12; min-height: 460px; }
.pillar--3 img { object-position: 50% 22%; }
.pillar--1 img { object-position: 50% 30%; }
.pillar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.pillar::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(19, 35, 58, 0) 30%, rgba(19, 35, 58, .82) 100%); transition: opacity .6s; }
.pillar:hover img { transform: scale(1.06); }
.pillar-body { display: grid; gap: 12px; padding: clamp(24px, 3vw, 40px); max-width: 640px; }
.pillar-num { font: 500 0.78rem/1 var(--sans); letter-spacing: .2em; color: var(--ochre-soft); }
.pillar-title { font: 360 clamp(1.5rem, 2.4vw, 2.3rem)/1.15 var(--serif); letter-spacing: -0.01em; }
.pillar--0 .pillar-title { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.pillar-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.92rem; }
.pillar-link .i { transition: transform .4s var(--ease); }
.pillar:hover .pillar-link .i, .service-link:hover .pillar-link .i { transform: translateX(6px); }
@media (max-width: 900px) {
  .pillar--0, .pillar--1, .pillar--2, .pillar--3 { grid-column: span 12; grid-row: auto; min-height: 320px; }
  .pillars { gap: 14px; }
}

/* ---------- istaknute usluge ---------- */
.feature { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.feature + .feature { margin-top: clamp(48px, 6vw, 88px); }
.feature--rev .feature-media { order: 2; }
.feature-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow-lg); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature--rev .feature-media { border-radius: 999px 999px var(--radius-lg) var(--radius-lg); aspect-ratio: 4 / 4.4; }
.feature-copy .h2 { margin: 18px 0 22px; }
.feature-copy .lead { margin-bottom: 36px; }
.feature-num { font: 340 1rem/1 var(--serif); color: var(--orange); font-style: italic; display: inline-flex; align-items: center; gap: 12px; }
.feature-num::after { content: ''; width: 48px; height: 1px; background: var(--line-strong); }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature--rev .feature-media { order: 0; }
}

/* ---------- proces ---------- */
.process-section { overflow: hidden; }
.process-section::before {
  content: ''; position: absolute; inset: auto -10% -40% auto; width: 60vw; height: 60vw;
  background: radial-gradient(closest-side, rgba(43, 108, 176, .35), transparent);
}
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; counter-reset: s; }
.steps::before { content: ''; position: absolute; left: 0; right: 0; top: 36px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25) 10%, rgba(255, 255, 255, .25) 90%, transparent); }
.step { position: relative; }
.step-num {
  position: relative; display: grid; place-items: center;
  width: 72px; height: 72px; border-radius: 50%; margin-bottom: 28px;
  background: var(--ink-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
  font: 340 1.9rem/1 var(--serif); color: var(--ochre);
}
.step-title { font: 420 1.3rem/1.25 var(--serif); color: #fff; margin-bottom: 12px; }
.step p { font-size: 0.95rem; line-height: 1.65; }
@media (max-width: 1100px) {
  .steps { grid-template-columns: 1fr; gap: 0; max-width: 640px; margin-inline: auto; }
  .steps::before { left: 35px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: rgba(255, 255, 255, .2); }
  .step { display: grid; grid-template-columns: 72px 1fr; column-gap: 24px; padding-bottom: 40px; }
  .step-num { grid-row: span 2; margin: 0; }
  .step-title { align-self: end; margin-top: 10px; }
}

/* ---------- u čemu pomažemo ---------- */
.help-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.help-aside { position: sticky; top: calc(var(--header-h) + 40px); }
.help-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.help-list li {
  display: flex; align-items: baseline; gap: 18px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
  font: 380 clamp(1.08rem, 1.4vw, 1.25rem)/1.35 var(--serif); color: var(--heading);
  transition: color .3s, padding .4s var(--ease);
}
.help-list li:hover { color: var(--orange); padding-left: 8px; }
.help-n { font: 600 0.72rem/1 var(--sans); letter-spacing: .15em; color: var(--ochre); flex: none; }
@media (max-width: 900px) {
  .help-grid { grid-template-columns: 1fr; }
  .help-aside { position: static; }
}
@media (max-width: 600px) { .help-list { grid-template-columns: 1fr; } }

/* ---------- utisci ---------- */
.testimonials-section { background: var(--cream-2); }
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  display: flex; flex-direction: column;
  padding: clamp(28px, 3vw, 44px); border-radius: var(--radius);
  background: var(--paper); box-shadow: var(--shadow);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.testimonial:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.stars { display: flex; gap: 4px; color: var(--ochre); margin-bottom: 24px; }
.stars .i { width: 18px; height: 18px; fill: currentColor; }
.testimonial blockquote { font: 340 1.15rem/1.6 var(--serif); color: var(--heading); flex: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: 14px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 0.85rem/1 var(--sans); letter-spacing: .05em; flex: none; }
.testimonial figcaption strong { display: block; color: var(--heading); font-size: 0.95rem; }
.testimonial figcaption small { color: var(--muted); font-size: 0.85rem; }
@media (max-width: 1000px) {
  .testimonials { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(86%, 420px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 24px; scrollbar-width: none; }
  .testimonials::-webkit-scrollbar { display: none; }
  .testimonial { scroll-snap-align: center; }
}

/* ---------- tim ---------- */
.team-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.carousel-ctrl { display: flex; gap: 10px; margin-bottom: clamp(40px, 5vw, 72px); }
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 24vw, 310px); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 8px max(var(--gutter), calc((100vw - var(--container)) / 2)) 24px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel .tm-card { scroll-snap-align: start; }

.tm-card { display: block; position: relative; text-align: left; }
.tm-photo {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 999px 999px var(--radius) var(--radius);
  display: flex; align-items: flex-end; justify-content: center;
  transition: border-radius .6s var(--ease);
}
.tm-photo::before { content: ''; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, rgba(19, 35, 58, .08)); }
.tm-photo img { position: relative; width: 92%; height: 96%; object-fit: contain; object-position: bottom center; transition: transform .8s var(--ease); transform-origin: bottom center; }
.tone-0 { background: var(--tone-0); }
.tone-1 { background: var(--tone-1); }
.tone-2 { background: var(--tone-2); }
.tone-3 { background: var(--tone-3); }
.tm-card:hover .tm-photo img, .tm-open:hover .tm-photo img { transform: scale(1.05); }
.tm-card:hover .tm-photo, .tm-open:hover .tm-photo { border-radius: var(--radius); }
.tm-meta { padding: 20px 4px 0; }
.tm-name { font: 420 1.3rem/1.25 var(--serif); color: var(--heading); }
.tm-role { margin-top: 6px; font-size: 0.9rem; line-height: 1.5; color: var(--muted); }
.tm-more { display: inline-flex; align-items: center; gap: 8px; margin: 14px 4px 0; font-size: 0.85rem; font-weight: 600; color: var(--orange); }
.tm-more .i { transition: transform .4s var(--ease); }
.tm-card:hover .tm-more .i, .tm-open:hover .tm-more .i { transform: translateX(5px); }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: clamp(28px, 3vw, 44px) 28px; }
.tm-open { display: block; width: 100%; text-align: left; }
.tm-card--grid:nth-child(4n+2) { margin-top: 48px; }
.tm-card--grid:nth-child(4n+4) { margin-top: 48px; }
@media (max-width: 1100px) {
  .tm-card--grid:nth-child(n) { margin-top: 0; }
}
@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .tm-name { font-size: 1.08rem; }
  .tm-role { font-size: 0.8rem; }
}

/* biografija — modal */
.bio-dialog {
  width: min(1040px, 100% - 32px); max-height: min(88vh, 900px);
  padding: 0; border: 0; border-radius: var(--radius-lg);
  background: var(--paper); color: var(--text);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.bio-dialog::backdrop { background: rgba(19, 35, 58, .55); backdrop-filter: blur(6px); }
.bio-dialog[open] { animation: dlg-in .55s var(--ease); }
.bio-dialog[open]::backdrop { animation: fade-in .4s ease; }
@keyframes dlg-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes fade-in { from { opacity: 0; } }
.bio { display: grid; grid-template-columns: 420px 1fr; max-height: min(88vh, 900px); }
.bio-photo { position: relative; display: flex; align-items: flex-end; justify-content: center; padding-top: 40px; overflow: hidden; }
.bio-photo::before { content: ''; position: absolute; left: 10%; right: 10%; bottom: 0; height: 78%; border-radius: 999px 999px 0 0; background: rgba(255, 255, 255, .4); }
.bio-photo::after { content: ''; position: absolute; left: 24px; top: 24px; width: 70px; height: 58px; background: var(--orange-2); opacity: .9; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 100'%3E%3Cpath d='M60 4c30 0 56 17 56 40S90 84 60 84c-6 0-12-.7-17.6-2L18 96l7-20C11.6 68.5 4 57 4 44 4 21 30 4 60 4z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 100'%3E%3Cpath d='M60 4c30 0 56 17 56 40S90 84 60 84c-6 0-12-.7-17.6-2L18 96l7-20C11.6 68.5 4 57 4 44 4 21 30 4 60 4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.bio-photo img { position: relative; width: 100%; height: auto; max-height: 100%; object-fit: contain; object-position: bottom; }
.bio-body { padding: clamp(32px, 4vw, 56px); max-height: min(88vh, 900px); overflow-y: auto; overscroll-behavior: contain; }
.bio-body .eyebrow { margin-bottom: 14px; }
.bio-role { margin: 12px 0 28px; font-weight: 600; color: var(--orange); line-height: 1.5; }
.bio-body p + p { margin-top: 16px; }
.bio-body p, .bio-list li { color: var(--muted); font-size: 1rem; }
.bio-list li { position: relative; padding: 10px 0 10px 24px; border-bottom: 1px solid var(--line); }
.bio-list li::before { content: ''; position: absolute; left: 2px; top: 21px; width: 8px; height: 8px; border-radius: 50%; background: var(--ochre); }
.bio-cta { margin-top: 32px; }
.bio-close { position: absolute; top: 18px; right: 18px; z-index: 2; }
@media (max-width: 820px) {
  .bio-dialog { max-height: 92vh; }
  .bio { grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto; }
  .bio-photo { height: 300px; padding-top: 24px; }
  .bio-photo img { width: auto; height: 100%; }
  .bio-body { overflow: visible; max-height: none; }
}

/* ---------- CTA panel ---------- */
.cta-section { padding-top: 0; }
.cta-panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(32px, 5vw, 80px); align-items: center;
  padding: clamp(40px, 6vw, 88px);
  border-radius: var(--radius-lg);
  background: var(--ink); color: rgba(255, 255, 255, .75);
}
.cta-panel::before { content: ''; position: absolute; z-index: -1; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(226, 112, 42, .35), transparent); }
.cta-panel .h2 { color: #fff; margin-bottom: 20px; }
.cta-panel .lead { color: rgba(255, 255, 255, .72); }
.cta-panel .eyebrow { color: var(--ochre); }
.cta-actions { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.cta-bubble { width: 220px; right: -40px; bottom: -60px; color: rgba(255, 255, 255, .04); }
.cta-contacts { display: grid; gap: 4px; }
.cta-contacts li, .info-list li { display: flex; align-items: center; gap: 16px; padding: 16px 0; }
.cta-contacts li + li { border-top: 1px solid rgba(255, 255, 255, .12); }
.cta-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; flex: none; background: rgba(255, 255, 255, .08); color: var(--ochre); }
.cta-contacts small, .info-list small { display: block; font-size: 0.72rem; letter-spacing: .16em; text-transform: uppercase; opacity: .7; margin-bottom: 2px; }
.cta-contacts a, .cta-contacts span { color: #fff; font-weight: 500; }
.cta-contacts a:hover { color: var(--orange-2); }
@media (max-width: 900px) { .cta-panel { grid-template-columns: 1fr; } }

/* ---------- podstranice: hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 56px) 0 clamp(36px, 4.5vw, 64px); }
.page-hero-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: end; }
.page-hero--img .page-hero-grid { grid-template-columns: 1.15fr 0.85fr; }
.page-hero .lead { max-width: 640px; margin-top: 28px; }
.page-hero-media { aspect-ratio: 4 / 3.6; max-height: 440px; box-shadow: var(--shadow-lg); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; font-size: 0.85rem; color: var(--muted); }
.crumbs a:hover { color: var(--orange); }
.crumbs [aria-current] { color: var(--heading); font-weight: 600; }
@media (max-width: 900px) {
  .page-hero--img .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-media { max-width: 460px; width: 100%; }
}

/* ---------- O nama ---------- */
.founders { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.founder { display: grid; justify-items: center; text-align: center; gap: 6px; }
.founder-photo { width: 160px; height: 160px; border-radius: 50%; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 14px; transition: transform .6s var(--ease); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.founder:hover .founder-photo { transform: translateY(-6px); }
.founder-name { font: 420 1.2rem/1.25 var(--serif); color: var(--heading); }
.founder-role { font-size: 0.9rem; color: var(--muted); }
.about-exp { max-width: 860px; margin: clamp(48px, 6vw, 80px) auto 0; text-align: center; }
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.split-media { aspect-ratio: 4 / 4.6; box-shadow: var(--shadow-lg); }
.split-copy .h2 { margin-bottom: 24px; }
.split-copy .lead + .lead { margin-top: 16px; }
.split-copy .btn { margin-top: 36px; }
.split--text { grid-template-columns: 0.8fr 1.2fr; align-items: start; }
.mission .eyebrow { justify-content: center; }
@media (max-width: 900px) {
  .founders { grid-template-columns: 1fr 1fr; }
  .split, .split--text { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .founder-photo { width: 120px; height: 120px; } }

/* ---------- Usluge ---------- */
.forms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.form-card {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  min-height: 250px; padding: 32px; border-radius: var(--radius);
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .5s;
}
.form-card.is-link:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.form-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--cream); color: var(--orange); }
.form-ico .i { width: 26px; height: 26px; }
.form-num { position: absolute; top: 32px; right: 32px; font: italic 340 1rem/1 var(--serif); color: var(--ochre); }
.form-title { font: 400 1.35rem/1.3 var(--serif); color: var(--heading); margin-top: auto; }
.form-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 600; color: var(--orange); }
.service-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-link { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--paper); box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.service-link:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-link-media { aspect-ratio: 16 / 11; overflow: hidden; }
.service-link-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.service-link:hover .service-link-media img { transform: scale(1.06); }
.service-link-body { display: flex; flex-direction: column; gap: 14px; padding: 28px 30px 32px; flex: 1; }
.service-link-title { font: 400 1.5rem/1.2 var(--serif); color: var(--heading); }
.service-link-text { color: var(--muted); font-size: 0.95rem; flex: 1; }
.service-link .pillar-link { color: var(--orange); }
@media (max-width: 1000px) { .forms-grid, .service-links { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .forms-grid, .service-links { grid-template-columns: 1fr; } .form-card { min-height: 0; } }

/* grupe (harmonika) */
.groups { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.group { border-radius: var(--radius); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .4s; }
.group[open] { box-shadow: var(--shadow); }
.group--wide { grid-column: 1 / -1; }
.group--wide .ticks { columns: 2; column-gap: 40px; }
.group summary, .faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px; }
.group summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.group summary { padding: 24px 28px; }
.group-n, .faq-n { font: 600 0.72rem/1 var(--sans); letter-spacing: .15em; color: var(--ochre); flex: none; }
.group-title { flex: 1; font: 420 1.2rem/1.3 var(--serif); color: var(--heading); }
.group-count { font-size: 0.78rem; font-weight: 600; color: var(--muted); background: var(--cream); border-radius: 99px; padding: 4px 10px; }
.group-ico, .faq-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--heading); transition: transform .5s var(--ease), background .3s, color .3s; }
.group-ico .i, .faq-ico .i { width: 18px; height: 18px; }
details[open] > summary .group-ico, details[open] > summary .faq-ico { transform: rotate(45deg); background: var(--ink); color: #fff; box-shadow: none; }
.group-body { padding: 0 28px 28px; overflow: hidden; }
.ticks li { position: relative; padding: 7px 0 7px 30px; color: var(--text); break-inside: avoid; }
.ticks li::before {
  content: ''; position: absolute; left: 2px; top: 13px; width: 16px; height: 9px;
  border-left: 1.5px solid var(--orange); border-bottom: 1.5px solid var(--orange);
  transform: rotate(-45deg) scale(.8); transform-origin: left top;
}
.ticks--lg li { padding: 18px 0 18px 36px; border-bottom: 1px solid var(--line); font: 380 1.25rem/1.4 var(--serif); color: var(--heading); }
.ticks--lg li::before { top: 26px; }
.narrow-left { max-width: 820px; }
.narrow-left .lead { margin-bottom: 16px; }
.note { margin-top: 18px; padding: 14px 18px; border-radius: 14px; background: var(--cream); font-size: 0.9rem; color: var(--muted); font-style: italic; }
@media (max-width: 900px) {
  .groups { grid-template-columns: 1fr; }
  .group--wide .ticks { columns: 1; }
  .group summary { padding: 20px; gap: 12px; }
  .group-body { padding: 0 20px 24px; }
  .group-count { display: none; }
}

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-strong); }
.fact { padding: 32px 28px 32px 0; }
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--line); }
.fact dt { font: 600 0.74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--orange); margin-bottom: 16px; }
.fact dd { font: 360 1.35rem/1.35 var(--serif); color: var(--heading); }
.facts-note { margin-top: 40px; max-width: 760px; }
@media (max-width: 900px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; }
  .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .fact { padding: 24px 0; }
}

.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-list li { display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); color: #fff; font: 380 1.2rem/1.35 var(--serif); }
.why-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: #fff; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .why-list { grid-template-columns: 1fr; } }

/* ---------- galerija ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(140px, 17vw, 230px); gap: 16px; }
.g-item { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--cream-2); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.g-item:hover img { transform: scale(1.06); }
.g-zoom { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--ink); opacity: 0; transform: translateY(8px); transition: .4s var(--ease); }
.g-item:hover .g-zoom, .g-item:focus-visible .g-zoom { opacity: 1; transform: none; }
.g-0 { grid-column: span 2; grid-row: span 2; border-radius: 999px 999px var(--radius) var(--radius); }
.g-1 { grid-column: span 4; grid-row: span 2; }
.g-2 { grid-column: span 3; grid-row: span 2; }
.g-3 { grid-column: span 3; grid-row: span 2; }
.g-4 { grid-column: span 4; grid-row: span 2; }
.g-5 { grid-column: span 2; grid-row: span 2; }
.g-6 { grid-column: span 3; grid-row: span 2; }
.g-7 { grid-column: span 3; grid-row: span 2; }
@media (max-width: 700px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 44vw; gap: 10px; }
  .g-item { grid-column: span 1 !important; grid-row: span 1 !important; }
  .g-0, .g-1 { grid-column: span 2 !important; grid-row: span 2 !important; }
  .g-0 { grid-row: span 3 !important; }
}

.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 24px; background: rgba(12, 22, 37, .94); backdrop-filter: blur(8px); animation: fade-in .35s ease; }
.lightbox[hidden] { display: none; }
.lb-stage { display: grid; justify-items: center; gap: 14px; max-height: 100%; }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 110px); width: auto; border-radius: 16px; box-shadow: var(--shadow-lg); animation: dlg-in .5s var(--ease); }
.lb-stage figcaption { color: rgba(255, 255, 255, .7); font-size: 0.9rem; letter-spacing: .1em; }
.lightbox .round-btn { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: none; }
.lightbox .round-btn:hover { background: #fff; color: var(--ink); }
.lb-close { position: absolute; top: 20px; right: 20px; }
@media (max-width: 700px) {
  .lightbox { grid-template-columns: 1fr; padding: 70px 12px; }
  .lb-prev, .lb-next { position: absolute; bottom: 20px; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
}

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 360px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq { border-bottom: 1px solid var(--line-strong); }
.faq:first-child { border-top: 1px solid var(--line-strong); }
.faq summary { padding: 28px 0; }
.faq-q { flex: 1; font: 400 clamp(1.15rem, 1.6vw, 1.4rem)/1.35 var(--serif); color: var(--heading); transition: color .3s; }
.faq summary:hover .faq-q { color: var(--orange); }
.faq-a { padding: 0 60px 32px 42px; overflow: hidden; }
.faq-a p { color: var(--muted); }
.faq-a strong { color: var(--heading); }
.faq-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.aside-card { position: relative; overflow: hidden; padding: 36px; border-radius: var(--radius); background: var(--ink); color: rgba(255, 255, 255, .75); }
.aside-card .h3 { color: #fff; margin-bottom: 12px; }
.aside-card .btn { margin: 28px 0 20px; }
.aside-card .btn--primary { --bg: #fff; --fg: var(--ink); }
.aside-card .btn--primary:hover { --fg: #fff; }
.aside-line { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: #fff; font-weight: 500; font-size: 0.95rem; }
.aside-line .i { color: var(--ochre); }
.aside-bubble { width: 140px; right: -30px; top: -30px; color: rgba(255, 255, 255, .05); }
@media (max-width: 900px) {
  .faq-wrap { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
  .faq-a { padding: 0 0 28px 0; }
}

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; align-items: start; }
.form-card-wrap { padding: clamp(28px, 4vw, 56px); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow); }
.form-card-wrap .muted { margin: 10px 0 32px; }
.contact-form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 26px 18px 10px; border-radius: 14px;
  border: 1px solid var(--line-strong); background: var(--cream);
  font: 500 1rem/1.4 var(--sans); color: var(--heading);
  transition: border-color .3s, background .3s, box-shadow .3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 150px; }
.field label { position: absolute; left: 19px; top: 18px; color: var(--muted); font-size: 1rem; pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .3s; }
.field label small { font-size: 0.8em; opacity: .75; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--heading); background: var(--field-focus); box-shadow: 0 0 0 4px rgba(19, 35, 58, .06); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.76); color: var(--orange); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #c2412d; background: #fdf3f0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--muted); }
.form-privacy .i { color: var(--ochre); }
.form-status { min-height: 1.5em; font-weight: 600; font-size: 0.95rem; }
.form-status.ok { color: #2f7d4f; }
.form-status.err { color: #c2412d; }
.contact-form.is-sending .btn { opacity: .6; pointer-events: none; }
.contact-aside { display: grid; gap: 20px; }
.info-card, .map-card { padding: 32px; border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow); }
.info-list { margin-top: 12px; }
.info-list li + li { border-top: 1px solid var(--line); }
.info-list .cta-ico { background: var(--cream); color: var(--orange); }
.info-list a, .info-list span > span { color: var(--heading); font-weight: 500; }
.info-list a:hover { color: var(--orange); }
.info-list small { color: var(--muted); opacity: 1; }
.map { position: relative; margin-top: 20px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--cream-2); display: grid; place-items: center; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- podnožje ---------- */
.site-footer { background: var(--footer); color: rgba(255, 255, 255, .62); padding: clamp(64px, 8vw, 104px) 0 32px; font-size: 0.95rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-logo { width: 210px; height: auto; filter: brightness(0) invert(1); opacity: .95; }
.footer-claim { margin-top: 22px; max-width: 300px; font: italic 340 1.1rem/1.5 var(--serif); color: rgba(255, 255, 255, .75); }
.footer-h { font: 600 0.74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ochre); margin-bottom: 22px; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { transition: color .25s; }
.footer-col a:hover { color: #fff; }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: flex-start; gap: 12px; }
.footer-contact .i { margin-top: 3px; color: var(--orange-2); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 28px; font-size: 0.85rem; }
.to-top { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); color: #fff; transition: background .3s, color .3s; }
.to-top .i { transform: rotate(180deg); }
.to-top:hover { background: #fff; color: var(--ink); }
@media (max-width: 1000px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* O nama — kompaktnije */
.is-about .section { padding-block: clamp(48px, 6vw, 88px); }
.is-about .section--tight { padding-block: clamp(32px, 4vw, 56px); }
.is-about .page-hero { padding-bottom: clamp(32px, 4vw, 56px); }
.is-about .page-hero-media { max-height: 460px; }
.is-about .display { font-size: clamp(2.3rem, 5vw, 4.2rem); }
.is-about .h2 { font-size: clamp(1.7rem, 2.8vw, 2.5rem); }
.is-about .statement { font-size: clamp(1.2rem, 2vw, 1.65rem); line-height: 1.5; }
.is-about .lead { font-size: clamp(1rem, 1.15vw, 1.08rem); }
.is-about .section-head { margin-bottom: clamp(28px, 3vw, 44px); }
.is-about .about-exp { margin-top: clamp(32px, 4vw, 48px); }
.is-about .split { align-items: center; }
.is-about .split-media { aspect-ratio: 3 / 2; border-radius: var(--radius-lg); }
.is-about .split-copy .btn { margin-top: 24px; }

.notfound { min-height: 60vh; display: grid; align-items: center; }
.notfound .eyebrow { justify-content: center; }

/* ---------- animacije pojavljivanja ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero-media[data-reveal]:not(.is-in) { transform: translateY(40px) scale(.97); }
.js .hero-media.is-in .hero-arch img { transform: scale(1); }
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 55ms + 100ms); }
.is-in .split-word > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .split-word > span { transform: none; }
}

@media print {
  .site-header, .site-footer, .cta-section, .hero-bubble { display: none; }
  body { background: #fff; }
}

/* ---------- prekidač jezika ---------- */
.lang-switch {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: 2px; padding: 3px;
  border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong);
  font: 600 0.74rem/1 var(--sans); letter-spacing: .12em;
}
.lang-switch a { display: grid; place-items: center; min-width: 38px; height: 34px; padding: 0 8px; border-radius: 999px; color: var(--muted); transition: color .25s, background .25s; }
.lang-switch a:hover { color: var(--heading); }
.lang-switch a[aria-current] { background: var(--heading); color: var(--cream); }
@media (max-width: 1100px) { .lang-switch a { min-width: 34px; height: 32px; } }

/* ---------- saglasnost uz formu ---------- */
.consent { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 0.9rem; line-height: 1.55; color: var(--muted); }
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent-box {
  flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px;
  border-radius: 7px; border: 1.5px solid var(--line-strong); background: var(--cream); color: transparent;
  transition: background .25s, border-color .25s, color .25s;
}
.consent-box .i { width: 14px; height: 14px; stroke-width: 2.4; }
.consent input:checked + .consent-box { background: var(--orange); border-color: var(--orange); color: #fff; }
.consent input:focus-visible + .consent-box { outline: 2px solid var(--orange); outline-offset: 3px; }
.consent a { color: var(--heading); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--orange); }
.consent.is-invalid .consent-box { border-color: #c2412d; }

/* ---------- politika privatnosti ---------- */
.legal-wrap { display: grid; grid-template-columns: 280px 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 32px); padding: 24px; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.legal-toc ol { counter-reset: t; display: grid; gap: 2px; }
.legal-toc li { counter-increment: t; }
.legal-toc a { display: flex; gap: 12px; padding: 8px 6px; border-radius: 10px; font-size: 0.9rem; color: var(--muted); transition: color .25s, background .25s; }
.legal-toc a::before { content: counter(t, decimal-leading-zero); font-weight: 600; color: var(--ochre); }
.legal-toc a:hover { color: var(--heading); background: var(--cream); }
.legal { max-width: 760px; }
.legal-updated { font-size: 0.85rem; color: var(--muted); margin-bottom: 8px; }
.legal section { padding: 28px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.legal h2 { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.legal h2 span { font: 600 0.75rem/1 var(--sans); letter-spacing: .15em; color: var(--orange); }
.legal p { color: var(--text); }
.legal p + p { margin-top: 12px; }
.legal a { color: var(--heading); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--orange); }
.legal strong { color: var(--heading); font-weight: 600; }
.footer-legal { margin-left: auto; transition: color .25s; }
.footer-legal:hover { color: #fff; }
@media (max-width: 900px) {
  .legal-wrap { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}

/* =========================================================
   TAMNA TEMA — noćni teget, toplo zlato i krem tipografija
   ========================================================= */
@media (prefers-color-scheme: dark) {
  :root {
    --cream: #0b1322;
    --cream-2: #0f1a2d;
    --paper: #131f35;
    --text: #d5dbe5;
    --muted: #9ba6b8;
    --heading: #f3ece0;
    --orange: #f08a3c;
    --orange-2: #f5a052;
    --ochre: #d9b45e;
    --line: rgba(255, 255, 255, 0.09);
    --line-strong: rgba(255, 255, 255, 0.18);
    --tone-0: #1a2842;
    --tone-1: #31241f;
    --tone-2: #2e2919;
    --tone-3: #23283a;
    --field-focus: #0d1729;
    --header-glass: rgba(11, 19, 34, 0.8);
    --footer: #060b15;
    --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 14px 34px -14px rgba(0, 0, 0, .65);
    --shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
  body { -webkit-font-smoothing: antialiased; }

  /* logotip u monohromnoj krem varijanti */
  .brand-logo { filter: brightness(0) invert(.94) sepia(.12); }

  .hero { background: radial-gradient(60vw 50vw at 88% 8%, rgba(217, 180, 94, .14), rgba(217, 180, 94, 0) 70%); }

  /* dugmad: svetla krem dugmad na tamnoj podlozi */
  .btn { --bg: var(--heading); --fg: #0b1322; }
  .btn:hover { --fg: #fff; }
  .btn--ghost { --bg: transparent; --fg: var(--heading); }
  .btn--light { --bg: var(--heading); --fg: #0b1322; }
  .round-btn:hover { background: var(--heading); color: #0b1322; }
  .nav-toggle { background: var(--heading); }
  .nav-toggle span { background: #0b1322; }
  .lang-switch a[aria-current] { color: #0b1322; }
  details[open] > summary .group-ico, details[open] > summary .faq-ico { background: var(--heading); color: #0b1322; }
  .avatar { background: #22365a; color: var(--ochre); }

  /* tamne sekcije i paneli: dubina + fina zlatna linija */
  .dark { background: linear-gradient(180deg, #111d33, #0d1729); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), inset 0 -1px 0 rgba(255, 255, 255, .05); }
  .cta-panel, .aside-card { background: linear-gradient(140deg, #182844, #0e192c); box-shadow: inset 0 0 0 1px rgba(217, 180, 94, .18), var(--shadow-lg); }
  .aside-card .btn--primary { --bg: var(--heading); --fg: #0b1322; }
  .step-num { background: #0b1322; }

  /* kartice: blagi okvir umesto senke */
  .testimonial, .form-card, .service-link, .form-card-wrap, .info-card, .map-card, .legal-toc, .hero-badge, .sub, .group {
    box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
  }
  .bio-dialog { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg); }
  .bio-dialog::backdrop { background: rgba(3, 7, 14, .75); }
  .bio-photo::before { background: rgba(255, 255, 255, .06); }

  /* forma */
  .field input, .field textarea { background: #0d1729; }
  .field.is-invalid input, .field.is-invalid textarea { border-color: #ff8a75; background: rgba(194, 65, 45, .14); }
  .form-status.ok { color: #7fd6a2; }
  .form-status.err { color: #ff9a87; }
  .form-status a { color: var(--heading); }

  /* mapa u tamnim tonovima */
  .map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.55) brightness(.92) contrast(.95); }

  /* fotografije malo prigušene da ne "blešte" u mraku */
  .feature-media img, .page-hero-media img, .hero-arch img, .g-item img, .service-link-media img, .split-media img { filter: brightness(.9) saturate(.95); }

  ::selection { background: var(--ochre); color: #0b1322; }
}
