/* OptiMove centar — redizajn 2026 */
:root {
  --navy-950: #061423;
  --navy-900: #0A1F33;
  --navy-800: #0F2C45;
  --navy-700: #16405F;
  --ink: #0B2A3E;           /* tamnoplava iz loga */
  --blue: #179BD0;          /* plava iz loga */
  --blue-600: #0E86B8;
  --blue-700: #0A6E99;      /* plava za tekst na bijelom */
  --blue-100: #E3F3FA;
  --blue-50: #F1F8FC;
  --text: #33475A;
  --muted: #6A7C8C;
  --line: #DCE6EE;
  --bg: #FFFFFF;
  --bg-soft: #F4F8FB;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(10, 31, 51, .04), 0 12px 40px -12px rgba(10, 31, 51, .14);
  --display: "Red Hat Display", system-ui, sans-serif;
  --body: "Red Hat Text", system-ui, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0; line-height: 1.08; letter-spacing: -0.02em; font-weight: 600; }
h1 { font-size: clamp(42px, 6.2vw, 86px); }
h2 { font-size: clamp(32px, 4.2vw, 56px); }
h3 { font-size: clamp(22px, 2vw, 27px); line-height: 1.2; letter-spacing: -0.01em; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy-900); color: #B9C8D6; }
.section--dark h2, .section--dark h3 { color: #fff; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-700); margin-bottom: 18px;
}
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .kicker, .hero .kicker { color: var(--blue); }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--text); }
.section--dark .lead { color: #B9C8D6; }
.head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.head .lead { margin-top: 22px; }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.head--row > div { max-width: 700px; }

/* Gumbi */
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 26px;
  border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: .005em;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap; cursor: pointer; border: 0;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-600); }
.btn--ghost { border: 1.5px solid rgba(255,255,255,.28); color: #fff; }
.btn--ghost:hover { border-color: #fff; }
.btn--line { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.btn--line:hover { border-color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--navy-700); }
.link {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 15.5px;
  color: var(--blue-700); border-bottom: 1.5px solid transparent; padding-bottom: 2px; transition: border-color .2s;
}
.link:hover { border-color: currentColor; }
.link svg { width: 16px; height: 16px; }

/* Zaglavlje */
.top {
  position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s var(--ease), box-shadow .3s var(--ease), transform .35s var(--ease);
}
.top__in { display: flex; align-items: center; justify-content: space-between; height: 86px; gap: 24px; }
.top__logo img { height: 34px; width: auto; }
.top__logo .l-dark { display: none; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  font-family: var(--display); font-weight: 500; font-size: 15.5px; color: rgba(255,255,255,.82);
  padding: 10px 14px; border-radius: 999px; transition: color .2s, background .2s;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.08); }
.nav .btn { height: 46px; padding: 0 22px; font-size: 15px; margin-left: 12px; }
.top.is-solid, .top--light { background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.top.is-solid .l-light, .top--light .l-light { display: none; }
.top.is-solid .l-dark, .top--light .l-dark { display: block; }
.top.is-solid .nav a:not(.btn), .top--light .nav a:not(.btn) { color: var(--text); }
.top.is-solid .nav a:not(.btn):hover, .top.is-solid .nav a[aria-current="page"],
.top--light .nav a:not(.btn):hover, .top--light .nav a[aria-current="page"] { color: var(--ink); background: var(--bg-soft); }
.top.is-hidden { transform: translateY(-100%); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); background: none; cursor: pointer; position: relative; }
.burger span, .burger span::before { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; content: ""; transition: transform .3s var(--ease), top .3s; }
.burger span { top: 19px; } .burger span::before { left: 0; right: 0; top: 7px; }
.top.is-solid .burger, .top--light .burger { border-color: var(--line); }
.top.is-solid .burger span, .top.is-solid .burger span::before, .top--light .burger span, .top--light .burger span::before { background: var(--ink); }

@media (max-width: 960px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; background: var(--navy-950); flex-direction: column; align-items: flex-start; justify-content: center;
    padding: 100px var(--gutter) 40px; gap: 4px; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
  }
  .nav a:not(.btn) { font-size: 30px; font-weight: 500; color: #fff !important; background: none !important; padding: 8px 0; }
  .nav .btn { margin: 28px 0 0; height: 54px; }
  body.menu-open .nav { opacity: 1; visibility: visible; }
  body.menu-open { overflow: hidden; }
  body.menu-open .burger { z-index: 2; border-color: rgba(255,255,255,.3) !important; }
  body.menu-open .burger span { transform: rotate(45deg); top: 22px; background: #fff !important; }
  body.menu-open .burger span::before { transform: rotate(-90deg); top: 0; background: #fff !important; }
  body.menu-open .top__logo { position: relative; z-index: 2; }
  body.menu-open .top__logo .l-light { display: block !important; }
  body.menu-open .top__logo .l-dark { display: none !important; }
  body.menu-open .top { background: transparent; box-shadow: none; backdrop-filter: none; }
}

/* Hero */
.hero {
  position: relative; background: var(--navy-950); color: #B9C8D6; overflow: hidden;
  padding: calc(86px + clamp(48px, 8vw, 110px)) 0 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(23,155,208,.22), transparent 70%),
    radial-gradient(40% 50% at 10% 100%, rgba(23,155,208,.10), transparent 70%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { color: #fff; font-weight: 600; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .lead { color: #B9C8D6; margin: 28px 0 40px; max-width: 580px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__media { position: relative; }
.hero__card {
  position: relative; border-radius: 28px; overflow: hidden; background: #fff; aspect-ratio: 4 / 4.3;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.hero__card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__badge {
  position: absolute; left: clamp(-36px, -3vw, -16px); bottom: 36px; background: rgba(10,31,51,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 18px 22px; color: #fff; display: flex; gap: 16px; align-items: center;
}
.hero__badge b { font-family: var(--display); font-size: 40px; font-weight: 600; line-height: 1; color: var(--blue); letter-spacing: -0.02em; }
.hero__badge span { font-size: 14px; line-height: 1.35; color: #C9D6E2; }
.pulse { position: relative; margin-top: clamp(56px, 8vw, 100px); height: 120px; }
.pulse svg { position: absolute; left: 0; width: 100%; height: 100%; overflow: visible; }
.pulse path { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pulse .draw { stroke-dasharray: var(--len, 3000); stroke-dashoffset: var(--len, 3000); animation: draw 2.6s .3s var(--ease) forwards; }
.pulse .ghost { stroke: rgba(255,255,255,.08); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .pulse .draw { animation: none; stroke-dashoffset: 0; } }

/* Brojke (kao na referenci) */
.stats { background: var(--navy-950); border-top: 1px solid rgba(255,255,255,.08); }
.stats__row { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat { padding: 40px 24px 44px; position: relative; text-align: center; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 34px; height: 20px; transform: translate(-50%, -60%);
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 20'%3E%3Cpath d='M0 10h10l3-7 4 14 3-9 2 2h12' fill='none' stroke='%23179BD0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.stat b { display: block; font-family: var(--display); font-size: clamp(38px, 4vw, 56px); font-weight: 600; color: #fff; letter-spacing: -0.03em; line-height: 1; }
.stat span { display: block; margin-top: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8FA5B8; font-family: var(--display); }

/* Uvod */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.intro p.lead { color: var(--ink); font-size: clamp(20px, 1.8vw, 25px); line-height: 1.5; font-family: var(--display); font-weight: 400; letter-spacing: -0.005em; }
.disc { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-top: 36px; }
.disc li { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 18px; }
.disc li:nth-child(odd) { padding-right: 16px; }
.disc li span { font-size: 13px; color: var(--blue-700); font-weight: 700; letter-spacing: .05em; width: 26px; }

/* Usluge */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc {
  background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.svc:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(10,31,51,.04), 0 24px 60px -20px rgba(10,31,51,.25); }
.svc__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc:hover .svc__img img { transform: scale(1.04); }
.svc__body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.svc__tag { font-family: var(--display); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-700); margin-bottom: 10px; line-height: 1.4; }
.svc h3 { margin-bottom: 14px; }
.svc p { font-size: 16px; color: var(--muted); }
.svc .link { margin-top: auto; padding-top: 8px; align-self: flex-start; }

/* Citat */
.quote { position: relative; overflow: hidden; }
.quote__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.quote blockquote { margin: 0; font-family: var(--display); font-size: clamp(34px, 4.6vw, 64px); line-height: 1.08; letter-spacing: -0.025em; color: #fff; font-weight: 500; }
.quote blockquote em { font-style: normal; color: var(--blue); }
.quote p { color: #B9C8D6; }
.quote__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.quote__img img { width: 100%; height: 100%; object-fit: cover; }

/* Timeline */
.tl { position: relative; overflow: hidden; }
.tl__nav { display: flex; gap: 10px; }
.tl__btn {
  width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.22); background: none; color: #fff; cursor: pointer;
  display: grid; place-items: center; transition: border-color .2s, background .2s, opacity .2s;
}
.tl__btn:hover { border-color: #fff; }
.tl__btn:disabled { opacity: .3; cursor: default; }
.tl__btn svg { width: 20px; height: 20px; }
.tl__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(280px, 30vw, 380px); gap: 0;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none;
  --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  padding: 0 var(--edge); scroll-padding: 0 var(--edge);
  cursor: grab;
}
.tl__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.tl__track::-webkit-scrollbar { display: none; }
.tl__item { scroll-snap-align: start; padding-right: clamp(28px, 3vw, 48px); position: relative; display: flex; flex-direction: column; }
.tl__year {
  font-family: var(--display); font-size: clamp(64px, 7vw, 104px); font-weight: 300; line-height: .9; letter-spacing: -0.04em; color: #fff;
}
.tl__month { font-family: var(--display); font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin: 18px 0 10px; }
.tl__item h3 { font-size: 21px; margin-bottom: 10px; }
.tl__item p { font-size: 15.5px; color: #9FB2C3; margin: 0 0 24px; }
.tl__photo { margin-top: auto; border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; background: var(--navy-800); }
.tl__photo img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.tl__line { position: relative; height: 54px; margin: 44px 0 0; }
.tl__line svg { width: 100%; height: 100%; display: block; }
.tl__line path { fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tl__line .base { stroke: rgba(255,255,255,.12); }
.tl__line .prog { stroke: var(--blue); }
.tl__dot { position: absolute; top: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--navy-900); border: 2px solid var(--blue); transform: translate(-50%, -50%); }

/* Tim */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.member { display: block; }
.member__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--bg-soft); margin-bottom: 20px; }
.member__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .8s var(--ease); }
.member:hover .member__img img { transform: scale(1.04); }
.member h3 { font-size: 21px; }
.member p { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.member .role { font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-700); margin-top: 10px; display: block; }

/* Cjenik */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pcard { background: #fff; border-radius: var(--radius); padding: 34px 32px 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.pcard__ico { width: 52px; height: 52px; border-radius: 14px; background: var(--blue-100); display: grid; place-items: center; color: var(--blue-700); margin-bottom: 22px; }
.pcard__ico svg { width: 26px; height: 26px; }
.pcard h3 { font-size: 22px; margin-bottom: 18px; }
.plist li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.plist li small { display: block; color: var(--muted); font-size: 13.5px; }
.plist li b { font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 17px; white-space: nowrap; }
.pcard .link { margin-top: auto; padding-top: 22px; align-self: flex-start; }
.pcard .plist { margin-bottom: 0; }

/* Cjenik stranica */
.pricing { display: grid; grid-template-columns: 280px 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.pricing__nav { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 2px; }
.pricing__nav a { padding: 10px 16px; border-radius: 12px; font-family: var(--display); font-weight: 500; color: var(--muted); transition: background .2s, color .2s; }
.pricing__nav a:hover, .pricing__nav a.is-active { background: var(--bg-soft); color: var(--ink); }
.pgroup { scroll-margin-top: 120px; margin-bottom: 56px; }
.pgroup h2 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 18px; display: flex; align-items: center; gap: 14px; }
.pgroup h2 .n { font-size: 14px; font-weight: 700; color: var(--blue-700); letter-spacing: .06em; }
.pgroup .plist li { padding: 18px 0; font-size: 17px; color: var(--ink); }
.pgroup .plist li b { font-size: 19px; }
.note { background: var(--blue-50); border-radius: var(--radius-sm); padding: 22px 26px; font-size: 15.5px; display: flex; gap: 16px; align-items: flex-start; }
.note svg { width: 22px; height: 22px; color: var(--blue-700); flex: none; margin-top: 2px; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.posts--3 { grid-template-columns: repeat(3, 1fr); }
.post { display: flex; flex-direction: column; }
.post__img { aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-soft); margin-bottom: 18px; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post:hover .post__img img { transform: scale(1.04); }
.post time { font-family: var(--display); font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-700); }
.post h3 { font-size: 19px; line-height: 1.3; margin: 8px 0 8px; transition: color .2s; }
.post:hover h3 { color: var(--blue-700); }
.post p { font-size: 15px; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Članak */
.article { max-width: 760px; margin: 0 auto; }
.article__img { border-radius: var(--radius); overflow: hidden; margin: 0 auto 56px; max-width: 760px; }
.article__img img { width: 100%; max-height: 640px; object-fit: cover; }
.article__body { font-size: 18px; line-height: 1.75; color: var(--text); }
.article__body h2, .article__body h3, .article__body h4 { margin: 1.6em 0 .6em; font-size: 24px; line-height: 1.25; }
.article__body ul, .article__body ol { margin: 0 0 1.2em; padding-left: 1.2em; list-style: disc; }
.article__body li { margin: .35em 0; }
.article__body a { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }
.article__body img { border-radius: var(--radius-sm); margin: 1.5em 0; height: auto; }
.article__body iframe { max-width: 100%; border-radius: var(--radius-sm); }
.article__body strong { color: var(--ink); }

/* Stranice — zaglavlje */
.phead { padding: calc(86px + clamp(56px, 8vw, 110px)) 0 clamp(56px, 7vw, 96px); background: var(--navy-950); color: #B9C8D6; position: relative; overflow: hidden; }
.phead::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 90% 0%, rgba(23,155,208,.22), transparent 70%); pointer-events: none; }
.phead .wrap { position: relative; }
.phead h1 { color: #fff; font-size: clamp(40px, 5.4vw, 74px); max-width: 980px; }
.phead .lead { color: #B9C8D6; max-width: 720px; margin: 24px 0 0; }
.crumbs { font-size: 14px; color: #8FA5B8; margin-bottom: 26px; display: flex; gap: 10px; }
.crumbs a:hover { color: #fff; }
.phead--article h1 { font-size: clamp(32px, 4vw, 54px); }

/* Detalji usluga */
.detail { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; padding: clamp(64px, 8vw, 110px) 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.detail:first-child { border-top: 0; padding-top: 0; }
.detail__media { position: sticky; top: 170px; }
.detail__media img { border-radius: var(--radius); aspect-ratio: 4/3.4; object-fit: cover; width: 100%; }
.detail__num { font-family: var(--display); font-size: 14px; font-weight: 700; color: var(--blue-700); letter-spacing: .1em; margin-bottom: 14px; display: block; }
.detail h2 { margin-bottom: 26px; }
.detail p { font-size: 17.5px; }
.checks { margin: 8px 0 24px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.checks li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16.5px; color: var(--ink); }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--blue-100) no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-4.8' fill='none' stroke='%230A6E99' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.callout { border-left: 3px solid var(--blue); padding: 6px 0 6px 22px; font-family: var(--display); font-size: 21px; line-height: 1.4; color: var(--ink); font-weight: 500; margin: 28px 0; }
.subnav { position: sticky; top: 86px; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 12px; padding-bottom: 12px; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { padding: 9px 16px; border-radius: 999px; font-family: var(--display); font-weight: 500; font-size: 15px; color: var(--muted); white-space: nowrap; transition: background .2s, color .2s; }
.subnav a:hover, .subnav a.is-active { background: var(--bg-soft); color: var(--ink); }

/* Tim stranica */
.bio { display: grid; grid-template-columns: 380px 1fr; gap: clamp(40px, 6vw, 96px); padding: clamp(64px, 8vw, 110px) 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.bio:first-child { border-top: 0; padding-top: 0; }
.bio__media { position: sticky; top: 120px; align-self: start; }
.bio__media img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; object-position: 50% 20%; width: 100%; }
.bio h2 { font-size: clamp(30px, 3.2vw, 44px); }
.bio .title { font-family: var(--display); color: var(--blue-700); font-weight: 600; margin: 10px 0 30px; display: block; font-size: 17px; }
.bio p { font-size: 17.5px; }
.bio h4 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin: 40px 0 16px; font-weight: 700; }
.edu { display: flex; flex-wrap: wrap; gap: 8px; }
.edu li { background: var(--bg-soft); border-radius: 999px; padding: 8px 16px; font-size: 14.5px; color: var(--ink); }
.sign { font-family: var(--display); font-style: italic; color: var(--muted); }

/* Suradnje */
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.partner { display: flex; align-items: center; gap: 28px; padding: 30px 34px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: border-color .25s, box-shadow .25s; }
.partner:hover { border-color: transparent; box-shadow: var(--shadow); }
.partner__logo { width: 150px; height: 70px; display: grid; place-items: center; flex: none; }
.partner__logo img { max-height: 70px; width: auto; object-fit: contain; }
.partner h3 { font-size: 19px; }
.partner p { margin: 4px 0 0; font-size: 15px; color: var(--muted); }

/* CTA */
.cta { background: var(--navy-950); color: #B9C8D6; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 90% at 100% 100%, rgba(23,155,208,.22), transparent 70%); pointer-events: none; }
.cta__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.cta h2 { color: #fff; font-size: clamp(36px, 5vw, 68px); }
.cta h2 em { font-style: normal; color: var(--blue); }
.cta .lead { color: #B9C8D6; margin-top: 24px; }
.cinfo { display: grid; gap: 12px; }
.cinfo a, .cinfo div {
  display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  transition: background .25s, border-color .25s;
}
.cinfo a:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.16); }
.cinfo .ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(23,155,208,.16); color: var(--blue); display: grid; place-items: center; flex: none; }
.cinfo .ic svg { width: 22px; height: 22px; }
.cinfo small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: #8FA5B8; font-family: var(--display); }
.cinfo strong { display: block; color: #fff; font-family: var(--display); font-weight: 600; font-size: 19px; margin-top: 2px; }

/* Kontakt stranica */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact .cinfo a, .contact .cinfo div { background: var(--bg-soft); border-color: transparent; }
.contact .cinfo a:hover { background: var(--blue-50); }
.contact .cinfo strong { color: var(--ink); }
.contact .cinfo small { color: var(--muted); }
.contact .cinfo .ic { background: #fff; color: var(--blue-700); }
.form { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(28px, 4vw, 48px); }
.form h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 10px; }
.form > p { color: var(--muted); margin-bottom: 28px; }
.field { display: block; margin-bottom: 18px; }
.field span { display: block; font-family: var(--display); font-weight: 600; font-size: 14.5px; color: var(--ink); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg-soft); border: 1.5px solid transparent; border-radius: 14px; padding: 15px 18px;
  transition: border-color .2s, background .2s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .btn { width: 100%; justify-content: center; margin-top: 8px; }
.form small.hint { display: block; margin-top: 14px; color: var(--muted); font-size: 13.5px; text-align: center; }
.map { margin-top: clamp(56px, 7vw, 96px); border-radius: var(--radius); overflow: hidden; height: 440px; background: var(--bg-soft); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.hours { margin-top: 28px; }
.hours li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 16px; }
.hours li span:last-child { font-family: var(--display); font-weight: 600; }

/* Podnožje */
.foot { background: var(--navy-950); color: #8FA5B8; padding: clamp(72px, 9vw, 110px) 0 36px; font-size: 15.5px; border-top: 1px solid rgba(255,255,255,.06); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot__logo img { height: 92px; width: auto; }
.foot p { max-width: 340px; margin-top: 22px; }
.foot h4 { color: #fff; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; font-weight: 700; }
.foot li { margin: 9px 0; }
.foot a:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 24px; }
.social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; color: #fff; transition: background .2s, border-color .2s; }
.social a:hover { background: var(--blue); border-color: var(--blue); }
.social svg { width: 18px; height: 18px; }
.foot__bottom { margin-top: 72px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; }

/* Lagano pojavljivanje — bez pretjerivanja */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* Responzivno */
@media (max-width: 1100px) {
  .team { grid-template-columns: repeat(2, 1fr); }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .stats__row { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(n+4) { border-top: 1px solid rgba(255,255,255,.08); }
  .stat:nth-child(4)::before { display: none; }
}
@media (max-width: 960px) {
  .hero__grid, .intro, .quote__grid, .cta__grid, .contact, .detail, .bio, .pricing { grid-template-columns: 1fr; }
  .hero__media { max-width: 520px; }
  .hero__badge { left: 16px; }
  .services, .price-grid, .posts--3 { grid-template-columns: 1fr 1fr; }
  .partners { grid-template-columns: 1fr; }
  .detail__media, .bio__media, .pricing__nav { position: static; }
  .bio__media { max-width: 380px; }
  .pricing__nav { flex-direction: row; flex-wrap: wrap; }
  .quote__img { aspect-ratio: 16/10; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .services, .price-grid, .posts, .posts--3, .team { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; gap: 16px; }
  .member h3 { font-size: 17px; }
  .stats__row { grid-template-columns: 1fr 1fr; }
  .stat { padding: 30px 12px; }
  .stat::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.08); }
  .stat:last-child { grid-column: 1 / -1; }
  .disc { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .partner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .head--row { align-items: start; }
  .top__in { height: 74px; }
  .top__logo img { height: 28px; }
  .hero { padding-top: calc(74px + 40px); }
  .hero__cta .btn { flex: 1 1 auto; justify-content: center; }
  .pulse { height: 80px; }
  .tl__track { grid-auto-columns: 82vw; }
  .subnav { top: 74px; }
}

/* Čime se bavimo — kartice */
.bavimo .head .lead { margin-top: 22px; }
.bcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.bcard {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); padding: 44px 40px 40px;
  box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.bcard:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(10,31,51,.04), 0 24px 60px -20px rgba(10,31,51,.22); }
.bcard__ic { width: 64px; height: 64px; border-radius: 18px; background: var(--blue-100); color: var(--blue-700); display: grid; place-items: center; transition: background .3s, color .3s; }
.bcard__ic svg { width: 34px; height: 34px; }
.bcard:hover .bcard__ic { background: var(--blue); color: #fff; }
.bcard h3 { margin: 32px 0 14px; font-size: 24px; }
.bcard p { color: var(--muted); font-size: 16.5px; line-height: 1.65; margin: 0 0 32px; }
.bcard .link { margin-top: auto; align-self: flex-start; }
@media (max-width: 1000px) { .bcards { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (max-width: 640px) { .bcards { grid-template-columns: 1fr; gap: 16px; } .bcard { padding: 32px 28px 30px; } .bcard h3 { margin-top: 24px; } }

/* Naručivanje */
.book-sec { padding-top: clamp(48px, 6vw, 80px); background: var(--bg-soft); }
.book { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.book__main { display: grid; gap: 16px; min-width: 0; }
.bstep { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: opacity .3s; }
.bstep__head { display: flex; align-items: center; gap: 18px; padding: 24px 28px; }
.bstep__head h2 { font-size: 22px; }
.bstep__head > div { flex: 1; min-width: 0; }
.bstep__val { margin: 2px 0 0; font-size: 15px; color: var(--muted); }
.bstep__ic { width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--blue-100); color: var(--blue-700); display: grid; place-items: center; transition: background .3s, color .3s; }
.bstep__ic svg { width: 24px; height: 24px; }
.bstep__edit { display: none; border: 0; background: none; font: 600 15px var(--display); color: var(--blue-700); cursor: pointer; padding: 8px 4px; }
.bstep__body { display: none; padding: 0 28px 28px; }
.bstep.is-open .bstep__body { display: block; animation: bin .4s var(--ease); }
.bstep.is-done .bstep__edit { display: block; }
.bstep.is-done .bstep__ic { background: var(--blue); color: #fff; }
.bstep.is-done .bstep__val { color: var(--ink); font-weight: 500; }
.bstep.is-locked { opacity: .55; }
.bstep.is-locked .bstep__ic { background: var(--bg-soft); color: var(--muted); }
@keyframes bin { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .bstep.is-open .bstep__body { animation: none; } }

.bcats { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -28px 18px; padding: 2px 28px; }
.bcats::-webkit-scrollbar { display: none; }
.bcat { flex: none; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 16px; font: 500 14.5px var(--display); color: var(--text); cursor: pointer; transition: all .2s; }
.bcat:hover { border-color: var(--ink); color: var(--ink); }
.bcat.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.bservices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bsvc {
  display: flex; align-items: center; gap: 14px; text-align: left; padding: 16px 18px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff;
  cursor: pointer; font: inherit; color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s;
}
.bsvc:hover { border-color: #B7CBDA; }
.bsvc.is-on { border-color: var(--blue); background: var(--blue-50); box-shadow: 0 0 0 3px rgba(23,155,208,.12); }
.bsvc__radio { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 1.5px solid #B7CBDA; position: relative; transition: border-color .2s; }
.bsvc.is-on .bsvc__radio { border-color: var(--blue); }
.bsvc.is-on .bsvc__radio::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--blue); }
.bsvc__name { flex: 1; font-family: var(--display); font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.bsvc__name small { display: block; font-family: var(--body); font-weight: 400; font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.bsvc__price { font-family: var(--display); font-weight: 600; font-size: 16px; white-space: nowrap; }

.picker { display: grid; grid-template-columns: 340px 1fr; gap: 28px; align-items: start; }
.cal { border: 1.5px solid var(--line); border-radius: 20px; padding: 18px; }
.cal__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal__top strong { font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--ink); text-transform: capitalize; }
.cal__nav { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--bg-soft); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.cal__nav:hover:not(:disabled) { background: var(--blue-100); }
.cal__nav:disabled { opacity: .3; cursor: default; }
.cal__nav svg { width: 17px; height: 17px; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__dow span { text-align: center; font: 600 11.5px var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 6px 0; }
.cal__d {
  aspect-ratio: 1; border: 0; border-radius: 12px; background: none; font: 500 15px var(--display); color: var(--ink); cursor: pointer; position: relative;
  transition: background .15s, color .15s;
}
.cal__d.is-open:hover { background: var(--blue-100); }
.cal__d.is-off, .cal__d.is-closed { color: #C3CFD9; cursor: default; }
.cal__d.is-full { color: #A9B7C3; cursor: default; text-decoration: line-through; }
.cal__d.is-today::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--blue); transform: translateX(-50%); }
.cal__d.is-sel { background: var(--ink); color: #fff; }
.cal__d.is-sel::after { background: #fff; }

.slots { min-height: 300px; }
.slots__empty { height: 100%; min-height: 300px; border: 1.5px dashed var(--line); border-radius: 20px; display: grid; place-content: center; justify-items: center; text-align: center; color: var(--muted); padding: 24px; }
.slots__empty svg { width: 32px; height: 32px; color: #B7CBDA; margin-bottom: 12px; }
.slots__empty p { max-width: 240px; margin: 0; font-size: 15px; }
.slots__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.slots__head strong { font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 17px; }
.slots__head strong::first-letter { text-transform: uppercase; }
.slots__head span { font-size: 14px; color: var(--muted); }
.slots__group + .slots__group { margin-top: 18px; }
.slots__label { display: block; font: 700 11.5px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.slots__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
@media (max-width: 640px) { .slots__grid { grid-template-columns: repeat(4, 1fr); gap: 6px; } .slot { font-size: 14.5px; } }
.slot {
  height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font: 600 15px var(--display); color: var(--ink); cursor: pointer;
  font-variant-numeric: tabular-nums; transition: border-color .15s, background .15s, color .15s;
}
.slot:hover:not(:disabled) { border-color: var(--blue); color: var(--blue-700); }
.slot.is-sel { background: var(--blue); border-color: var(--blue); color: #fff; }
.slot:disabled { background: var(--bg-soft); border-color: transparent; color: #B9C6D1; text-decoration: line-through; cursor: default; }
.slots__hint, .slots__none { margin: 18px 0 0; font-size: 14px; color: var(--muted); }

.bform .field-row { gap: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; margin-top: 4px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); flex: none; }
.check a { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }
.bform__err { color: #B42318; font-size: 15px; margin: 14px 0 0; min-height: 1px; }

.bsum { position: sticky; top: 110px; }
.bsum__card { background: var(--navy-950); color: #B9C8D6; border-radius: var(--radius); padding: 30px 28px; }
.bsum__card .kicker { color: var(--blue); }
.bsum__list { margin: 0; display: grid; }
.bsum__list div { display: grid; gap: 2px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.bsum__list dt { font: 700 11.5px var(--display); letter-spacing: .14em; text-transform: uppercase; color: #7F95A8; }
.bsum__list dd { margin: 0; color: #fff; font-family: var(--display); font-weight: 500; font-size: 16px; }
.bsum__list dd::first-letter { text-transform: uppercase; }
.bsum__price { display: flex; justify-content: space-between; align-items: baseline; padding: 20px 0 22px; }
.bsum__price b { font: 600 30px var(--display); color: #fff; letter-spacing: -0.02em; }
.bsum__btn { width: 100%; justify-content: center; }
.bsum__btn:disabled { background: rgba(255,255,255,.1); color: rgba(255,255,255,.4); cursor: not-allowed; }
.bsum__btn.is-busy { opacity: .7; pointer-events: none; }
.bsum__note { font-size: 13.5px; margin: 16px 0 0; text-align: center; color: #8FA5B8; }
.bsum__note a { color: #fff; }

.bdone { grid-column: 1 / -1; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 64px); text-align: center; }
.bdone__ic { width: 76px; height: 76px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; margin: 0 auto 26px; }
.bdone__ic svg { width: 38px; height: 38px; }
.bdone h2 { margin-bottom: 18px; }
.bdone .lead { max-width: 620px; margin: 0 auto 32px; }
.bdone .lead strong { color: var(--ink); }
.bdone__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.book.is-done .book__main, .book.is-done .bsum { display: none; }

@media (max-width: 1100px) { .picker { grid-template-columns: 1fr; } .cal { max-width: 400px; } }
@media (max-width: 960px) { .book { grid-template-columns: 1fr; } .bsum { position: static; } }
@media (max-width: 640px) {
  .bservices { grid-template-columns: 1fr; }
  .bstep__head { padding: 20px; gap: 14px; } .bstep__body { padding: 0 20px 22px; }
  .bcats { margin: 0 -20px 16px; padding: 2px 20px; }
  .bstep__ic { width: 42px; height: 42px; }
  .cal { padding: 12px; max-width: none; }
}
