/* ==========================================================================
   NutricentarZg - dizajn sustav
   ========================================================================== */

:root {
  --bg: #f5f1e8;
  --bg-2: #ece6d8;
  --surface: #fffdf8;
  --ink: #14231a;
  --ink-2: #2b3b31;
  --muted: #5f6c63;
  --forest: #173a28;
  --forest-2: #22503a;
  --leaf: #4f9a3a;
  --leaf-bright: #7cc35f;
  --lime: #cfe6a8;
  --sage: #dfe8d6;
  --honey: #d9a441;
  --line: rgba(20, 35, 26, 0.12);
  --line-strong: rgba(20, 35, 26, 0.24);
  --on-dark: #f5f1e8;
  --on-dark-muted: rgba(245, 241, 232, 0.68);

  --font-display: "Google Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Google Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --radius: 22px;
  --radius-lg: 36px;
  --header-h: 84px;
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scrollbar-width: none; -ms-overflow-style: none; }
/* Scrollbar je uvijek skriven (skrol i dalje radi) - nema pomicanja sadržaja pri tranzicijama */
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(16px, 0.35vw + 15px, 18px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--lime); color: var(--forest); }
:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; border-radius: 6px; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

/* Grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Tipografija ---------- */
.display, h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.04;
}
.display-xl { font-size: clamp(2.9rem, 8.6vw, 8.2rem); line-height: 0.98; letter-spacing: -0.055em; }
.display-l  { font-size: clamp(2.1rem, 5.8vw, 5.4rem); line-height: 1; letter-spacing: -0.05em; }
h1, h2, h3 { overflow-wrap: break-word; }
.display-m  { font-size: clamp(2rem, 4.2vw, 3.8rem); }
.display-s  { font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1.12; }
em, .italic { font-style: italic; font-weight: inherit; }
.accent { color: var(--leaf); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest-2);
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 4px rgba(79, 154, 58, 0.18);
}
.on-dark .eyebrow { color: var(--lime); }
.hero .eyebrow {
  color: var(--on-dark);
  padding: 9px 16px 9px 14px;
  border-radius: 999px;
  background: rgba(10, 26, 17, 0.35);
  box-shadow: inset 0 0 0 1px rgba(245, 241, 232, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  letter-spacing: 0.14em;
  font-size: clamp(0.66rem, 1.6vw, 0.78rem);
  max-width: 100%;
}
.hero .eyebrow::before { background: var(--leaf-bright); box-shadow: 0 0 0 4px rgba(124, 195, 95, 0.25); flex-shrink: 0; }
.lead { font-size: clamp(1.08rem, 0.6vw + 0.95rem, 1.32rem); line-height: 1.6; color: var(--ink-2); max-width: 46ch; }
.muted { color: var(--muted); }

/* Split text maske */
.line-mask { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.word-mask { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.04em 0.06em 0.24em; margin: -0.04em -0.06em -0.24em; }
.split-done .word-mask { overflow: visible; }
.word-inner { display: inline-block; will-change: transform; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { width: 100%; max-width: 820px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 11vw, 160px); position: relative; }
.section-tight { padding-block: clamp(56px, 7vw, 96px); }
.on-dark { background: var(--forest); color: var(--on-dark); }
.on-dark .lead, .on-dark .muted { color: var(--on-dark-muted); }
.bg-sage { background: var(--sage); }
.bg-surface { background: var(--surface); }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--forest); color: var(--on-dark);
  padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px 48px;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.section-head .eyebrow { margin-bottom: 20px; }
.section-head p { max-width: 42ch; }
@media (max-width: 960px) { .section-head { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Gumbi ---------- */
.btn {
  --b-bg: var(--forest);
  --b-fg: var(--on-dark);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--b-bg);
  color: var(--b-fg);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.005em;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  transition: color 0.45s var(--ease-out);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--leaf);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.55s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn .btn-icon {
  display: grid; place-items: center;
  width: 30px; height: 30px; margin-right: -12px;
  border-radius: 50%;
  background: var(--on-dark);
  color: var(--forest);
  transition: transform 0.5s var(--ease-out);
}
.btn:hover .btn-icon { transform: rotate(-45deg); }
.btn-light { --b-bg: var(--on-dark); --b-fg: var(--forest); }
.btn-light .btn-icon { background: var(--forest); color: var(--on-dark); }
.btn-light:hover { color: var(--on-dark); }
.btn-ghost { --b-bg: transparent; --b-fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-ghost:hover { color: var(--on-dark); }
.on-dark .btn-ghost, .hero .btn-ghost { --b-fg: var(--on-dark); box-shadow: inset 0 0 0 1px rgba(245, 241, 232, 0.4); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 0.9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700;
  position: relative;
  padding-bottom: 4px;
}
.link-arrow::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1.5px; background: currentColor;
  transform-origin: right; transform: scaleX(0.35);
  transition: transform 0.6s var(--ease-out);
}
.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }
.link-arrow svg { transition: transform 0.5s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: transform 0.6s var(--ease-out), background-color 0.4s, box-shadow 0.4s, height 0.4s var(--ease-out);
}
.site-header.is-scrolled {
  --header-h: 70px;
  background: rgba(245, 241, 232, 0.82);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; flex-shrink: 0; }
.brand img { width: clamp(150px, 14vw, 186px); height: auto; }
.header-dark:not(.is-scrolled) .brand-logo-wrap { background: var(--surface); }
.brand-logo-wrap {
  display: inline-flex;
  padding: 9px 16px;
  border-radius: 999px;
  transition: background-color 0.4s;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  transition: background-color 0.3s, color 0.3s;
}
.header-dark:not(.is-scrolled) .nav-link { color: var(--on-dark); }
.nav-link:hover { background: rgba(20, 35, 26, 0.06); }
.header-dark:not(.is-scrolled) .nav-link:hover { background: rgba(245, 241, 232, 0.14); }
.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute; left: 50%; bottom: 3px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--leaf-bright);
  transform: translateX(-50%);
}
.nav-link .chev { transition: transform 0.35s var(--ease-out); }
.nav-drop { position: relative; }
.nav-drop:hover .chev, .nav-drop.is-open .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: 340px;
  padding: 10px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 30px 60px -20px rgba(20, 35, 26, 0.3), 0 0 0 1px var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.3s, transform 0.4s var(--ease-out), visibility 0.3s;
}
.dropdown::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav-drop:hover .dropdown, .nav-drop.is-open .dropdown, .nav-drop:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.dropdown a {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  color: var(--ink);
  transition: background-color 0.25s;
}
.dropdown a:hover { background: var(--sage); }
.dropdown .dd-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--forest); display: grid; place-items: center; }
.dropdown .dd-icon img { width: 26px; }
.dropdown strong { display: block; font-size: 0.95rem; }
.dropdown span span { font-size: 0.82rem; color: var(--muted); line-height: 1.35; display: block; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 0.92rem;
  padding: 10px 6px;
}
.header-dark:not(.is-scrolled) .header-phone { color: var(--on-dark); }

.menu-toggle {
  display: none;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--on-dark);
  position: relative;
  z-index: 120;
}
.menu-toggle span {
  position: absolute; left: 16px; right: 16px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform 0.5s var(--ease-out), top 0.5s var(--ease-out);
}
.menu-toggle span:nth-child(1) { top: 21px; }
.menu-toggle span:nth-child(2) { top: 29px; }
.menu-open .menu-toggle span:nth-child(1) { top: 25px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 25px; transform: rotate(-45deg); }

@media (max-width: 1100px) {
  .nav, .header-phone, .header-actions .btn { display: none; }
  .menu-toggle { display: block; }
}

/* Mobilni meni */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--forest);
  color: var(--on-dark);
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  clip-path: circle(0% at calc(100% - 50px) 42px);
  visibility: hidden;
  overflow-y: auto;
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu .m-link {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  padding: 8px 0;
  border-bottom: 1px solid rgba(245, 241, 232, 0.12);
}
.mobile-menu .m-link small { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.1em; color: var(--lime); }
.mobile-menu .m-sub { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 0 8px; }
.mobile-menu .m-sub a { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(245, 241, 232, 0.25); font-size: 0.9rem; }
.mobile-menu .m-foot { margin-top: auto; padding-top: 32px; display: grid; gap: 14px; }
.mobile-menu .m-foot a:not(.btn) { color: var(--on-dark-muted); }
/* Dok je izbornik otvoren, zaglavlje (logo + gumb X) mora biti iznad njega i uvijek vidljivo */
.menu-open .site-header { z-index: 120; transform: none; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-open .menu-toggle { background: var(--lime); color: var(--forest); }
.menu-open .brand-logo-wrap { background: var(--surface); }

/* ---------- Page transition + intro ---------- */
.pt {
  position: fixed;
  inset: 0;
  z-index: 500;
  pointer-events: none;
  display: grid;
  place-items: center;
  visibility: hidden;
}
.js .pt { visibility: visible; animation: ptFailsafe 0.01s 4s forwards; }
@keyframes ptFailsafe { to { visibility: hidden; } }
.pt-layer { position: absolute; inset: 0; background: var(--leaf); }
.pt-layer.l2 { background: var(--forest); }
.pt-label {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  color: var(--on-dark);
}
.pt-apple {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--surface);
  display: grid; place-items: center;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.45);
}
.pt-apple img { width: 32px; height: auto; transform: translateY(-1px); }
.pt-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  overflow: hidden;
  padding: 0.05em 0.1em 0.22em;
  text-align: center;
}
.pt-title span { display: inline-block; will-change: transform; }

.intro {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: none;
  background: var(--bg);
  place-items: center;
  overflow: hidden;
}
.js-intro .intro { display: grid; animation: ptFailsafe 0.01s 8s forwards; }
.intro-logo { position: relative; width: min(560px, 76vw); }
.intro-logo img { width: 100%; clip-path: inset(0 100% 0 0); }
.intro-bar { position: absolute; left: 0; right: 0; bottom: -28px; height: 2px; background: var(--line); overflow: hidden; }
.intro-bar i { position: absolute; inset: 0; background: var(--leaf); transform-origin: left; transform: scaleX(0); }
.intro-quote {
  position: absolute; left: 0; right: 0; bottom: clamp(24px, 6vh, 60px);
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--muted);
  padding-inline: var(--gutter);
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
}
.intro-quote { opacity: 0; visibility: hidden; transform: translateY(16px); }
.intro-panel {
  position: absolute; left: 0; right: 0; top: 0;
  height: 200%;
  background: var(--forest);
  transform: translateY(50%);
  will-change: transform;
}

/* Custom cursor */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 400;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--leaf);
  transition: background-color 0.3s, box-shadow 0.3s;
  pointer-events: none;
  display: none;
}
.cursor-label {
  position: fixed; left: 0; top: 0; z-index: 401;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--on-dark);
  display: none;
  place-items: center;
  font-size: 0.8rem; font-weight: 700;
  pointer-events: none;
  transform: scale(0);
}
/* Prsten iznad tekstualnih linkova: tanki obrub, gotovo prozirna ispuna */
.cursor.is-ring {
  background: rgba(124, 195, 95, 0.14);
  box-shadow: inset 0 0 0 1.5px var(--leaf);
}
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor { display: block; }
  .has-cursor .cursor-label { display: grid; }
}

/* ---------- Hero (naslovna) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--on-dark);
  padding: calc(var(--header-h) + 60px) 0 clamp(32px, 5vw, 64px);
  overflow: hidden;
  background: var(--forest);
}
.hero-media { position: absolute; inset: -8% 0 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 26, 17, 0.55) 0%, rgba(10, 26, 17, 0) 30%),
    linear-gradient(0deg, rgba(10, 26, 17, 0.92) 0%, rgba(10, 26, 17, 0.35) 55%, rgba(10, 26, 17, 0.1) 100%);
}
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: end; }
.hero h1 { margin: 22px 0 0; }
/* Uvijek dva reda: „Holistički pristup“ / „zdravlju“ - veličina je izračunata da prvi red stane u stupac */
.hero .hero-title { font-size: clamp(2.4rem, 7.2vw, 6.2rem); }
@media (max-width: 900px) { .hero .hero-title { font-size: clamp(2.4rem, 12vw, 6.4rem); } }
.hero h1 em { color: var(--lime); }
.hero-side { display: grid; gap: 28px; justify-items: start; padding-bottom: 12px; }
.hero-side .lead { color: rgba(245, 241, 232, 0.82); }
.hero-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: clamp(40px, 7vw, 88px);
  padding-top: 22px;
  border-top: 1px solid rgba(245, 241, 232, 0.2);
  font-size: 0.88rem;
  color: rgba(245, 241, 232, 0.72);
}
.hero-foot ul { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 0; padding: 0; }
.hero-foot li { display: inline-flex; align-items: center; gap: 8px; }
.hero-foot li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--leaf-bright); }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-cue i {
  width: 22px; height: 36px; border-radius: 20px; border: 1.5px solid currentColor; position: relative;
}
.scroll-cue i::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px;
  border-radius: 2px; background: currentColor; animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  padding-block: clamp(22px, 3vw, 36px);
  border-block: 1px solid var(--line);
  background: var(--bg);
}
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-group { display: flex; align-items: center; flex-shrink: 0; }
.marquee-item {
  display: inline-flex; align-items: center; gap: clamp(20px, 3vw, 44px);
  padding-right: clamp(20px, 3vw, 44px);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.2vw, 3.8rem);
  letter-spacing: -0.03em;
  white-space: nowrap;
  line-height: 1.1;
}
.marquee-item:nth-child(even) { font-style: italic; color: var(--leaf); }
.marquee-item svg { width: clamp(22px, 2.6vw, 38px); color: var(--leaf); flex-shrink: 0; }

/* ---------- Intro / manifest ---------- */
.manifest { display: grid; grid-template-columns: 1fr 2.2fr; gap: 48px; }
.manifest-text {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 3.3rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
}
.manifest-text .w { opacity: 0.16; transition: none; }
.manifest-text em { color: var(--leaf); }
@media (max-width: 900px) { .manifest { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Usluge ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 480px;
  padding: clamp(24px, 2.6vw, 36px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 0 0 1px var(--line);
  transition: color 0.5s var(--ease-out), transform 0.6s var(--ease-out);
}
.service-card::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: var(--forest);
  clip-path: circle(0% at 100% 0%);
  transition: clip-path 0.9s var(--ease-out);
}
.service-card:hover { color: var(--on-dark); }
.service-card:hover::before { clip-path: circle(150% at 100% 0%); }
.service-card .num { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; opacity: 0.55; }
.service-card .s-icon {
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--forest);
  display: grid; place-items: center;
  margin: 28px 0 auto;
  transition: background-color 0.5s, transform 0.8s var(--ease-out);
}
.service-card:hover .s-icon { background: var(--leaf); transform: rotate(-12deg) scale(1.06); }
.service-card .s-icon img { width: 40px; }
.service-card h3 { font-size: clamp(1.8rem, 2.6vw, 2.5rem); margin: 48px 0 14px; }
.service-card p { color: var(--muted); transition: color 0.5s; }
.service-card:hover p { color: var(--on-dark-muted); }
.service-card .s-go {
  position: absolute; top: clamp(24px, 2.6vw, 36px); right: clamp(24px, 2.6vw, 36px);
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: transform 0.6s var(--ease-out), background-color 0.4s, box-shadow 0.4s, color 0.4s;
}
.service-card:hover .s-go { background: var(--lime); color: var(--forest); box-shadow: none; transform: rotate(-45deg); }
@media (max-width: 980px) {
  .services { grid-template-columns: 1fr 1fr; }
  .services > .service-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .service-card { min-height: 0; }
  .service-card .s-icon { margin-bottom: 0; }
  .service-card h3 { margin-top: 32px; }
}

@media (max-width: 640px) { .services { grid-template-columns: minmax(0, 1fr); } }
/* ---------- Cjenik ---------- */
.price-teaser {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: clamp(28px, 5vw, 72px);
  border-radius: var(--radius-lg);
  background: var(--sage);
}
.prt-intro { display: grid; gap: 22px; justify-items: start; }
.price-rows { display: grid; border-top: 1px solid var(--line-strong); }
.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-strong);
  transition: padding 0.5s var(--ease-out);
}
.price-row:hover { padding-inline: 14px; }
.pr-name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 1.8vw, 1.55rem); letter-spacing: -0.02em; line-height: 1.15; }
.pr-prices { display: grid; justify-items: end; gap: 2px; text-align: right; }
.pr-price { font-weight: 800; font-size: 1.15rem; white-space: nowrap; }
.pr-anchor { font-size: 0.8rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 900px) { .price-teaser { grid-template-columns: 1fr; } }

/* Tablica cjenika: aktualna + sidrena cijena */
.price-table { border-top: 1px solid var(--line-strong); }
.prt-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: clamp(20px, 2.6vw, 30px) 0;
  border-bottom: 1px solid var(--line);
}
.prt-head {
  padding: 16px 0;
  font-size: 0.76rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.prt-head small { display: block; margin-top: 4px; font-size: 0.72rem; letter-spacing: 0.08em; color: var(--leaf); }
.prt-head > :not(:first-child), .prt-now, .prt-anchor { text-align: right; }
.prt-name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.35rem, 2.4vw, 2.1rem); letter-spacing: -0.03em; line-height: 1.1; }
.prt-name a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size 0.6s var(--ease-out), color 0.3s; }
.prt-name a:hover { background-size: 100% 2px; color: var(--forest-2); }
.prt-special { display: inline-block; margin-left: 10px; padding: 4px 10px; border-radius: 999px; background: var(--lime); font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0; vertical-align: middle; }
.prt-now strong { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.45rem, 2.4vw, 2.1rem); letter-spacing: -0.03em; color: var(--forest-2); }
.prt-anchor strong { font-weight: 700; font-size: clamp(1.05rem, 1.6vw, 1.35rem); color: var(--ink-2); }
.prt-label { display: none; }
@media (max-width: 700px) {
  .prt-head { display: none; }
  .prt-row { grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .prt-name { grid-column: 1 / -1; }
  .prt-now, .prt-anchor { text-align: left; display: grid; gap: 2px; }
  .prt-label { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
}
.price-info { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; margin-top: clamp(32px, 4vw, 56px); }
.price-info h3 { font-size: 1.3rem; margin-bottom: 10px; }
.price-info .price-note { margin-top: 0; }
.price-note p + p { margin-top: 0.8em; }
.price-files { padding: 22px 26px; border-radius: var(--radius); background: var(--sage); display: grid; gap: 14px; align-content: start; }
.price-archive summary { cursor: pointer; font-weight: 700; font-size: 0.92rem; }
.price-archive ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; font-size: 0.88rem; }
.price-archive li { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.price-archive li span { color: var(--muted); margin-right: auto; }
.price-archive a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .price-info { grid-template-columns: 1fr; } }
.price-note { margin-top: 32px; padding: 22px 26px; border-radius: var(--radius); background: var(--surface); box-shadow: 0 0 0 1px var(--line); color: var(--muted); font-size: 0.95rem; }
.price-note a { color: var(--forest-2); font-weight: 700; }
@media (max-width: 860px) {
  .price-group { grid-template-columns: 1fr; }
  .pg-head { position: static; }
  .price-item { grid-template-columns: 1fr auto; }
  .price-item .dots { display: none; }
}

.checklist { display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.checklist li::before {
  content: "";
  width: 26px; height: 26px; margin-top: 1px;
  border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23173a28' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- Proces ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(245, 241, 232, 0.18); }
.step { padding: 36px clamp(0px, 2vw, 32px) 0 0; position: relative; }
.step + .step { padding-left: clamp(20px, 2.5vw, 36px); border-left: 1px solid rgba(245, 241, 232, 0.18); }
.step .step-n {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 7.5rem);
  line-height: 0.9;
  color: var(--lime);
  font-style: italic;
  letter-spacing: -0.04em;
}
.step h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); margin: 28px 0 12px; }
.step p { color: var(--on-dark-muted); max-width: 34ch; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; border-top: 0; }
  .step, .step + .step { padding: 28px 0; border-left: 0; border-top: 1px solid rgba(245, 241, 232, 0.18); }
}

/* ---------- Tim ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.member {
  position: relative;
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 12px 12px 26px;
  box-shadow: 0 0 0 1px var(--line);
  transition: transform 0.7s var(--ease-out), box-shadow 0.5s;
}
.member:hover { transform: translateY(-8px); box-shadow: 0 40px 60px -30px rgba(20, 35, 26, 0.35), 0 0 0 1px var(--line); }
.member-photo {
  position: relative;
  aspect-ratio: 4 / 4.6;
  border-radius: calc(var(--radius-lg) - 10px);
  overflow: hidden;
  background: var(--sage);
  isolation: isolate;
}
.member-photo::before {
  content: "";
  position: absolute; left: 50%; bottom: -30%;
  width: 115%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, var(--lime), rgba(207, 230, 168, 0) 68%);
  translate: -50% 0;
  z-index: -1;
  transition: transform 0.9s var(--ease-out);
}
.member:hover .member-photo::before { transform: scale(1.2); }
.member-photo img {
  position: absolute; inset: auto 0 0 0;
  width: 100%; height: 92%;
  object-fit: contain;
  object-position: bottom center;
  mix-blend-mode: multiply;
  transition: transform 0.9s var(--ease-out);
  transform-origin: bottom center;
}
.member:hover .member-photo img { transform: scale(1.05); }
.member-tag {
  position: absolute; top: 14px; left: 14px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 253, 248, 0.85);
  backdrop-filter: blur(6px);
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--forest);
}
.member-info { padding: 22px 12px 0; }
.member-info h3 { font-size: clamp(1.4rem, 1.8vw, 1.7rem); letter-spacing: -0.02em; line-height: 1.1; }
.member-role { margin-top: 8px; color: var(--leaf); font-weight: 700; font-size: 0.88rem; line-height: 1.4; }
.member-bio { margin-top: 12px; color: var(--muted); font-size: 0.93rem; line-height: 1.55; }
@media (max-width: 1100px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .member { padding: 8px 8px 18px; border-radius: 24px; }
  .member-photo { border-radius: 18px; }
  .member-info { padding: 14px 6px 0; }
  .member-info h3 { font-size: 1.15rem; }
  .member-role { font-size: 0.78rem; }
  .member-bio, .member-tag { display: none; }
}

/* Naš tim - stranica */
.team-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding-block: clamp(56px, 8vw, 110px);
  border-top: 1px solid var(--line);
}
.team-feature:nth-child(even) .tf-photo { order: 2; }
.tf-photo {
  position: relative;
  aspect-ratio: 4 / 4.8;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  background: var(--sage);
  overflow: hidden;
  isolation: isolate;
}
.tf-photo::before {
  content: "";
  position: absolute; left: 50%; bottom: -25%;
  width: 120%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, var(--lime), rgba(207, 230, 168, 0) 70%);
  translate: -50% 0; z-index: -1;
}
.tf-photo img {
  position: absolute; inset: auto 0 0;
  width: 100%; height: 88%;
  object-fit: contain; object-position: bottom center;
  mix-blend-mode: multiply;
}
.tf-index {
  position: absolute; top: 24px; right: 24px;
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--forest); color: var(--on-dark);
  font-family: var(--font-display); font-style: italic; font-size: 1.4rem;
}
.tf-body .eyebrow { margin-bottom: 22px; }
.tf-body h2 { margin-bottom: 18px; }
.tf-role { font-size: 1.1rem; font-weight: 700; color: var(--leaf); margin-bottom: 26px; }
.tf-body p + p { margin-top: 1em; }
.tf-skills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.chip {
  display: inline-flex; align-items: center;
  padding: 8px 14px; border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.86rem; font-weight: 600;
}
a.chip { transition: background-color 0.3s, color 0.3s, box-shadow 0.3s; }
a.chip:hover { background: var(--forest); color: var(--on-dark); box-shadow: none; }
@media (max-width: 860px) {
  .team-feature { grid-template-columns: 1fr; }
  .team-feature:nth-child(even) .tf-photo { order: 0; }
  .tf-photo { max-width: 460px; width: 100%; }
}

/* ---------- Blog kartice ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.post-card { display: flex; flex-direction: column; gap: 20px; }
.post-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--sage), var(--lime));
}
.post-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.1s var(--ease-out); }
.post-card:hover .post-media img { transform: scale(1.08); }
.post-badge {
  position: absolute; left: 14px; top: 14px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--surface); color: var(--forest);
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.post-meta { display: flex; gap: 14px; font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.post-meta span + span::before { content: "·"; margin-right: 14px; }
.post-card h3 {
  font-size: clamp(1.35rem, 1.8vw, 1.7rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.7s var(--ease-out);
  display: inline;
}
.post-card:hover h3 { background-size: 100% 1px; }
.post-card p { color: var(--muted); font-size: 0.96rem; }
.post-body { display: grid; gap: 10px; }

.post-featured {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  margin-bottom: clamp(56px, 7vw, 96px);
}
.post-featured .post-media { aspect-ratio: 16 / 11; border-radius: var(--radius-lg); }
.post-featured h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); line-height: 1.02; }
.post-featured p { font-size: 1.05rem; }
@media (max-width: 980px) {
  .posts { grid-template-columns: 1fr 1fr; }
  .post-featured { grid-template-columns: 1fr; }
}
@media (max-width: 620px) { .posts { grid-template-columns: 1fr; } }

.blog-tools {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: clamp(32px, 4vw, 56px);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.search {
  position: relative; flex: 1 1 280px; max-width: 420px;
}
.search input {
  width: 100%;
  min-height: 54px;
  padding: 0 20px 0 50px;
  border-radius: 999px;
  border: 0;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font: inherit;
  color: var(--ink);
}
.search input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--leaf); }
.search > svg { position: absolute; left: 18px; top: 50%; translate: 0 -50%; color: var(--muted); pointer-events: none; }
.search input { padding-right: 56px; }
/* Ugrađeni (plavi) X preglednika zamijenjen je vlastitim gumbom */
.search input::-webkit-search-cancel-button, .search input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
.search-clear {
  position: absolute; right: 9px; top: 50%; translate: 0 -50%;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--forest);
  background: var(--sage);
  transition: background-color 0.25s, color 0.25s, transform 0.4s var(--ease-out);
}
.search-clear:hover { background: var(--forest); color: var(--on-dark); transform: rotate(90deg); }
.blog-count { color: var(--muted); font-weight: 600; font-size: 0.92rem; }
.empty-state { padding: 48px 0; text-align: center; color: var(--muted); }
.blog-results { position: relative; }
.blog-results [data-post] { will-change: transform, opacity; }

/* ---------- Page hero (podstranice) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(60px, 9vw, 130px)) 0 clamp(48px, 6vw, 88px);
  overflow: hidden;
}
.page-hero .eyebrow { margin-bottom: 26px; }
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { margin-top: 28px; }
.page-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.page-hero-aside { display: grid; gap: 20px; justify-items: start; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.85rem; color: var(--muted); margin-bottom: 28px; font-weight: 600; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.hero-blob {
  position: absolute;
  right: -10vw; top: -10vw;
  width: 46vw; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, var(--lime), rgba(207, 230, 168, 0) 65%);
  opacity: 0.8;
  z-index: -1;
  pointer-events: none;
}
.page-hero .service-badge {
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--forest); display: grid; place-items: center;
  margin-bottom: 28px;
}
.page-hero .service-badge img { width: 46px; }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } }

.cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: linear-gradient(135deg, var(--sage), var(--lime));
}
.cover img { width: 100%; height: 118%; object-fit: cover; }
@media (max-width: 700px) { .cover { aspect-ratio: 4 / 3; border-radius: var(--radius); } }

/* Tipografska naslovnica za članke bez fotografije */
.type-cover {
  position: relative;
  width: 100%; height: 100%;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  gap: 16px;
  padding: clamp(20px, 3vw, 40px);
  background:
    radial-gradient(circle at 85% 110%, rgba(124, 195, 95, 0.55), rgba(124, 195, 95, 0) 55%),
    radial-gradient(circle at 10% -10%, rgba(207, 230, 168, 0.25), rgba(207, 230, 168, 0) 45%),
    var(--forest);
  color: var(--on-dark);
  overflow: hidden;
  transition: transform 1.1s var(--ease-out);
}
.post-card:hover .type-cover { transform: scale(1.04); }
.type-cover img { width: clamp(30px, 3.4vw, 48px); height: auto; margin-left: auto; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.3)); }
.type-cover span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  max-width: 11ch;
}
.cover .type-cover { padding: clamp(28px, 5vw, 72px); }
.cover .type-cover span { font-size: clamp(2.6rem, 7vw, 6.8rem); max-width: 12ch; }
.cover .type-cover img { width: clamp(44px, 5vw, 72px); }
.post-featured .type-cover span { font-size: clamp(2.2rem, 4.6vw, 4.6rem); }

/* Istaknute brojke u članku */
.prose .stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-block: 2em;
}
.prose .stat {
  display: grid; gap: 8px; align-content: start;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--forest);
  color: var(--on-dark-muted);
  font-size: 0.9rem; line-height: 1.45;
}
.prose .stat strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--lime);
}
@media (max-width: 700px) { .prose .stats { grid-template-columns: 1fr; } }
.prose .callout > p + p { margin-top: 0.8em; }

/* ---------- Prose (članci, usluge) ---------- */
.article-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 720px);
  justify-content: center;
  gap: clamp(32px, 6vw, 96px);
}
.article-aside { position: relative; }
.article-aside .sticky { position: sticky; top: 110px; display: grid; gap: 28px; }
.aside-block { display: grid; gap: 10px; font-size: 0.9rem; }
.aside-block .label { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.share { display: flex; gap: 8px; }
.share a, .share button {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.share a:hover, .share button:hover { background: var(--forest); color: var(--on-dark); box-shadow: none; }
.copy-toast { font-size: 0.82rem; color: var(--leaf); font-weight: 700; min-height: 1.2em; }
@media (max-width: 960px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-aside .sticky { position: static; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); padding-bottom: 24px; border-bottom: 1px solid var(--line); }
}

.prose { font-size: clamp(1.02rem, 0.3vw + 0.98rem, 1.14rem); line-height: 1.78; color: var(--ink-2); }
.prose > * + * { margin-top: 1.15em; }
.prose h2, .prose h3, .prose h4 { color: var(--ink); scroll-margin-top: 110px; }
.prose h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-top: 2em; }
.prose h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); margin-top: 1.9em; line-height: 1.15; }
.prose h4 { font-family: var(--font-body); font-weight: 800; font-size: 1.12rem; letter-spacing: -0.01em; margin-top: 1.6em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: 0.6em; }
.prose > :first-child { margin-top: 0; }
.prose a:not(.btn) { color: var(--forest-2); text-decoration: underline; text-decoration-color: var(--leaf); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose a:not(.btn):hover { color: var(--leaf); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose ul, .prose ol { padding-left: 0; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.55em; }
/* Dugi linkovi (literatura) i riječi bez razmaka lome se u novi red umjesto da guraju stranicu u širinu */
.prose { overflow-wrap: break-word; }
.prose a, .prose li, .prose td { overflow-wrap: anywhere; }
.prose ul > li { position: relative; padding-left: 1.7em; }
.prose ul > li::before {
  content: ""; position: absolute; left: 0.2em; top: 0.72em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 4px rgba(79, 154, 58, 0.15);
}
.prose ol { counter-reset: li; }
.prose ol > li { position: relative; padding-left: 2.4em; counter-increment: li; }
.prose ol > li::before {
  content: counter(li);
  position: absolute; left: 0; top: 0.2em;
  width: 1.7em; height: 1.7em; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sage); color: var(--forest);
  font-size: 0.8em; font-weight: 800;
}
.prose blockquote {
  position: relative;
  margin-block: 2em;
  padding: clamp(28px, 4vw, 44px);
  padding-top: clamp(56px, 6vw, 72px);
  border-radius: var(--radius);
  background: var(--forest);
  color: var(--on-dark);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
}
.prose blockquote::before {
  content: "“";
  position: absolute; top: 4px; left: clamp(24px, 3.6vw, 40px);
  font-size: 5rem; line-height: 1; color: var(--lime);
  font-style: italic;
}
.prose .pozadinababy, .prose .callout {
  padding: clamp(20px, 3vw, 30px);
  border-radius: var(--radius);
  background: var(--sage);
  border-left: 4px solid var(--leaf);
}
.prose .pozadinababy.center, .prose .center { text-align: center; }
.prose a.pozadinababy { display: inline-block; padding: 12px 24px; border-left: 0; border-radius: 999px; background: var(--forest); color: var(--on-dark); text-decoration: none; font-family: var(--font-body); font-size: 1rem; }
.prose .videoLink a, .prose a.videoLink { font-weight: 700; }
.prose img { border-radius: var(--radius); margin-inline: auto; }
.prose sup { font-size: 0.65em; color: var(--leaf); font-weight: 700; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); background: var(--surface); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.92rem; line-height: 1.5; min-width: 640px; }
.prose th { background: var(--forest); color: var(--on-dark); text-align: left; padding: 14px 16px; font-weight: 700; }
.prose td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.prose tr:nth-child(even) td { background: rgba(223, 232, 214, 0.45); }
.prose .signature {
  display: flex; align-items: center; gap: 16px;
  margin-top: 2.4em; padding-top: 1.6em;
  border-top: 1px solid var(--line);
}
.author-card {
  display: grid; grid-template-columns: 76px 1fr; gap: 18px; align-items: center;
  margin-top: 3em; padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
}
/* Autorica: byline ispod naslova članka */
.byline {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: clamp(24px, 3vw, 36px);
  padding: 8px 20px 8px 8px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow 0.3s, transform 0.5s var(--ease-out);
}
.byline:hover { box-shadow: 0 0 0 1px var(--leaf); transform: translateY(-2px); }
.bl-av { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: var(--sage); flex-shrink: 0; }
.bl-av img { width: 100%; height: 100%; object-fit: cover; object-position: top; mix-blend-mode: multiply; }
.bl-text { display: grid; line-height: 1.3; }
.bl-text strong { font-size: 1rem; font-weight: 700; }
.bl-text span { font-size: 0.86rem; color: var(--muted); }
@media (max-width: 560px) { .byline { border-radius: 22px; padding-right: 16px; } }
.aside-titles { color: var(--muted); font-size: 0.86rem; line-height: 1.5; }
.author-card { transition: box-shadow 0.3s; }
.author-card:hover { box-shadow: 0 0 0 1px var(--leaf); }
.author-card .ac-label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--leaf); margin-bottom: 2px; }
.author-card .ac-more { display: inline-flex !important; align-items: center; gap: 8px; margin-top: 8px; color: var(--forest-2) !important; font-weight: 700; font-size: 0.88rem !important; }
.prose a.author-card { text-decoration: none; color: inherit; }
.author-card .av { width: 76px; height: 76px; border-radius: 50%; overflow: hidden; background: var(--sage); }
.author-card .av img { width: 100%; height: 100%; object-fit: cover; object-position: top; mix-blend-mode: multiply; }
.author-card strong { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; }
.author-card span { color: var(--muted); font-size: 0.9rem; line-height: 1.4; display: block; }

.read-progress {
  position: fixed; left: 0; top: 0; z-index: 150;
  height: 3px; width: 100%;
  background: var(--leaf);
  transform-origin: left; transform: scaleX(0);
}

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card {
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 300px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s var(--ease-out);
}
.contact-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--forest);
  transform: translateY(101%);
  transition: transform 0.7s var(--ease-out);
}
.contact-card:hover { color: var(--on-dark); }
.contact-card:hover::before { transform: none; }
.contact-card .c-icon {
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--lime); color: var(--forest);
  margin-bottom: auto;
}
.contact-card .c-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.6; margin-top: 40px; }
.contact-card .c-value { font-family: var(--font-display); font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.15; letter-spacing: -0.02em; word-break: break-word; }
.contact-card .c-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.mini-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  font-size: 0.85rem; font-weight: 700;
  box-shadow: inset 0 0 0 1px currentColor;
  position: relative; z-index: 2;
  transition: background-color 0.3s, color 0.3s;
}
.contact-card:hover .mini-btn:hover { background: var(--lime); color: var(--forest); box-shadow: none; }
.contact-card .stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-card { min-height: 0; } .contact-card .c-label { margin-top: 24px; } }

.map-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 460px;
  background: var(--sage);
  box-shadow: 0 0 0 1px var(--line);
}
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.4) sepia(0.15) saturate(1.1); }
.map-card {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  max-width: 340px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 30px 50px -20px rgba(20, 35, 26, 0.35);
}
.map-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.map-card p { color: var(--muted); font-size: 0.94rem; margin-bottom: 14px; }
@media (max-width: 600px) {
  .map-wrap { min-height: 0; display: flex; flex-direction: column; }
  .map-wrap iframe { position: relative; height: 320px; }
  .map-card { position: static; max-width: none; box-shadow: none; border-radius: 0; }
}

/* FAQ */
.faq-layout > * { min-width: 0; }
.faq-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-layout .sticky { position: sticky; top: 120px; display: grid; gap: 24px; justify-items: start; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: minmax(0, 1fr); } .faq-layout .sticky { position: static; } }
.faq { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.faq-q:hover { color: var(--forest-2); }
.faq-text { min-width: 0; overflow-wrap: break-word; }
.faq-icon {
  flex-shrink: 0;
  width: 48px; height: 48px; border-radius: 50%;
  position: relative;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: background-color 0.4s, transform 0.6s var(--ease-out);
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 16px; height: 2px; margin: -1px 0 0 -8px;
  background: currentColor; border-radius: 2px;
  transition: transform 0.5s var(--ease-out);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item.is-open .faq-icon { background: var(--lime); box-shadow: none; transform: rotate(180deg); }
.faq-item.is-open .faq-icon::after { transform: rotate(0); }
.faq-a { height: 0; overflow: hidden; }
.faq-a-inner { padding: 0 64px 30px 0; color: var(--muted); }
.faq-a-inner ul { margin-top: 12px; display: grid; gap: 6px; padding-left: 20px; }
.no-js .faq-a, .faq-a.no-anim { height: auto; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--forest);
  color: var(--on-dark);
  overflow: hidden;
  padding: clamp(48px, 8vw, 120px) clamp(24px, 6vw, 96px);
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute; right: -15%; bottom: -60%; z-index: -1;
  width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 195, 95, 0.55), rgba(124, 195, 95, 0) 65%);
}
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.cta h2 em { color: var(--lime); }
.cta-contacts { display: grid; gap: 18px; justify-items: start; }
.cta-contacts a.big {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: linear-gradient(var(--lime), var(--lime)) 0 100% / 0 2px no-repeat;
  transition: background-size 0.6s var(--ease-out);
  word-break: break-word;
}
.cta-contacts a.big:hover { background-size: 100% 2px; }
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(64px, 8vw, 110px) 0 28px; background: var(--bg-2); position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 200px; }
.footer-brand blockquote {
  margin-top: 24px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--ink-2);
  max-width: 30ch;
}
.footer-brand cite { display: block; margin-top: 8px; font-style: normal; font-family: var(--font-body); font-size: 0.82rem; color: var(--muted); }
.footer-col h4 { font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 800; color: var(--muted); margin-bottom: 18px; font-family: var(--font-body); }
.footer-col ul { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.footer-col a { position: relative; font-weight: 600; transition: color 0.3s; }
.footer-col a:hover { color: var(--leaf); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.socials a:hover { background: var(--forest); color: var(--on-dark); box-shadow: none; }
.footer-word {
  margin-top: clamp(48px, 7vw, 96px);
  font-family: "Times New Roman", Times, serif;
  /* JS (fitFooterWord) točno prilagodi veličinu širini; ovo je sigurna početna vrijednost */
  font-size: clamp(3rem, 12.4vw, 13.5rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  white-space: nowrap;
  color: var(--forest);
  user-select: none;
  text-align: center;
  padding-bottom: 0.12em;
}
.footer-word span { color: var(--leaf); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: clamp(28px, 4vw, 48px); padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem; color: var(--muted);
}
.footer-bottom a:hover { color: var(--ink); }
@media (max-width: 980px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Plutajući elementi ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--surface); color: var(--forest);
  box-shadow: 0 16px 30px -12px rgba(20, 35, 26, 0.4), 0 0 0 1px var(--line);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.4s, transform 0.5s var(--ease-out), visibility 0.4s, background-color 0.3s, color 0.3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--forest); color: var(--on-dark); }

.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 95;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(23, 58, 40, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.4);
  transform: translateY(140%);
  transition: transform 0.6s var(--ease-out);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta a {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; border-radius: 999px;
  font-weight: 700; font-size: 0.92rem;
  color: var(--on-dark);
}
.mobile-cta a.primary { background: var(--lime); color: var(--forest); }
@media (max-width: 760px) {
  .mobile-cta { display: grid; }
  .to-top { bottom: 84px; right: 14px; width: 48px; height: 48px; }
  .site-footer { padding-bottom: 96px; }
}

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) var(--gutter) 60px; }
.nf .display-xl span { color: var(--leaf); font-style: italic; }

/* ---------- Pomoćne ---------- */
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.center-x { text-align: center; margin-inline: auto; }
.flow > * + * { margin-top: 1em; }

/* ---------- Debljine fonta (Google Sans) ----------
   Veliki naslovi 600, naslovi kartica i sekcija 700, istaknute brojke/cijene 700. */
.display, h1, h2, h3 { font-weight: 600; }
.display-xl, .display-l { font-weight: 600; }
.service-card h3, .member-info h3, .post-card h3, .step h3, .map-card h3,
.pr-name, .price-item h4, .faq-q, .contact-card .c-value, .author-card strong,
.pt-title, .mobile-menu .m-link { font-weight: 700; }
.prose h2, .prose h3 { font-weight: 700; }
.price-item strong, .pr-price, .step .step-n, .tf-index, .pg-num { font-weight: 700; }
.marquee-item, .cta-contacts a.big { font-weight: 600; }
.footer-word { font-weight: 400; }
.manifest-text { font-weight: 500; }
.prose blockquote, .footer-brand blockquote, .intro-quote { font-weight: 500; }
.eyebrow, .btn, .nav-link, .member-role, .tf-role { font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
