/* ============ FONTS ============ */
/* Neue Montreal je komercijalni font: fajl treba da stoji u /fonts.
   Dok ga nema, koristi se Inter Tight Light kao privremena zamena. */
@font-face {
  font-family: "Neue Montreal";
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: local("Neue Montreal Light"), local("NeueMontreal-Light"),
       url("fonts/NeueMontreal-Light.woff2") format("woff2"),
       url("fonts/NeueMontreal-Light.otf") format("opentype");
}

/* ============ TOKENS ============ */
:root {
  --bg: #EAE8E8;
  --heading: #1c1c1c;
  --body: #76777C;
  --on-image: #ffffff;
  --on-image-muted: rgba(255, 255, 255, .8);
  --text-gray: #9c9490;   /* bodi tekst i linkovi u navigaciji */
  --btn-bg: #1c1c1c;
  --btn-text: #ffffff;

  --font-heading: "Neue Montreal", "Inter Tight", system-ui, sans-serif;
  --font-accent: "Instrument Serif", Georgia, serif;
  --font-body: "Lato", system-ui, sans-serif;

  --radius-btn: 8px;
  --radius-card: 12px;

  --gutter: 32px;
  --nav-h: 88px;
  --nav-h-stuck: 72px;
}

/* ============ BASE ============ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: auto; }   /* skokovi su u js/jump.js: trenutni, uz blagu izmaglicu */

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 24px 8px 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  color: var(--btn-text);
  background: var(--btn-bg);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-btn);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  color: var(--btn-bg);
  background: #fff;
  transition: transform .25s ease;
}
.btn:hover .btn__icon { transform: rotate(45deg); }

/* Glavni CTA: pill, tamno siv, strelica u belom krugu desno */
.btn--primary {
  gap: 20px;
  padding: 8px 8px 8px 28px;
  background: #242424;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .32);
}
.btn--primary .btn__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #242424;
}
.btn--primary:hover {
  transform: translateY(-2px);
  background: #2e2e2e;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .38);
}

.btn:focus-visible,
.nav__links a:focus-visible,
.logo:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  z-index: 10;              /* iznad narednih sekcija, da fiksna navigacija uvek ostane na vrhu */
  min-height: 100vh;
  padding: var(--nav-h) var(--gutter) var(--gutter);   /* mesto za fiksnu navigaciju */
  color: var(--on-image);
  background: #2a2a2e url("images/hero-smile-2.webp") 75% center / cover no-repeat;
}

/* Overlay: tamnija leva strana (tekst) i dno (kartice) radi čitljivosti */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to right, rgba(10, 10, 14, .62) 0%, rgba(10, 10, 14, .3) 42%, rgba(10, 10, 14, 0) 70%),
    linear-gradient(to top, rgba(10, 10, 14, .55) 0%, rgba(10, 10, 14, 0) 40%),
    linear-gradient(to bottom, rgba(10, 10, 14, .3) 0%, rgba(10, 10, 14, 0) 20%);
}

/* ---- Progresivni blur: najjači na dnu, slabi ka H1 ----
   Četiri sloja sa rastućim blurom i sve užom maskom daju glatki prelaz. */
.hero__blur {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  height: 42%;
  pointer-events: none;
}
.hero__blur span {
  position: absolute;
  inset: 0;
}
.hero__blur span:nth-child(1) {
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 100%);
  mask-image: linear-gradient(to top, #000 0%, transparent 100%);
}
.hero__blur span:nth-child(2) {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 70%);
  mask-image: linear-gradient(to top, #000 0%, transparent 70%);
}
.hero__blur span:nth-child(3) {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 45%);
  mask-image: linear-gradient(to top, #000 0%, transparent 45%);
}
.hero__blur span:nth-child(4) {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 25%);
  mask-image: linear-gradient(to top, #000 0%, transparent 25%);
}

/* ---- Navigation: logo levo, linkovi u sredini, CTA desno ---- */
.nav {
  position: fixed;          /* uvek uz gornju ivicu */
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--nav-h);
  padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  transition: height .3s ease, background .3s ease, border-color .3s ease,
              backdrop-filter .3s ease, -webkit-backdrop-filter .3s ease;
}

/* Nakon skrola: tamna glass traka da linkovi ostanu čitljivi preko svetlih sekcija */
.nav.is-stuck {
  height: var(--nav-h-stuck);
  background: rgba(20, 20, 22, .72);
  border-bottom-color: rgba(255, 255, 255, .1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.nav .logo__img { transition: height .3s ease; }
.nav.is-stuck .logo__img { height: 52px; }

.logo {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--on-image);
}
.logo__img {
  display: block;
  width: auto;
  height: 68px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links > a,
.nav__parent {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-gray);
  transition: color .2s ease;
}
.nav__links > a:hover,
.nav__item:hover .nav__parent,
.nav__item:focus-within .nav__parent { color: var(--on-image); }

/* Veća hover zona oko "Usluge" da meni ne nestane dok miš ide ka njemu */
.nav__item { padding: 28px 0; }
.nav__parent { display: inline-flex; align-items: center; gap: 6px; }
.nav__chevron { transition: transform .2s ease; }
.nav__item:hover .nav__chevron,
.nav__item:focus-within .nav__chevron { transform: rotate(180deg); }

.nav__right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--on-image);
  transition: transform .2s ease, top .2s ease;
}
.nav__toggle span:nth-child(1) { top: 17px; }
.nav__toggle span:nth-child(2) { top: 25px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---- Layout: tekst dole levo, kartice dole desno ---- */
.hero__inner {
  position: relative;
  z-index: 1;          /* iznad blur sloja */
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  padding-top: 24px;   /* blok je spušten na dno, u donjoj polovini ekrana */
  padding-bottom: 8px;
}

.hero__content {
  max-width: 700px;
}

.hero__title {
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(42px, 5.2vw, 84px);
  line-height: 1.04;
  letter-spacing: -.02em;
  color: var(--on-image);
}
.hero__title span { display: block; }
.hero__title em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: 0;
}

.hero__text {
  margin: 0 0 28px;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-gray);
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 28px;
}

/* ---- Proof (dole desno), glass kartica ---- */
.proof-card {
  flex: none;
  min-width: 200px;
  padding: 20px 26px 22px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 16px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--on-image);
}
.proof-card p { margin: 0; }
.proof-card__num {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 68px;
  line-height: 1;
  letter-spacing: -.02em;
}
.proof-card__label {
  margin-top: 8px !important;
  font-size: 14px;
  color: var(--on-image-muted);
}

/* ---- Dropdown (Kontakt: telefoni, Usluge: mega menu) ---- */
.dropdown { position: relative; }

.dropdown__menu {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 10px;   /* premosti razmak da hover ne puca */
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.dropdown__menu--right { left: auto; right: 0; }

.dropdown:hover .dropdown__menu,
.dropdown:focus-within .dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.dropdown__panel {
  display: flex;
  flex-direction: column;
  min-width: 190px;
  padding: 8px;
  background: rgba(28, 28, 28, .72);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 16px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .3);
}
.dropdown__panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 15px;
  white-space: nowrap;
  color: var(--on-image);
  transition: background .2s ease;
}
.dropdown__panel a:hover { background: rgba(255, 255, 255, .12); }
.dropdown__panel svg { flex: none; opacity: .75; }

/* Mega menu: glavna grupa (dve kolone) + razdelnik + posebna grupa (hirurgija i lečenje) */
.dropdown__panel--mega {
  flex-direction: row;
  align-items: stretch;
  min-width: 0;
  padding: 12px;
}
.dropdown__group { display: flex; flex-direction: column; }
.dropdown__label {
  margin: 0;
  padding: 4px 14px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.dropdown__links {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(var(--mega-rows, 5), auto);   /* broj redova = ceil(linkova / 2) */
  column-gap: 8px;
}
.dropdown__divider {
  flex: none;
  width: 1px;
  margin: 6px 16px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, .22) 18%, rgba(255, 255, 255, .22) 82%, rgba(255, 255, 255, 0));
}
.dropdown__panel--mega a { justify-content: space-between; gap: 24px; }
.dropdown__arrow {
  opacity: 0 !important;
  transform: translate(-4px, 4px);
  transition: opacity .2s ease, transform .2s ease;
}
.dropdown__panel--mega a:hover .dropdown__arrow {
  opacity: .8 !important;
  transform: none;
}

/* ---- Društvene mreže: vertikalno uz desnu ivicu ---- */
.social {
  position: absolute;
  top: 50%;
  right: var(--gutter);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transform: translateY(-50%);
}
.social__line {
  display: block;
  width: 1px;
  height: 72px;
  background: rgba(255, 255, 255, .35);
}
/* Glass krug, isti stil kao kartica "20+" */
.social__link {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--on-image);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.social__link:hover,
.social__link:focus-visible {
  background: rgba(255, 255, 255, .2);
  border-color: rgba(255, 255, 255, .4);
  transform: scale(1.08);
}

/* ---- Scroll indicator ---- */
.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transform: translateX(-50%);
  color: var(--on-image);
  opacity: .5;   /* suptilnije, da ne krade pažnju od teksta */
  transition: opacity .25s ease;
}
.scroll-indicator:hover { opacity: .9; }

.scroll-indicator__mouse {
  position: relative;
  width: 24px;
  height: 38px;
  margin-bottom: 8px;
  border: 1.5px solid currentColor;
  border-radius: 14px;
}
.scroll-indicator__wheel {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: currentColor;
  animation: scroll-wheel 1.8s ease-in-out infinite;
}

.scroll-indicator__chev {
  display: block;
  opacity: .2;
  animation: scroll-chev 1.8s ease-in-out infinite;
}
.scroll-indicator__chev:nth-of-type(2) { animation-delay: .15s; }
.scroll-indicator__chev:nth-of-type(3) { animation-delay: .3s; }

@keyframes scroll-wheel {
  0%   { opacity: 0; transform: translateY(0); }
  30%  { opacity: 1; }
  80%  { opacity: 0; transform: translateY(12px); }
  100% { opacity: 0; transform: translateY(12px); }
}
@keyframes scroll-chev {
  0%, 100% { opacity: .2; }
  40%      { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-indicator__wheel,
  .scroll-indicator__chev { animation: none; }
  .scroll-indicator__chev { opacity: .8; }
}

/* ============ PRELOADER ============ */
html.is-loading { overflow: hidden; }
html.skip-preloader .preloader { display: none; }   /* već viđen u ovoj sesiji */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #141416;
  transition: transform .9s cubic-bezier(.76, 0, .24, 1);
}
.preloader.is-done { transform: translateY(-100%); }

.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  transition: opacity .35s ease;
}
.preloader.is-done .preloader__inner { opacity: 0; }

.preloader__logo {
  display: block;
  width: auto;
  height: 96px;
  opacity: 0;
  animation: preloader-in .9s .1s ease forwards;
}
.preloader__bar {
  width: 160px;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, .16);
}
.preloader__fill {
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s linear;
}
@keyframes preloader-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* Intro animacija teksta u heroju nakon što se preloader skloni */
.hero__content > * {
  transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1);
}
.hero__content > :nth-child(1) { transition-delay: .45s; }
.hero__content > :nth-child(2) { transition-delay: .6s; }
.hero__content > :nth-child(3) { transition-delay: .75s; }
html.is-loading .hero__content > * {
  opacity: 0;
  transform: translateY(24px);
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .preloader { transition: opacity .3s ease; }
  .preloader.is-done { transform: none; opacity: 0; }
  .preloader__logo { animation: none; opacity: 1; }
  html.is-loading .hero__content > * { transform: none; }
}

/* ============ SEKCIJA: NAŠ CILJ ============ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--body);
}
.eyebrow__star { flex: none; }

.goal {
  position: relative;
  padding: clamp(80px, 12vw, 180px) var(--gutter);
  background: #fbfbfb;
}

.goal__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.goal__text {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.32;
  letter-spacing: -.01em;
  color: #424346;
}
.goal__text em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: 0;
}

/* CTA "O nama": isti stil kao glavni CTA, bez kruga sa strelicom */
.btn--plain { padding: 20px 32px; }
.goal__cta {
  margin-top: 16px;
  box-shadow: 0 8px 20px rgba(28, 28, 28, .22);   /* blaža senka na svetloj pozadini */
}

/* Reveal animacija (klase dodaje skripta; bez JS-a je tekst odmah vidljiv) */
.goal.is-ready .goal__cta { opacity: 0; }
.goal.is-ready.is-in .goal__cta {
  opacity: 1;
  animation: goal-cta-in .9s cubic-bezier(.2, .7, .2, 1) 1.6s backwards;
}
@keyframes goal-cta-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}


.goal .word { display: inline-block; }

.goal.is-ready .eyebrow,
.goal.is-ready .word {
  opacity: 0;
  transition: opacity .8s ease, transform .9s cubic-bezier(.2, .7, .2, 1), filter .8s ease;
}
.goal.is-ready .eyebrow { transform: translateY(16px); }
.goal.is-ready .word {
  transform: translateY(.45em);
  filter: blur(6px);
}
.goal.is-ready.is-in .eyebrow,
.goal.is-ready.is-in .word {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ============ SEKCIJA: NAŠE USLUGE (pin + promena na skrol) ============ */
.services {
  position: relative;
  /* po jedan ekran skrola za svaku uslugu + pola ekrana na kraju */
  height: calc((var(--count, 2) + .5) * 100vh);
  height: calc((var(--count, 2) + .5) * 100svh);
}

/* Nevidljiva sidra: skok na određenu uslugu (linkovi iz mega menija) */
.services__anchor {
  position: absolute;
  left: 0;
  top: calc(var(--k, 0) * 100vh);
  top: calc(var(--k, 0) * 100svh);
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.services__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--nav-h) + clamp(24px, 4vh, 72px)) var(--gutter) 80px;
  background: #e9e7e5;
}

/* "Preskoči": usluge izblede dok traje animirani skrol do sledeće sekcije */
.services__sticky { transition: opacity .3s ease; }
.services.is-skipping .services__sticky { opacity: 0; pointer-events: none; }

/* Desktop: blok teksta spušten pri dnu, iznad progres linije */
@media (min-width: 961px) {
  .services__sticky {
    align-items: flex-end;
    padding-bottom: 64px;
  }
}

/* Pozadine: ukrštaju se (crossfade) uz lagani zoom */
.services__bgs {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.services__bg {
  position: absolute;
  inset: 0;
  background: #e9e7e5 var(--bg) var(--bgpos, center) / cover no-repeat;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s ease, transform 1.8s cubic-bezier(.2, .7, .2, 1);
}
.services__bg[data-state="active"] { opacity: 1; transform: none; }
.services__bg[data-state="before"] { transform: scale(1); }

/* Sadržaj: eyebrow stoji, naslov/tekst/CTA se menjaju */
.services__content {
  position: relative;
  z-index: 2;
  max-width: 420px;
  transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1);
}
.services.is-ready:not(.is-in) .services__content {
  opacity: 0;
  transform: translateY(24px);
}

.services__slides {
  display: grid;
  margin-top: 22px;
}
.service-slide {
  grid-area: 1 / 1;     /* svi slajdovi u istoj ćeliji, visina = najviši */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .8s cubic-bezier(.2, .7, .2, 1), visibility 0s .6s;
}
.service-slide[data-state="before"] { transform: translateY(-24px); }
.service-slide[data-state="active"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition: opacity .7s ease .3s, transform .9s cubic-bezier(.2, .7, .2, 1) .3s, visibility 0s 0s;
}

/* Naslov i bodi kao u heroju, ali tamne boje jer je pozadina svetla */
.service__title {
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(40px, 4.8vw, 76px);
  line-height: 1.04;
  letter-spacing: -.02em;
  color: var(--heading);
}
.service__title span { display: block; }
.service__title em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: 0;
}

.service__text {
  margin: 0;
  max-width: 420px;
  font-size: 17px;
  line-height: 1.65;
  color: #5f6064;
}

.service__cta {
  margin-top: 28px;
  box-shadow: 0 8px 20px rgba(28, 28, 28, .22);   /* blaža senka na svetloj pozadini */
}

/* Podnožje sekcije: dugme "Preskoči" iznad progres linije, sve centrirano na dnu */
.services__foot {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transform: translateX(-50%);
}

.services__skip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 18px;
  font-size: 13px;
  font-weight: 700;
  color: #424346;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 8px 24px rgba(28, 28, 28, .08);
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.services__skip svg { transition: transform .25s ease; }
.services__skip:hover { background: rgba(255, 255, 255, .8); color: var(--heading); }
.services__skip:hover svg { transform: translateY(2px); }
.services__skip:focus-visible { outline: 2px solid var(--heading); outline-offset: 3px; }

/* Progres kroz usluge: tanka linija podeljena na segmente */
.service__progress {
  display: flex;
  gap: 6px;
  width: min(calc(var(--count, 6) * 48px), 460px, 70vw);   /* raste sa brojem usluga */
}
.service__progress span {
  position: relative;
  flex: 1;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(28, 28, 28, .14);
}
.service__progress span::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(28, 28, 28, .6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.service__progress span.is-full::after { transform: scaleX(1); }

/* Spisak usluga: dole desno, glass kartica, dve kolone (po 5), popunjava se kolonu po kolonu */
.services__list {
  position: absolute;
  right: var(--gutter);
  bottom: 28px;
  z-index: 3;
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(var(--rows, 5), auto);
  column-gap: 8px;
  row-gap: 1px;
  padding: 10px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 16px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 8px 24px rgba(28, 28, 28, .08);
}
.services__list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.25;
  white-space: nowrap;
  color: #6b6c70;
  transition: color .25s ease, background .25s ease;
}
.services__num {
  font-size: 10px;
  letter-spacing: .06em;
  color: #9c9490;
  transition: color .25s ease;
}
.services__list a:hover { color: var(--heading); background: rgba(28, 28, 28, .05); }
.services__list a.is-active { color: var(--heading); font-weight: 700; }
.services__list a.is-active .services__num { color: var(--heading); }

/* Uži desktop: podnožje (Preskoči + progres) ide levo, da se ne sudari sa spiskom usluga */
@media (min-width: 961px) and (max-width: 1240px) {
  .services__foot {
    left: var(--gutter);
    align-items: flex-start;
    transform: none;
  }
  .service__progress { width: min(calc(var(--count, 6) * 30px), 300px); }
}

@media (prefers-reduced-motion: reduce) {
  .services__bg,
  .services__content,
  .service-slide,
  .service__progress span::after { transition: none; }
}

/* ============ SEKCIJA: PROCES ============ */
.process {
  padding: clamp(80px, 10vw, 160px) var(--gutter);
  background: #EAE8E8;
}
.process__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 80px;
  max-width: 1240px;
  margin: 0 auto;
}

/* Naslov ostaje uz ekran dok se prolazi kroz korake */
.process__head {
  position: sticky;
  top: calc(var(--nav-h-stuck) + 40px);
  align-self: start;
}
.process__title {
  margin: 28px 0 0;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(40px, 4.6vw, 68px);
  line-height: 1.04;
  letter-spacing: -.02em;
  color: var(--heading);
}
.process__title em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: 0;
}

.process__steps {
  margin: 0;
  padding: 0;
  list-style: none;
}
/* Desktop: prvi korak počinje dovoljno nisko da je kada se stigne na sekciju
   (npr. "Preskoči") popunjen samo prvi krug, a ostali se pune skrolom */
@media (min-width: 961px) {
  .process__steps { padding-top: max(0px, calc(60vh - 200px)); }
}
.process__step {
  --dot: 72px;
  position: relative;
  display: grid;
  grid-template-columns: var(--dot) minmax(0, 1fr);
  column-gap: 40px;
  padding-bottom: 96px;
}
.process__step:last-child { padding-bottom: 0; }

/* Linija od centra ovog kruga do centra sledećeg: siva podloga + tamno punjenje */
.process__step:not(:last-child)::before,
.process__step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(var(--dot) / 2 - 1px);
  top: calc(var(--dot) / 2);
  width: 2px;
  height: 100%;
}
.process__step::before { background: #d6d3d2; }
.process__step::after {
  background: #14151c;
  transform: scaleY(var(--fill, 0));
  transform-origin: top;
}

.process__dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--dot);
  height: var(--dot);
  border: 1px solid #d6d3d2;
  border-radius: 50%;
  background: #EAE8E8;
  font-family: var(--font-accent);
  font-size: 22px;
  color: #9c9490;
  transition: background .5s ease, color .5s ease, border-color .5s ease;
}
.process__step.is-done .process__dot {
  background: #14151c;
  border-color: #14151c;
  color: #fff;
}

.process__body { padding-top: 6px; }
.process__step-title {
  margin: 0 0 10px;
  font-family: var(--font-heading);   /* isti font kao naslovi usluga */
  font-weight: 300;
  font-size: clamp(28px, 2.7vw, 38px);
  line-height: 1.12;
  letter-spacing: -.02em;
  color: #14151c;
}
.process__body p {
  margin: 0;
  max-width: 540px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--body);
}

/* ============ SEKCIJA: CAD/CAM ============ */
.cadcam {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 48px) var(--gutter) clamp(64px, 10vh, 120px);
  color: #fff;
  background: #061538 var(--cadcam-bg) center / cover no-repeat;
}

.cadcam__content { max-width: 540px; }

.cadcam .eyebrow { color: rgba(255, 255, 255, .7); }

.cadcam__title {
  margin: 28px 0 28px;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(40px, 4.8vw, 76px);
  line-height: 1.04;
  letter-spacing: -.02em;
  color: #fff;
}
.cadcam__title span { display: block; }
.cadcam__title em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: 0;
}

.cadcam__text p {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .78);
}
.cadcam__text p + p { margin-top: 18px; }

/* CTA: glavni CTA stil; tanak svetli obrub da se tamno dugme odvoji od tamne pozadine */
.cadcam__cta {
  margin-top: 32px;
  border: 1px solid rgba(255, 255, 255, .18);
}

/* Reveal (klase dodaje skripta) */
.cadcam.is-ready .cadcam__content > *:not(.btn),
.cadcam.is-ready .cadcam__text p {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1);
}
.cadcam.is-ready .cadcam__content > :nth-child(2) { transition-delay: .15s; }
.cadcam.is-ready .cadcam__text { opacity: 1; transform: none; }
.cadcam.is-ready .cadcam__text p:nth-child(1) { transition-delay: .3s; }
.cadcam.is-ready .cadcam__text p:nth-child(2) { transition-delay: .42s; }
.cadcam.is-ready .cadcam__text p:nth-child(3) { transition-delay: .54s; }
.cadcam.is-ready.is-in .cadcam__content > *:not(.btn),
.cadcam.is-ready.is-in .cadcam__text p {
  opacity: 1;
  transform: none;
}
/* CTA koristi animaciju (ne transition), da hover ostane bez kašnjenja; ulazi poslednji */
.cadcam.is-ready .cadcam__cta { opacity: 0; }
.cadcam.is-ready.is-in .cadcam__cta {
  opacity: 1;
  animation: goal-cta-in .9s cubic-bezier(.2, .7, .2, 1) .7s backwards;
}

/* ============ PODSTRANICE (npr. Zubni implantati) ============ */
.page-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;   /* tekst gore, kartice dole */
  gap: 32px;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 32px) var(--gutter) 96px;
  background: #e9e7e5 var(--page-hero-bg) center / cover no-repeat;
}
/* Pozadina polako prelazi u #fbfbfb pri dnu, pa se spaja sa sledećom sekcijom */
.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 280px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(251, 251, 251, 0) 0%, #fbfbfb 100%);
}

/* Tekstualna sekcija ispod hero-a (svetla pozadina) */
.page-section {
  padding: clamp(24px, 4vw, 56px) var(--gutter) clamp(80px, 10vw, 140px);
  background: #fbfbfb;
}
.page-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 80px;
  max-width: 1240px;
  margin: 0 auto;
}
.page-section__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--heading);
}
.page-section__title em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: 0;
}
.page-section__text p {
  margin: 0;
  max-width: 600px;
  font-size: 18px;
  line-height: 1.65;
  color: #5f6064;
}
.page-section__text p + p { margin-top: 22px; }

/* Pinovana sekcija sa slajdovima (vizual desno, tekst levo; menja se na skrol kao usluge) */
.feature-pin {
  position: relative;
  height: calc((var(--count, 2) + .5) * 100vh);
  height: calc((var(--count, 2) + .5) * 100svh);
  background: #fff;
}
.feature-pin__sticky {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(64px, 8vw, 120px) var(--gutter);
  background: #fff;
}
.feature-pin__bgs { position: absolute; inset: 0; z-index: 0; }
.feature-pin__bg {
  position: absolute;
  inset: 0;
  /* vizual je prislonjen udesno (ivice slika su bele, pa se stapaju sa pozadinom) */
  background: #fff var(--bg) right center / var(--bg-size, auto 112%) no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.1s ease, transform 1.8s cubic-bezier(.2, .7, .2, 1);
}
.feature-pin__bg[data-state="active"] { opacity: 1; transform: none; }
.feature-pin__bg[data-state="before"] { transform: scale(1); }

.feature-pin__content { position: relative; z-index: 2; max-width: 510px; }
.feature-pin--narrow .feature-pin__content { max-width: 480px; }   /* da vilica ne zalazi pod tekst */
.feature-pin__slides { display: grid; }
.feature-slide {
  grid-area: 1 / 1;    /* svi slajdovi u istoj ćeliji, visina = najviši */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .8s cubic-bezier(.2, .7, .2, 1), visibility 0s .6s;
}
.feature-slide[data-state="before"] { transform: translateY(-24px); }
.feature-slide[data-state="active"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition: opacity .7s ease .3s, transform .9s cubic-bezier(.2, .7, .2, 1) .3s, visibility 0s 0s;
}

/* Centriran blok teksta (isti jezik kao "Naš cilj") */
.page-statement {
  position: relative;
  padding: clamp(80px, 12vw, 180px) var(--gutter);
  background: #fbfbfb;
}
/* Kada je ovo poslednja sekcija stranice: mesto za dugme "Nazad" */
.page-statement--end { padding-bottom: clamp(120px, 13vw, 190px); }
.page-statement__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.page-statement__text {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.32;
  letter-spacing: -.01em;
  color: #424346;
}
.page-statement__text em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: 0;
}
.page-statement .word { display: inline-block; }
.page-statement .words-ready .word,
.words-ready .word {
  opacity: 0;
  transform: translateY(.45em);
  filter: blur(6px);
  transition: opacity .8s ease, transform .9s cubic-bezier(.2, .7, .2, 1), filter .8s ease;
}
.words-ready.words-in .word {
  opacity: 1;
  transform: none;
  filter: none;
}
@media (prefers-reduced-motion: reduce) {
  .words-ready .word { transition: none; }
}

/* Zaključak: centriran po sredini (isti jezik kao blok "Totalna proteza") */
.page-closing {
  padding: clamp(80px, 12vw, 180px) var(--gutter);
  background: #fbfbfb;
}
.page-closing__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.page-closing__text {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.32;
  letter-spacing: -.01em;
  color: #76777C;                 /* druga rečenica je tiša */
  text-align: center;
}
.page-closing__lead {
  display: block;                 /* prva rečenica u svom redu, druga ispod nje (kao u tvom tekstu) */
  margin-bottom: 14px;
  color: #424346;
}
.page-closing__text em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: 0;
}
.page-closing .word { display: inline-block; }

/* Dugme "Nazad" na kraju podstranice: staklena pilula kao "Preskoči" (tamna varijanta za tamnu pozadinu) */
.page-back {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px 9px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: background .25s ease, border-color .25s ease;
}
/* Svetla varijanta (za svetlu pozadinu), kao "Preskoči" */
.page-back--light {
  color: #424346;
  background: rgba(255, 255, 255, .55);
  border-color: rgba(255, 255, 255, .75);
  box-shadow: 0 8px 24px rgba(28, 28, 28, .08);
}
.page-back.page-back--light:hover { background: rgba(255, 255, 255, .8); border-color: rgba(255, 255, 255, .9); color: var(--heading); }
.page-back--light:focus-visible { outline-color: var(--heading); }
.page-back svg { transition: transform .25s ease; }
.page-back:hover { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .4); }
.page-back:hover svg { transform: translateX(-2px); }
.page-back:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Finalni CTA: tamno plava pozadina (kao CAD/CAM), tekst levo, vizual desno */
.page-cta {
  position: relative;
  padding: clamp(72px, 9vw, 140px) var(--gutter) clamp(88px, 10vw, 150px);
  color: #fff;
  background:
    radial-gradient(ellipse 60% 70% at 78% 50%, #0d2f78 0%, rgba(13, 47, 120, 0) 70%),
    #061538;
}
.page-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
  max-width: 1240px;
  margin: 0 auto;
}
.page-cta__content { max-width: 540px; }
.page-cta .eyebrow { color: rgba(255, 255, 255, .7); }
.page-cta__title {
  margin: 28px 0 24px;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1.06;
  letter-spacing: -.02em;
  color: #fff;
}
.page-cta__title em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: 0;
}
.page-cta__text {
  margin: 0 0 32px;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .78);
}
.page-cta__btn { border: 1px solid rgba(255, 255, 255, .18); }   /* tamno dugme na tamnoj pozadini */

/* Vizual stoji samostalno na pozadini (providna verzija slike, bez bele pozadine) */
.page-cta__visual {
  justify-self: end;
  width: min(100%, 460px);
}
.page-cta__visual img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(82vh, 700px);
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .35));
}

/* Sekcija: tekst levo, pre/posle slider desno */
.page-compare {
  position: relative;
  padding: clamp(24px, 4vw, 56px) var(--gutter) clamp(72px, 9vw, 130px);
  background: #fbfbfb;
}
.page-compare__inner {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  align-items: stretch;           /* vizual je iste visine kao blok teksta */
  gap: clamp(32px, 5vw, 72px);
  max-width: 1240px;
  margin: 0 auto;
}
.page-compare__text { align-self: center; }   /* kratak tekst stoji vertikalno na sredini u odnosu na vizual */
.page-compare__title {
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--heading);
}
.page-compare__title em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: 0;
}
.page-compare__text p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: #5f6064;
}
.page-compare__text p + p { margin-top: 12px; }

/* Rešenje: centriran tekst, 4 fotografije simetrično oko njega (2 gore, 2 dole) */
.page-solution {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: max(108vh, 760px);   /* dovoljno visoko da tekst ima vazduha između gornjih i donjih fotografija */
  padding: clamp(110px, 12vw, 170px) var(--gutter) clamp(120px, 12vw, 170px);
  background: #fbfbfb;
}
.page-solution__center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  max-width: 820px;                  /* razvučen tekst: manje redova */
  text-align: center;
}
.page-solution__text {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.32;
  letter-spacing: -.01em;
  color: #424346;
}
.page-solution__text em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: 0;
}
.page-solution .word { display: inline-block; }

.page-solution__photo {
  position: absolute;
  z-index: 1;
  width: clamp(112px, 12.5vw, 165px);
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(28, 28, 28, .14);
}
.page-solution__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* simetrično: gore levo / gore desno, dole levo / dole desno; blago nakrivljene (rotate, da ne smeta animaciji ulaska) */
.page-solution__photo--tl { top: clamp(64px, 8vw, 110px);    left: clamp(24px, 7vw, 120px);  rotate: -6deg; }
.page-solution__photo--tr { top: clamp(64px, 8vw, 110px);    right: clamp(24px, 7vw, 120px); rotate: 6deg; }
.page-solution__photo--bl { bottom: clamp(88px, 9vw, 130px); left: clamp(24px, 7vw, 120px);  rotate: 6deg; }
.page-solution__photo--br { bottom: clamp(88px, 9vw, 130px); right: clamp(24px, 7vw, 120px); rotate: -6deg; }

/* Lista situacija (kada se radi usluga): numerisani redovi sa tankim linijama */
.page-when {
  position: relative;
  padding: clamp(72px, 9vw, 130px) var(--gutter) clamp(120px, 13vw, 190px);
  background: #fff;
}
.page-when__inner {
  max-width: 1240px;
  margin: 0 auto;
}
.page-when__head { margin-bottom: clamp(36px, 5vw, 64px); }
.page-when__title {
  max-width: 820px;
  margin: 24px 0 0;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--heading);
}
.page-when__title em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: 0;
}

.when-list { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid #e4e2e1; }
.when-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1.05fr) minmax(0, 1fr);
  column-gap: clamp(24px, 4vw, 64px);
  align-items: baseline;
  padding: clamp(24px, 2.8vw, 36px) 0;
  border-top: 1px solid #e4e2e1;
}
.when-item__num {
  font-family: var(--font-accent);
  font-size: 22px;
  color: #9c9490;
  transition: color .25s ease;
}
.when-item__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--heading);
}
.when-item__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #5f6064;
}
.when-item:hover .when-item__num { color: var(--heading); }

/* Pre / posle slider */
.ba {
  --pos: 50;
  position: relative;
  width: 100%;
  height: 100%;                    /* rasteže se na visinu bloka teksta */
  min-height: 340px;
  overflow: hidden;
  border-radius: 20px;
  background: #e9e7e5;
  box-shadow: 0 24px 60px rgba(28, 28, 28, .14);
  user-select: none;
}
.ba__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}
/* "Pre" je odozgo i vidi se samo levo od klizača */
.ba__img--before { clip-path: inset(0 calc(100% - var(--pos) * 1%) 0 0); }

.ba__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--pos) * 1%);
  width: 2px;
  margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 12px rgba(0, 0, 0, .35);
  pointer-events: none;
}
.ba__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--heading);
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
  transform: translate(-50%, -50%);
}
.ba__tag {
  position: absolute;
  top: 16px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
  background: rgba(20, 20, 22, .55);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
}
.ba__tag--before { left: 16px; }
.ba__tag--after { right: 16px; }

/* Nevidljiv range preko celog slajdera: hvata prevlačenje mišem, dodirom i tastaturom */
.ba__range {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  background: transparent;
  cursor: ew-resize;
  opacity: 0;
}
.ba__range::-webkit-slider-thumb { -webkit-appearance: none; width: 1px; height: 100%; }
.ba__range::-moz-range-thumb { width: 1px; height: 100%; border: 0; }
.ba:focus-within .ba__handle { outline: 2px solid var(--heading); outline-offset: 3px; }

/* Varijanta vizuala sa tamno plavom pozadinom: ivice se pretapaju u pozadinu sekcije (bez kartice i senke) */
.page-cta__visual--blend { width: min(100%, 620px); }
.page-cta__visual--blend img {
  max-height: min(78vh, 640px);
  filter: none;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
}
.page-cta__title span { display: block; }

/* Progres linija (po jedan segment za svaki slajd) */
.feature-pin__progress {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 3;
  display: flex;
  gap: 6px;
  width: min(calc(var(--count, 2) * 48px), 460px, 70vw);
  transform: translateX(-50%);
}
.feature-pin__progress span {
  position: relative;
  flex: 1;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(28, 28, 28, .14);
}
.feature-pin__progress span::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(28, 28, 28, .6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.feature-pin__progress span.is-full::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .feature-pin__bg,
  .feature-slide,
  .feature-pin__progress span::after { transition: none; }
}
.page-feature__title {
  margin: 0 0 28px;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--heading);
}
.page-feature__title span { display: block; text-wrap: balance; }   /* ravnomerniji prelom reda */
.page-feature__title em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: 0;
}
.page-feature__text p {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: #5f6064;
}
.page-feature__text p + p { margin-top: 18px; }

/* Reveal pri skrolu (klase dodaje js/nav.js) */
.reveal-ready {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s ease var(--d, 0s), transform .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0s);
}
.reveal-ready.reveal-in { opacity: 1; transform: none; }
.page-hero__content { max-width: 460px; }
.page-hero .service__title { margin-top: 0; }
.page-hero .service__text { max-width: 420px; }
.page-hero__cta {
  margin-top: 28px;
  box-shadow: 0 8px 20px rgba(28, 28, 28, .22);
}

/* Stranica bez kartica: tekst pri dnu levo (kao u sekciji usluga), mesto za "Nazad" ispod */
.page-hero--solo {
  justify-content: flex-end;
  padding-bottom: clamp(96px, 14vh, 150px);
}

/* Putanja (breadcrumb) */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 13px;
  color: #6b6c70;
}
.breadcrumb a { transition: color .2s ease; }
.breadcrumb a:hover { color: var(--heading); }
.breadcrumb [aria-current="page"] { color: var(--heading); font-weight: 700; }
.breadcrumb span[aria-hidden] { color: #9c9490; }

/* Kartice sa koracima usluge (glass, isti jezik kao ostale kartice) */
.step-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 20px;
  background: rgba(255, 255, 255, .5);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 16px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 8px 24px rgba(28, 28, 28, .08);
}
.step-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.step-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--heading);
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(255, 255, 255, .9);
}
.step-card__num {
  font-family: var(--font-accent);
  font-size: 22px;
  color: #9c9490;
}
.step-card__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--heading);
}
.step-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #5f6064;
}

/* Kartice prednosti: samo ikonica i naslov (bez broja i opisa) */
.step-cards--perks .step-card {
  gap: 18px;
  padding: 22px 22px 24px;
}
.step-cards--perks .step-card__title { font-size: clamp(20px, 1.7vw, 25px); }

/* Uvodna animacija sadržaja (čist CSS, bez JS-a) */
.step-cards .step-card {
  animation: page-in .9s cubic-bezier(.2, .7, .2, 1) backwards;
}
.step-cards .step-card:nth-child(1) { animation-delay: .45s; }
.step-cards .step-card:nth-child(2) { animation-delay: .57s; }
.step-cards .step-card:nth-child(3) { animation-delay: .69s; }
.step-cards .step-card:nth-child(4) { animation-delay: .81s; }

.page-hero__content > * {
  animation: page-in .9s cubic-bezier(.2, .7, .2, 1) backwards;
}
.page-hero__content > :nth-child(2) { animation-delay: .1s; }
.page-hero__content > :nth-child(3) { animation-delay: .2s; }
.page-hero__content > :nth-child(4) { animation-delay: .3s; }
@keyframes page-in {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero__content > *,
  .step-cards .step-card { animation: none; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .scroll-indicator { display: none; }   /* na užim ekranima bi se sudario sa tekstom */
  .step-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .page-section__inner { grid-template-columns: 1fr; gap: 28px; }
  .page-section__text p { font-size: 16px; }

  /* Pinovana sekcija nadoknade: tekst gore, svetli veo, slika pomerena udesno */
  .feature-pin__sticky { align-items: flex-start; padding-top: calc(var(--nav-h) + 24px); }
  .feature-pin__bg { background-size: cover; background-position: 70% center; }
  .feature-pin__sticky::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .75) 55%, rgba(255, 255, 255, 0) 90%);
  }
  .page-feature__text p { font-size: 16px; }

  /* Rešenje: tekst gore, fotografije u mreži 2x2 ispod */
  .page-solution {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    min-height: 0;
    padding-bottom: 110px;
  }
  .page-solution__center { grid-column: 1 / -1; margin-bottom: 18px; }
  .page-solution__photo { position: static; width: 100%; }
  .page-solution__photo--tl { order: 2; }
  .page-solution__photo--tr { order: 3; }
  .page-solution__photo--bl { order: 4; }
  .page-solution__photo--br { order: 5; }
  .page-solution__center { order: 1; }

  /* Lista situacija: broj + naslov, opis ispod */
  .when-item { grid-template-columns: 44px minmax(0, 1fr); row-gap: 10px; }
  .when-item__text { grid-column: 2; }
  .when-item__num { font-size: 18px; }

  /* Tekst + pre/posle: jedna kolona */
  .page-compare__inner { grid-template-columns: 1fr; }
  .ba { height: auto; aspect-ratio: 4 / 3; min-height: 0; }

  /* Finalni CTA: jedna kolona, tekst gore, vizual ispod */
  .page-cta__inner { grid-template-columns: 1fr; gap: 40px; }
  .page-cta__visual { justify-self: center; width: min(100%, 360px); }
  .page-cta__text { font-size: 16px; }
}

@media (max-width: 600px) {
  .step-cards { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .social { display: none; }             /* na mobilnom bi prekrio tekst */
}

@media (max-width: 1000px) {
  .hero__inner { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 40px; }
}

@media (max-width: 960px) {
  :root { --gutter: 20px; --nav-h: 72px; --nav-h-stuck: 64px; }

  .logo__img { height: 48px; }
  .nav.is-stuck .logo__img { height: 44px; }

  /* Kompaktniji Kontakt da stane uz logo i hamburger */
  .nav__right .btn--primary {
    gap: 12px;
    padding: 4px 4px 4px 18px;
    font-size: 13px;
  }
  .nav__right .btn__icon { width: 32px; height: 32px; }
  .nav__right { gap: 4px; }

  .hero { background-position: 70% center; }
  /* Jači overlay iza teksta na malim ekranima (sivi tekst preko lica) */
  .hero::before {
    background:
      linear-gradient(to top, rgba(10, 10, 14, .9) 0%, rgba(10, 10, 14, .7) 45%, rgba(10, 10, 14, .15) 80%),
      linear-gradient(to bottom, rgba(10, 10, 14, .35) 0%, rgba(10, 10, 14, 0) 20%);
  }
  .nav { grid-template-columns: 1fr auto; }
  .nav__toggle { display: block; }

  /* CAD/CAM: tekst gore, tamni veo iza njega, slika pomerena udesno */
  .cadcam { align-items: flex-start; background-position: 78% center; }
  .cadcam::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to bottom, rgba(4, 16, 46, .88) 0%, rgba(4, 16, 46, .6) 55%, rgba(4, 16, 46, 0) 90%);
  }

  /* Podstranica: tekst gore, svetli veo iza njega, slika pomerena udesno */
  .page-hero { background-position: 72% center; }
  .page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to bottom, rgba(251, 251, 251, .9) 0%, rgba(251, 251, 251, .6) 45%, rgba(251, 251, 251, 0) 75%);
  }

  /* Proces: jedna kolona, naslov iznad koraka */
  .process__inner { grid-template-columns: 1fr; gap: 48px; }
  .process__head { position: static; }
  .process__step { --dot: 56px; column-gap: 20px; padding-bottom: 64px; }
  .process__dot { font-size: 18px; }
  .process__body p { font-size: 16px; }

  /* Usluge: spisak je skriven na malim ekranima (prekrio bi sliku i tekst) */
  .services__list { display: none; }

  /* Usluge: na portretnom ekranu pokaži desnu stranu slike */
  .services__bg { background-position: var(--bgpos-m, 72% center); }

  /* Usluge: blok teksta i "Pročitaj više" spušteni pri dnu, iznad "Preskoči" i progres linije */
  .services__sticky {
    align-items: flex-end;
    padding-bottom: 116px;
  }

  /* Usluge: svetli veo odozdo iza teksta da ostane čitljiv preko slike */
  .services__sticky::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to top, rgba(251, 251, 251, .96) 0%, rgba(251, 251, 251, .84) 40%, rgba(251, 251, 251, .4) 62%, rgba(251, 251, 251, 0) 80%);
  }

  .nav__links {
    position: absolute;
    top: 100%;
    left: var(--gutter);
    right: var(--gutter);
    z-index: 10;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links > a,
  .nav__parent { width: 100%; padding: 16px 0; color: var(--heading); }
  .nav__links > * + * { width: 100%; border-top: 1px solid #eee; }
  .nav__links > a:hover,
  .nav__item:hover .nav__parent { color: var(--text-gray); }

  /* Usluge: podlinkovi su uvek otvoreni, uvučeni ispod */
  .nav__item { padding: 0; }
  .nav__chevron { display: none; }
  .nav__item .dropdown__menu {
    position: static;
    padding: 0 0 8px 12px;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__item .dropdown__panel {
    display: flex;
    min-width: 0;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav__item .dropdown__panel a {
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-gray);
  }
  .nav__item .dropdown__panel a:hover { background: none; color: var(--heading); }
  .nav__item .dropdown__arrow { display: none; }
  .nav__item .dropdown__panel--mega { flex-direction: column; }
  .nav__item .dropdown__links { display: flex; flex-direction: column; }
  .nav__item .dropdown__label { padding: 12px 0 2px; font-size: 10px; color: var(--text-gray); opacity: .7; }
  .nav__item .dropdown__divider { width: 100%; height: 1px; margin: 8px 0 0; background: rgba(28, 28, 28, .12); }

}

@media (max-width: 480px) {
  .hero__actions .btn--primary { width: 100%; justify-content: space-between; }
  .hero__text { font-size: 16px; }
}

/* Oralna hirurgija: pregled zahvata (uvod, "šta sve radimo" oznake, tri grupe) */
.page-scope {
  position: relative;
  padding: clamp(72px, 9vw, 130px) var(--gutter) clamp(120px, 13vw, 190px);
  background: #fbfbfb;
}
.page-scope__inner { max-width: 1240px; margin: 0 auto; }
.page-statement + .page-scope { padding-top: 0; }
.page-scope__head {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 68px);
}
.page-scope__title {
  margin: 24px 0 0;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--heading);
}
.page-scope__title em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: 0;
}
.page-scope__lead { margin: 0; font-size: 17px; line-height: 1.6; color: #5f6064; }

.scope-row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 64px);
  align-items: start;
  padding: clamp(24px, 2.8vw, 34px) 0;
  border-top: 1px solid #e4e2e1;
  border-bottom: 1px solid #e4e2e1;
}
.scope-row__label {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--heading);
}
.scope-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.scope-tags li {
  padding: 10px 18px;
  font-size: 15px;
  line-height: 1.3;
  color: #424346;
  background: #fff;
  border: 1px solid #e4e2e1;
  border-radius: 999px;
  transition: border-color .25s ease, background .25s ease;
}
.scope-tags li:hover { border-color: #c9c5c2; background: #f6f5f4; }

.scope-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
  margin: 0;
  padding: 0;
  list-style: none;
}
/* Kartica grupe zahvata: u mirovanju samo broj + naslov na vizualu; na hover blur ide odozdo i otkriva podkategorije */
.scope-group {
  --card-bg: linear-gradient(160deg, #f4f0ed 0%, #e3dcd8 100%);
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: clamp(400px, 34vw, 480px);
  padding: clamp(24px, 2.4vw, 34px);
  overflow: hidden;
  background: #ebe8e6;
  border: 1px solid #e9e7e5;
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(28, 28, 28, .08);
  outline: none;
}
.scope-group::before {            /* vizual kartice */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  /* svetli gradijent odozgo da naslov bude čitljiv preko vizuala */
  background:
    linear-gradient(to bottom, rgba(251, 249, 248, .86) 0%, rgba(251, 249, 248, .6) 30%, rgba(251, 249, 248, 0) 62%),
    var(--card-bg) 62% center / cover no-repeat;
  transition: transform .9s cubic-bezier(.2, .7, .2, 1);
}
.scope-group::after {             /* blur koji se podiže odozdo */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, .42);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 110px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 110px);
  transform: translateY(101%);
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.scope-group:hover::before,
.scope-group:focus-visible::before { transform: scale(1.05); }
.scope-group:hover::after,
.scope-group:focus-visible::after { transform: translateY(0); }
.scope-group:focus-visible { outline: 2px solid var(--heading); outline-offset: 3px; }

.scope-group__num { font-family: var(--font-accent); font-size: 22px; color: #424346; }
.scope-group__title {
  margin: 10px 0 0;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--heading);
}
.scope-group__list { margin: 0; padding: 0; list-style: none; }
.scope-group__list li {
  position: relative;
  padding: 14px 0 14px 22px;
  font-size: 16px;
  line-height: 1.4;
  color: #2c2c2e;
  border-top: 1px solid rgba(28, 28, 28, .12);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .4s ease, transform .5s cubic-bezier(.2, .7, .2, 1);
}
.scope-group__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 22px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--heading);
}
.scope-group:hover .scope-group__list li,
.scope-group:focus-visible .scope-group__list li { opacity: 1; transform: none; }
.scope-group:hover .scope-group__list li:nth-child(1), .scope-group:focus-visible .scope-group__list li:nth-child(1) { transition-delay: .22s; }
.scope-group:hover .scope-group__list li:nth-child(2), .scope-group:focus-visible .scope-group__list li:nth-child(2) { transition-delay: .3s; }
.scope-group:hover .scope-group__list li:nth-child(3), .scope-group:focus-visible .scope-group__list li:nth-child(3) { transition-delay: .38s; }

/* Ekrani bez hovera (telefon/tablet): podkategorije su uvek vidljive */
@media (hover: none) {
  .scope-group::after { transform: none; background: rgba(255, 255, 255, .6); }
  .scope-group__list li { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .scope-group::before, .scope-group::after, .scope-group__list li { transition: none; }
}

@media (max-width: 960px) {
  .page-scope__head { grid-template-columns: 1fr; align-items: start; }
  .scope-row { grid-template-columns: 1fr; gap: 16px; }
  .scope-groups { grid-template-columns: 1fr; }
}
/* Oralna hirurgija: izbor zahvata ("Šta sve radimo"): krug, luk sa 6 stavki, panel sa detaljima */
.explorer {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(0, 1fr);
  column-gap: clamp(24px, 3vw, 48px);
  align-items: center;
  padding: clamp(24px, 3vw, 40px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 22% 50%, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(135deg, #f4f2f1 0%, #ebe8e6 100%);
  border: 1px solid #e9e7e5;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(28, 28, 28, .06);
}
.explorer__stage { position: relative; width: 720px; height: 500px; justify-self: center; }
.explorer__ring,
.explorer__halo {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(28, 28, 28, .12);
  pointer-events: none;
}
.explorer__ring { left: -70px; top: -20px; width: 540px; height: 540px; clip-path: inset(0 0 0 50%); }
.explorer__halo { left: 10px; top: 60px; width: 380px; height: 380px; border-color: rgba(28, 28, 28, .08); }
.explorer__tag {
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9c9490;
}
.explorer__tag::after { content: ""; width: 56px; height: 1px; background: rgba(28, 28, 28, .18); }

.explorer__main { position: absolute; left: 30px; top: 80px; width: 340px; }
.explorer__disc {
  position: relative;
  width: 340px;
  height: 340px;
  overflow: hidden;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, #ece8e5 70%);
  box-shadow: 0 20px 50px rgba(28, 28, 28, .14), inset 0 0 0 6px rgba(255, 255, 255, .7);
}
.explorer__img {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #b9b2ae;                     /* zamenski znak dok se ne postavi slika */
  background: var(--img, none) var(--img-pos, center) / cover no-repeat;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity .5s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
}
.explorer__img svg { width: 110px; height: 110px; }
.explorer__img.is-active { opacity: 1; transform: none; }
.explorer__count {
  position: absolute;
  left: 50%;
  top: 22px;
  translate: -50% 0;
  z-index: 2;
  padding: 4px 12px;
  font-family: var(--font-accent);
  font-size: 18px;
  color: #424346;
  background: rgba(255, 255, 255, .6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 999px;
}
.explorer__count b, .explorer__num b { font-weight: 400; }
.explorer__count small, .explorer__num small { margin-left: 2px; font-size: .62em; color: #9c9490; }
.explorer__nav { display: flex; justify-content: center; gap: 12px; margin-top: 26px; }
.explorer__arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  color: #424346;
  background: rgba(255, 255, 255, .5);
  border: 1px solid rgba(28, 28, 28, .14);
  border-radius: 50%;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease;
}
.explorer__arrow:hover { background: #fff; border-color: rgba(28, 28, 28, .3); }

.explorer__list { margin: 0; padding: 0; list-style: none; }
.explorer__item {
  --a: calc(-52deg + var(--i) * 20.8deg);
  position: absolute;
  left: calc(200px + cos(var(--a)) * 270px - 32px);
  top: calc(250px + sin(var(--a)) * 270px - 32px);
  display: flex;
  align-items: center;
  gap: 14px;
  width: 270px;
  height: 64px;
  padding: 0;
  text-align: left;
  font: inherit;
  color: #7c7773;
  background: none;
  border: 0;
  cursor: pointer;
}
.explorer__thumb {
  display: grid;
  place-items: center;
  flex: none;
  width: 64px;
  height: 64px;
  color: #b9b2ae;
  background: var(--img, none) var(--img-pos, center) / cover no-repeat, radial-gradient(circle at 35% 30%, #fff 0%, #e7e3e0 80%);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(28, 28, 28, .12), 0 0 0 3px rgba(255, 255, 255, .8);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease;
}
.explorer__label {
  font-size: 15px;
  line-height: 1.25;
  transition: color .25s ease;
}
.explorer__label small { display: block; font-family: var(--font-accent); font-size: 15px; color: #9c9490; }
.explorer__item:hover .explorer__thumb { transform: scale(1.06); }
.explorer__item:hover .explorer__label,
.explorer__item.is-active .explorer__label { color: var(--heading); }
.explorer__item.is-active .explorer__thumb {
  transform: scale(1.12);
  box-shadow: 0 10px 26px rgba(28, 28, 28, .18), 0 0 0 3px #fff, 0 0 0 4px rgba(28, 28, 28, .55);
}
.explorer__item.is-active .explorer__label { font-weight: 700; }
.explorer__item:focus-visible { outline: 2px solid var(--heading); outline-offset: 4px; border-radius: 999px; }
.explorer__arrow:focus-visible { outline: 2px solid var(--heading); outline-offset: 3px; }

.explorer__detail {
  padding-left: clamp(24px, 3vw, 44px);
  border-left: 1px solid rgba(28, 28, 28, .1);
}
/* Menjaju se samo broj, naslov i opis; prednosti i dugme stoje na mestu */
.explorer__info { transition: opacity .2s ease, transform .3s ease; }
.explorer__info.is-swapping { opacity: 0; transform: translateY(8px); }
.explorer__num { margin: 0; font-family: var(--font-accent); font-size: 18px; color: #424346; }
.explorer__title {
  margin: 14px 0 0;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(26px, 2.5vw, 36px);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--heading);
}
.explorer__text { margin: 16px 0 0; font-size: 16px; line-height: 1.6; color: #5f6064; }
.explorer__perks { margin: 24px 0 28px; padding: 0; list-style: none; border-top: 1px solid rgba(28, 28, 28, .1); }
.explorer__perks li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  font-size: 14px;
  line-height: 1.3;
  color: #5f6064;
  border-bottom: 1px solid rgba(28, 28, 28, .1);
}
.explorer__perk-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  color: #424346;
  background: rgba(255, 255, 255, .6);
  border: 1px solid rgba(28, 28, 28, .12);
  border-radius: 50%;
}

/* Uži ekrani: krug gore, stavke u mreži ispod, detalji na dnu */
@media (max-width: 1100px) {
  .explorer { grid-template-columns: 1fr; row-gap: 32px; }
  .explorer__stage { width: 100%; height: auto; display: flex; flex-direction: column; align-items: center; gap: 28px; }
  .explorer__ring, .explorer__halo, .explorer__tag { display: none; }
  .explorer__main { position: static; width: min(300px, 100%); }
  .explorer__disc { width: min(300px, 100%); height: auto; aspect-ratio: 1; }
  .explorer__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; width: 100%; }
  .explorer__item { position: static; width: 100%; height: auto; gap: 12px; padding: 4px 0; }
  .explorer__thumb { width: 48px; height: 48px; }
  .explorer__thumb svg { width: 20px; height: 20px; }
  .explorer__detail { padding: 28px 0 0; border-left: 0; border-top: 1px solid rgba(28, 28, 28, .1); }
}
@media (max-width: 600px) {
  .explorer__list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .explorer__img, .explorer__thumb, .explorer__info { transition: none; }
}
/* Pinovan izbor zahvata: stavke se menjaju prema skrolu (samo veći ekrani); na manjim se menja klikom */
@media (min-width: 1101px) and (min-height: 700px) {
  .explorer-pin.is-pinned { height: calc(100vh + (var(--steps, 6) - .5) * 60vh); height: calc(100svh + (var(--steps, 6) - .5) * 60svh); }
  .explorer-pin.is-pinned .explorer-pin__sticky {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    height: 100vh;
    height: 100svh;
    padding-top: var(--nav-h-stuck);
  }
  .explorer-pin.is-pinned .explorer { width: 100%; }
  .explorer-pin.is-pinned .explorer__nav { display: none; }
}
/* Kada postoji slika, zamenski zubić se sakriva */
.explorer__img.has-img svg, .explorer__thumb.has-img svg { display: none; }

/* Oralna hirurgija: razmaci između izbora zahvata, izjave i grupa */
.page-scope--top { padding-bottom: 0; }
.page-statement + .page-scope--groups { padding-top: 0; }

.page-scope--groups { padding-bottom: clamp(72px, 9vw, 130px); }

/* Izabrana sličica je u boji, ostale su crno-bele */
.explorer__thumb { filter: grayscale(1) brightness(1.05); opacity: .8; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease, filter .4s ease, opacity .4s ease; }
.explorer__item:hover .explorer__thumb { filter: grayscale(.45); opacity: 1; }
.explorer__item.is-active .explorer__thumb { filter: none; opacity: 1; }
/* Endodoncija: hero + uvod. Vizual se pri skrolu smanjuje i ide udesno, tekst se pojavljuje levo. */
.endo-flow { position: relative; --p: 0; --t: 0; --tone: rgb(230, 226, 223); --edge: max(var(--gutter), calc((100vw - 1240px) / 2)); }
.endo-flow__stage { position: relative; background: var(--tone); }
.endo-flow__img {
  display: none;
  background: #e9e7e5 var(--img) 70% center / cover no-repeat;
}
.endo-flow__text { max-width: 560px; padding: clamp(56px, 8vw, 100px) var(--gutter) clamp(110px, 12vw, 150px); }
.endo-flow__title {
  margin: 22px 0 22px;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--heading);
}
.endo-flow__title em { font-family: var(--font-accent); font-style: italic; font-weight: 400; font-size: 1.08em; letter-spacing: 0; }
.endo-flow__text p:not(.eyebrow) { margin: 0 0 16px; font-size: 16px; line-height: 1.6; color: #5f6064; }

/* aktivno (JS dodaje .is-live na većim ekranima) */
.endo-flow.is-live { height: calc(100vh + 150vh); height: calc(100svh + 150svh); }
.endo-flow.is-live .endo-flow__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.endo-flow.is-live .endo-flow__img {
  display: block;
  position: absolute;
  /* pozadina ostaje ista (boja slike), samo se vizual smanjuje i pomera udesno; ivice se stapaju sa pozadinom */
  left: calc(var(--p) * 44%);
  right: 0;
  top: calc(var(--p) * 6svh);
  bottom: calc(var(--p) * 6svh);
  will-change: left, top;
}
.endo-flow.is-live .endo-flow__img::after {
  content: "";
  position: absolute;
  inset: -1px;
  opacity: var(--p);
  pointer-events: none;
  background:
    linear-gradient(to right, var(--tone) 0%, rgba(230, 226, 223, 0) 22%),
    linear-gradient(to bottom, var(--tone) 0%, rgba(230, 226, 223, 0) 16%),
    linear-gradient(to top, var(--tone) 0%, rgba(230, 226, 223, 0) 16%);
}
/* bez donjeg bledenja hero-a: slika se nastavlja ispod njega, pa nema oštre ivice pri skrolu */
.endo-flow.is-live .endo-flow__hero::after { display: none; }.endo-flow.is-live .endo-flow__text {
  position: absolute;
  left: var(--edge);
  top: 50%;
  width: min(520px, 40vw);
  padding: 0;
  opacity: var(--t);
  transform: translateY(calc(-50% + (1 - var(--t)) * 28px));
  pointer-events: none;
}
.endo-flow.is-live .endo-flow__hero { background: none; margin-top: -100vh; margin-top: -100svh; }
.endo-flow.is-live .endo-flow__hero { z-index: 1; }
.endo-flow .page-back { z-index: 3; }
/* Bez pinovanja (telefon/tablet): hero prvi, tekst ispod */
.endo-flow:not(.is-live) { display: flex; flex-direction: column; }
.endo-flow:not(.is-live) .endo-flow__hero { order: 1; }
.endo-flow:not(.is-live) .endo-flow__stage { order: 2; }

/* Eyebrow u sekciji usluga: naziv kategorije se smenjuje blagim prelazom */
.services__eyebrow-text { display: inline-block; transition: opacity .2s ease, transform .2s ease; }
.services__eyebrow-text.is-swap { opacity: 0; transform: translateY(4px); }

/* Endodoncija: simptomi (vizual u sredini, kartice povezane tankim linijama) */
.symptoms {
  position: relative;
  padding: clamp(72px, 9vw, 130px) var(--gutter) clamp(120px, 12vw, 170px);
  background: linear-gradient(to bottom, rgb(230, 226, 223) 0%, #f1efed 45%, #f8f7f6 100%);
}
.symptoms__inner { max-width: 1240px; margin: 0 auto; }
.symptoms__head { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-bottom: clamp(28px, 4vw, 48px); text-align: center; }
.symptoms__title {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--heading);
  text-wrap: balance;
}
.symptoms__title em { font-family: var(--font-accent); font-style: italic; font-weight: 400; font-size: 1.08em; letter-spacing: 0; }

.symptoms__stage { position: relative; aspect-ratio: 1240 / 640; }
.symptoms__tooth {
  position: absolute;
  left: 19.35%;            /* 240 / 1240 */
  top: 17.2%;              /* 110 / 640 */
  width: 61.3%;            /* 760 / 1240 */
  height: auto;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 42%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 42%, transparent 100%);
}
.symptoms__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.symptoms__lines path { fill: none; stroke: rgba(28, 28, 28, .38); stroke-width: 1; vector-effect: non-scaling-stroke; }
.symptoms__dot { fill: #1c1c1c; }
.symptoms__halo { fill: none; stroke: rgba(28, 28, 28, .25); stroke-width: 1; vector-effect: non-scaling-stroke; }

.symptoms__cards { margin: 0; padding: 0; list-style: none; }

/* Simptom: kartica sa slikom u boji, tekst pri dnu preko mekog bluru (uvek otvorene, bez hovera) */
.symptom {
  position: absolute;
  width: 26.6%;                   /* 330 / 1240 */
  height: 33.6%;                  /* 215 / 640 */
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .9);
  background: #e9e6e3;
  box-shadow: 0 18px 44px rgba(28, 28, 28, .14);
}
.symptom__media {
  position: absolute;
  inset: 0;
  background: var(--img) var(--pos, 50% 50%) / cover no-repeat;
}
.symptom__text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  isolation: isolate;
  padding: 30px 20px 18px;
  font-size: 15px;
  line-height: 1.4;
  color: #3d3e42;                 /* tamno siva, prijatnija od crne */
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(to top, #000 70%, transparent 100%);
  mask-image: linear-gradient(to top, #000 70%, transparent 100%);
}
.symptom__text::before {          /* svetli veo iza teksta */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(255, 255, 255, .8) 0%, rgba(255, 255, 255, .52) 65%, rgba(255, 255, 255, 0) 100%);
}

/* leva i desna strana: kartice uz linije, zub je u sredini */
.symptom--l1, .symptom--l2 { right: 73.39%; }          /* desna ivica na x = 330 */
.symptom--r1, .symptom--r2 { left: 73.39%; }           /* leva ivica na x = 910 */
.symptom--l1, .symptom--r1 { top: 23.44%; translate: 0 -50%; }     /* centar na y = 150 */
.symptom--l2, .symptom--r2 { top: 61.72%; translate: 0 -50%; }     /* centar na y = 395 */
.symptom--b { width: 29.03%; height: 31.25%; left: 50%; top: 81.25%; translate: -50% 0; }   /* ispod zuba, gornja ivica na y = 520 */

/* Telefon/tablet: kartice u mreži ispod zuba */
@media (max-width: 960px) {
  .symptoms__stage { aspect-ratio: auto; display: flex; flex-direction: column; align-items: center; gap: 24px; }
  .symptoms__tooth { position: static; width: min(100%, 560px); }
  .symptoms__lines { display: none; }
  .symptoms__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: 100%; }
  .symptom, .symptom--b, .symptom--l1, .symptom--l2, .symptom--r1, .symptom--r2 {
    position: relative; inset: auto; translate: none; width: auto; height: auto; aspect-ratio: 4 / 3;
  }
  .symptom--b { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .symptoms__cards { grid-template-columns: 1fr; }
  .symptom--b { grid-column: auto; }
}/* Zub se blago njiše (rotacija oko vertikalne ose) dok je sekcija na ekranu */
.symptoms__stage { perspective: 1600px; }
.symptoms__tooth {
  animation: tooth-sway 9s ease-in-out infinite alternate;
  animation-play-state: paused;
  transform-style: preserve-3d;
}
.symptoms.in-view .symptoms__tooth { animation-play-state: running; }
@keyframes tooth-sway {
  from { rotate: 0 1 0 -16deg; translate: 0 -5px; }
  to   { rotate: 0 1 0 16deg;  translate: 0 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .symptoms__tooth { animation: none; }
}

.symptoms { padding-bottom: clamp(200px, 22vw, 300px); }

/* Endodoncija: postupak lečenja (naslov levo, uvod desno, cik-cak kartice sa koracima i oznakama sa strane) */
.proc {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 130px) var(--gutter) clamp(130px, 13vw, 190px);
  background: linear-gradient(to bottom, #f8f7f6 0%, #f1efed 100%);
}
.proc__watermark {
  position: absolute;
  left: 50%;
  top: clamp(90px, 14vw, 190px);
  translate: -50% 0;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(110px, 21vw, 300px);
  line-height: 1;
  letter-spacing: -.02em;
  white-space: nowrap;
  color: rgba(28, 28, 28, .045);
  pointer-events: none;
  user-select: none;
}
.proc__inner { position: relative; max-width: 1240px; margin: 0 auto; }
.proc__head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(56px, 7vw, 96px);
}
.proc__tag {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #6b6c70;
}
.proc__tag::before { content: ""; width: 28px; height: 1px; background: rgba(28, 28, 28, .35); }
.proc__title {
  margin: 0;
  max-width: 680px;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -.025em;
  color: var(--heading);
  text-wrap: balance;
}
.proc__title em { display: block; font-family: var(--font-accent); font-style: italic; font-weight: 400; font-size: 1.04em; letter-spacing: 0; color: #424346; }
.proc__lead { margin: 0; font-size: 15px; line-height: 1.6; color: #6b6c70; max-width: 300px; justify-self: end; }

/* kartice: cik-cak u dve kolone (redovi su računati da se kartice preklapaju po visini) */
.proc__steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 150px 190px 60px 90px 60px 190px 150px;   /* razmak između kartica u koloni: 60px */
  column-gap: 24px;
  width: min(100%, 680px);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.proc-step { position: relative; }
.proc-step--01 { grid-column: 1; grid-row: 1 / 3; }
.proc-step--02 { grid-column: 2; grid-row: 2 / 5; }
.proc-step--03 { grid-column: 1; grid-row: 4 / 7; }
.proc-step--04 { grid-column: 2; grid-row: 6 / 8; }
.proc-step__card {
  position: relative;
  height: 100%;
  overflow: hidden;
  padding: 22px 22px 0;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 22px;
  background: #ebe8e5 var(--img) var(--pos, 50% 50%) / cover no-repeat;
  box-shadow: 0 22px 50px rgba(28, 28, 28, .1);
}
.proc-step__card::before {        /* svetao veo odozgo, da tekst bude čitljiv preko slike */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(248, 247, 246, .94) 0%, rgba(248, 247, 246, .78) 42%, rgba(248, 247, 246, 0) 72%);
}
.proc-step__title, .proc-step__text { position: relative; }
.proc-step__title { margin: 0 0 8px; font-family: var(--font-heading); font-weight: 300; font-size: 21px; line-height: 1.15; letter-spacing: -.01em; color: #2c2c2e; }
.proc-step__text { margin: 0; font-size: 13.5px; line-height: 1.5; color: #55565a; }

/* oznaka sa strane: broj + kratak naziv + tanka linija */
.proc-step__label {
  position: absolute;
  top: 54px;
  width: 170px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.proc-step__label b { font-family: var(--font-accent); font-style: italic; font-weight: 400; font-size: 40px; line-height: 1; color: var(--heading); }
.proc-step__label span { padding-bottom: 8px; font-size: 14px; color: #424346; border-bottom: 1px solid rgba(28, 28, 28, .18); }
.proc-step--01 .proc-step__label, .proc-step--03 .proc-step__label { right: calc(100% + 48px); }
.proc-step--02 .proc-step__label, .proc-step--04 .proc-step__label { left: calc(100% + 48px); }

@media (max-width: 1100px) {
  .proc-step__label { width: 130px; }
  .proc-step--01 .proc-step__label, .proc-step--03 .proc-step__label { right: calc(100% + 24px); }
  .proc-step--02 .proc-step__label, .proc-step--04 .proc-step__label { left: calc(100% + 24px); }
}
@media (max-width: 960px) {
  .proc__head { grid-template-columns: 1fr; align-items: start; }
  .proc__lead { justify-self: start; }
  .proc__steps { display: flex; flex-direction: column; gap: 22px; width: min(100%, 460px); }
  .proc-step--01, .proc-step--02, .proc-step--03, .proc-step--04 { grid-column: auto; grid-row: auto; }
  .proc-step__card { height: 340px; }
  .proc-step__label { position: static; width: auto; flex-direction: row; align-items: baseline; gap: 12px; margin-bottom: 10px; }
  .proc-step__label b { font-size: 30px; }
  .proc-step__label span { padding: 0; border: 0; }
}
/* Endodoncija: zaključni blok teksta se nastavlja na sekciju postupka bez oštrog prelaza */
.proc { padding-bottom: clamp(72px, 9vw, 120px); }
.proc + .page-statement { padding-top: clamp(24px, 4vw, 60px); background: linear-gradient(to bottom, #f1efed 0%, #fbfbfb 55%); }

/* Izbeljivanje: "Važno je znati" (naslov levo, tekst i napomena desno) */
.care {
  position: relative;
  padding: clamp(72px, 9vw, 130px) var(--gutter) clamp(130px, 13vw, 190px);
  background: #fff;
}
.care__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 7vw, 110px);
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
}
.care__head { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.care__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.06;
  letter-spacing: -.025em;
  color: var(--heading);
  text-wrap: balance;
}
.care__title em { display: block; font-family: var(--font-accent); font-style: italic; font-weight: 400; font-size: 1.06em; letter-spacing: 0; color: #424346; }
.care__body { display: flex; flex-direction: column; gap: 28px; padding-top: clamp(0px, 3.4vw, 52px); }
.care__text { margin: 0; font-size: 17px; line-height: 1.65; color: #5f6064; }
.care__note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  background: #f6f4f2;
  border: 1px solid #ebe8e5;
  border-radius: 18px;
}
.care__note-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  color: #424346;
  background: #fff;
  border: 1px solid #e4e2e1;
  border-radius: 50%;
}
.care__note p { margin: 0; padding-top: 8px; font-size: 16px; line-height: 1.55; color: #3d3e42; }
@media (max-width: 960px) {
  .care__inner { grid-template-columns: 1fr; }
  .care__body { padding-top: 0; }
}
/* Stakleni zub u donjem levom uglu sekcije, mekih ivica da se stapa sa belom pozadinom */
.care__tooth {
  display: block;
  width: min(100%, 560px);
  height: auto;
  margin: 8px 0 0 -28px;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 40%, transparent 100%);
}
@media (max-width: 960px) { .care__tooth { margin-left: 0; width: min(100%, 420px); } }

/* Izbeljivanje: iza sekcije dolazi CTA, pa nije potrebno mesto za dugme Nazad */
.care { padding-bottom: clamp(72px, 9vw, 130px); }

/* Pre/posle za usne: vertikalni kadar, težište na usnama */
.ba--lips { min-height: 420px; }
.ba--lips .ba__img { object-position: 50% 62%; }

/* Pre/posle za lice: vertikalni kadar, težište na čelu i očima */
.ba--face { min-height: 420px; }
.ba--face .ba__img { object-position: 50% 36%; }

/* CTA vizual sa svetlom pozadinom: kvadratni isečak oko lica, meke ivice koje se stapaju sa tamno plavom */
.page-cta__visual--face {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 58%, transparent 99%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 58%, transparent 99%);
}
.page-cta__visual--face img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: 50% 50%;
  filter: brightness(.95) saturate(.96);
  -webkit-mask-image: none;
  mask-image: none;
}
/* Početna: rezultati pre i posle (čipovi + veliki klizač) */
.results {
  padding: clamp(80px, 10vw, 150px) var(--gutter);
  background: #fbfbfb;
}
.results__inner { max-width: 1040px; margin: 0 auto; }
.results__head { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-bottom: clamp(28px, 4vw, 44px); text-align: center; }
.results__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1.05;
  letter-spacing: -.025em;
  color: var(--heading);
  text-wrap: balance;
}
.results__title em { font-family: var(--font-accent); font-style: italic; font-weight: 400; font-size: 1.08em; letter-spacing: 0; }

.results__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 640px; margin: 0 auto clamp(24px, 3vw, 36px); }   /* 4 + 4 čipa u dva reda */
.results__chip {
  padding: 11px 20px;
  font: inherit;
  font-size: 15px;
  line-height: 1.2;
  color: #424346;
  background: #fff;
  border: 1px solid #e0dedc;
  border-radius: 999px;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.results__chip:hover { border-color: #bdb9b6; }
.results__chip.is-active { color: #fff; background: #242424; border-color: #242424; box-shadow: 0 8px 20px rgba(28, 28, 28, .22); }
.results__chip:focus-visible { outline: 2px solid var(--heading); outline-offset: 3px; }

.results__stage { aspect-ratio: 16 / 9; }
.results__ba { min-height: 0; height: 100%; transition: opacity .22s ease; }
.results__ba .ba__img { object-position: var(--ba-pos, 50% 50%); }
.results__ba.is-swapping { opacity: 0; }
.results__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; }
.results__name { margin: 0; font-family: var(--font-heading); font-weight: 300; font-size: clamp(20px, 2vw, 26px); letter-spacing: -.01em; color: var(--heading); }
.results__more { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: #424346; transition: color .2s ease, gap .2s ease; }
.results__more:hover { color: var(--heading); gap: 12px; }
@media (max-width: 600px) {
  .results__stage { aspect-ratio: 4 / 3; }
  .results__chip { padding: 10px 16px; font-size: 14px; }
}
/* Proces: stakleni zub ispod naslova, mekih ivica da se stapa sa pozadinom */
.process__tooth {
  display: block;
  width: min(100%, 540px);
  height: auto;
  margin: 18px 0 0 -36px;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 40%, transparent 100%);
}
@media (max-width: 960px) { .process__tooth { margin-left: 0; width: min(100%, 380px); } }

/* Česta pitanja na stranicama usluga (naslov levo, harmonika desno) */
.faq {
  position: relative;
  padding: clamp(72px, 9vw, 130px) var(--gutter);
  background: #fff;
}
.faq__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 7vw, 110px);
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
}
.faq__head { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; position: sticky; top: calc(var(--nav-h-stuck) + 32px); }
.faq__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.08;
  letter-spacing: -.025em;
  color: var(--heading);
  text-wrap: balance;
}
.faq__title em { display: block; font-family: var(--font-accent); font-style: italic; font-weight: 400; font-size: 1.06em; letter-spacing: 0; color: #424346; }
.faq__lead { margin: 0; max-width: 360px; font-size: 15px; line-height: 1.6; color: #6b6c70; }

.faq__list { border-top: 1px solid #e4e2e1; }
.faq__item { border-bottom: 1px solid #e4e2e1; }
.faq__q {
  position: relative;
  display: block;
  padding: 24px 0;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--heading);
  cursor: pointer;
  list-style: none;
  transition: color .2s ease;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q { color: #7a7b80; }
.faq__q:hover, .faq__item[open] .faq__q { color: var(--heading); }
.faq__q:focus-visible { outline: 2px solid var(--heading); outline-offset: 4px; border-radius: 6px; }
.faq__a { padding: 0 40px 26px 0; }
.faq__a p { margin: 0; font-size: 16px; line-height: 1.65; color: #5f6064; animation: faq-in .35s ease; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) {
  .faq__inner { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .faq__a { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) { .faq__a p { animation: none; } }
.care + .faq { padding-top: 0; }

/* Početna: česta pitanja (čipovi usluga + harmonika) */
.faqhome { padding: clamp(80px, 10vw, 150px) var(--gutter); background: #fff; }
.faqhome__inner { max-width: 960px; margin: 0 auto; }
.faqhome__chips { max-width: 940px; }
.faqhome__list, .faqhome__foot { max-width: 820px; margin-left: auto; margin-right: auto; }
.faqhome__list { transition: opacity .2s ease; min-height: 120px; }
.faqhome__list.is-swapping { opacity: 0; }
.faqhome__note { margin: 0; font-size: 14px; color: #8a8b90; }
@media (max-width: 600px) { .faqhome__foot { flex-direction: column; align-items: flex-start; } }
/* Početna: završni CTA, tamno plava pozadina, sve centrirano */
.final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(96px, 12vw, 180px) var(--gutter) clamp(72px, 8vw, 110px);
  color: #fff;
  text-align: center;
  background:
    radial-gradient(ellipse 55% 70% at 50% 42%, #0d2f78 0%, rgba(13, 47, 120, 0) 72%),
    #061538;
}
.final-cta__ring {
  position: absolute;
  left: 50%;
  top: 42%;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
  translate: -50% -50%;
  pointer-events: none;
}
.final-cta__ring--a { width: min(920px, 92vw); aspect-ratio: 1; }
.final-cta__ring--b { width: min(620px, 70vw); aspect-ratio: 1; border-color: rgba(255, 255, 255, .06); }
.final-cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; max-width: 760px; margin: 0 auto; }
.final-cta .eyebrow { color: rgba(255, 255, 255, .7); }
.final-cta__title {
  margin: 28px 0 24px;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(42px, 6.2vw, 92px);
  line-height: 1.02;
  letter-spacing: -.025em;
  color: #fff;
}
.final-cta__title span { display: block; }
.final-cta__title em { font-family: var(--font-accent); font-style: italic; font-weight: 400; font-size: 1.08em; letter-spacing: 0; }
.final-cta__text { margin: 0 0 40px; max-width: 480px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: rgba(255, 255, 255, .78); }
.final-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.final-cta__ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 26px;
  min-height: 54px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: background .25s ease, border-color .25s ease;
}
.final-cta__ghost:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .5); }
.final-cta__ghost:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.final-cta__info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin: clamp(56px, 7vw, 88px) 0 0;
  padding: 24px 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .14);
  width: 100%;
  font-size: 15px;
  color: rgba(255, 255, 255, .9);
}
.final-cta__info li { display: flex; flex-direction: column; gap: 6px; padding: 0 clamp(18px, 3.4vw, 44px); }
.final-cta__info li + li { border-left: 1px solid rgba(255, 255, 255, .14); }
.final-cta__info span { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.final-cta__info a { transition: opacity .2s ease; }
.final-cta__info a:hover { opacity: .7; }
@media (max-width: 600px) {
  .final-cta__info { flex-direction: column; gap: 18px; align-items: center; }
  .final-cta__info li + li { border-left: 0; }
}
/* Kontakt forma u završnom CTA (staklena kartica na tamno plavoj pozadini) */
.cform {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(22px, 3vw, 36px);
  text-align: left;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 26px;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
}
.cform__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.cform__field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cform__field--wide { grid-column: 1 / -1; }
.cform label { font-size: 13px; line-height: 1.2; color: rgba(255, 255, 255, .78); }
.cform label span { color: rgba(255, 255, 255, .5); }
.cform input[type="text"], .cform input[type="tel"], .cform input[type="email"], .cform select, .cform textarea {
  width: 100%;
  padding: 15px 16px;
  font: inherit;
  font-size: 15px;
  color: #fff;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 14px;
  outline: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.cform textarea { resize: vertical; min-height: 92px; }
.cform input::placeholder, .cform textarea::placeholder { color: rgba(255, 255, 255, .4); }
.cform input:focus, .cform select:focus, .cform textarea:focus { border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .1); box-shadow: 0 0 0 3px rgba(122, 162, 255, .25); }
.cform [aria-invalid="true"] { border-color: #ff9c8f; }
.cform select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
.cform select:invalid { color: rgba(255, 255, 255, .5); }
.cform select option, .cform select optgroup { color: #1c1c1c; background: #fff; }
.cform__err { min-height: 0; margin: 0; font-size: 13px; line-height: 1.3; color: #ffb4a8; }
.cform__err:empty { display: none; }
.cform__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 22px; cursor: pointer; }
.cform__consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #fff; cursor: pointer; }
.cform__consent span { font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .72); }
.cform__submit { margin-top: 22px; width: 100%; justify-content: space-between; }
.cform__submit:disabled { opacity: .6; cursor: progress; }
.cform__status { margin: 14px 0 0; min-height: 0; font-size: 14px; line-height: 1.5; text-align: center; color: rgba(255, 255, 255, .85); }
.cform__status:empty { display: none; }
.cform__status[data-kind="ok"] { color: #a8f0c6; }
.cform__status[data-kind="error"] { color: #ffb4a8; }
@media (max-width: 640px) {
  .cform__grid { grid-template-columns: 1fr; }
}
/* Kontakt: dva puta, poziv (levo) ili upit (desno), u istom bloku */
.final-cta__inner { max-width: 1060px; }
.cgrid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; width: 100%; text-align: left; align-items: stretch; }
.cpanel {
  padding: clamp(22px, 3vw, 34px);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 26px;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
}
.cgrid .cform { max-width: none; margin: 0; }
.cpanel__head { margin-bottom: 22px; }
.cpanel__label { margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.cpanel__title { margin: 0; font-family: var(--font-heading); font-weight: 300; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -.015em; color: #fff; }

.ccall { display: flex; flex-direction: column; }
.ccall__btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  margin-bottom: 12px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 18px;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.ccall__btn:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .45); transform: translateY(-2px); }
.ccall__btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.ccall__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
}
.ccall__icon--sm { width: 38px; height: 38px; }
.ccall__text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; font-family: var(--font-heading); font-weight: 300; font-size: clamp(22px, 2.1vw, 28px); letter-spacing: -.01em; white-space: nowrap; }
.ccall small { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.ccall__arrow { flex: none; opacity: .7; transition: transform .25s ease, opacity .25s ease; }
.ccall__btn:hover .ccall__arrow { opacity: 1; transform: translate(2px, -2px); }
.ccall__addr { display: flex; align-items: center; gap: 14px; margin: auto 0 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 15px; color: rgba(255, 255, 255, .9); }
.ccall__addr span:last-child { display: flex; flex-direction: column; gap: 3px; }
@media (max-width: 960px) {
  .cgrid { grid-template-columns: 1fr; }
}
.ccall__lead { margin: 14px 0 0; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .7); }
.ccall .cpanel__head { margin-bottom: 26px; }
.ccall__btn { padding: 20px 22px; margin-bottom: 14px; }
.ccall__icon { width: 52px; height: 52px; }

/* Adresa i radno vreme u levom bloku */
.ccall__meta { margin-top: auto; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-direction: column; gap: 18px; }
.ccall__meta .ccall__addr { margin: 0; padding: 0; border: 0; align-items: flex-start; }
.ccall__meta .ccall__addr span:last-child { line-height: 1.5; }

/* Padajući meni sa višestrukim izborom usluga */
.cms { position: relative; }
.cms__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 10px 16px;
  font: inherit;
  font-size: 15px;
  text-align: left;
  color: #fff;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.cms__trigger:hover { background: rgba(255, 255, 255, .1); }
.cms__trigger:focus-visible, .cms.is-open .cms__trigger { outline: none; border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .1); box-shadow: 0 0 0 3px rgba(122, 162, 255, .25); }
.cms__trigger[aria-invalid="true"] { border-color: #ff9c8f; }
.cms__value { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; flex: 1; }
.cms__placeholder { color: rgba(255, 255, 255, .5); }
.cms__chip { max-width: 100%; padding: 5px 11px; font-size: 13px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; }
.cms__chip--more { background: rgba(122, 162, 255, .3); border-color: rgba(122, 162, 255, .45); }
.cms__chev { flex: none; transition: transform .25s ease; }
.cms.is-open .cms__chev { transform: rotate(180deg); }
.cms__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  max-height: 340px;
  overflow-y: auto;
  padding: 10px;
  color: #fff;
  background: rgba(9, 27, 74, .97);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 16px;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.cms__panel[hidden] { display: none; }
.cms__glabel { margin: 8px 10px 4px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.cms__group + .cms__group { margin-top: 6px; padding-top: 4px; border-top: 1px solid rgba(255, 255, 255, .1); }
.cms__opt { display: flex; align-items: center; gap: 12px; padding: 10px; font-size: 15px; line-height: 1.2; color: rgba(255, 255, 255, .92); border-radius: 10px; cursor: pointer; transition: background .15s ease; }
.cms__opt:hover { background: rgba(255, 255, 255, .1); }
.cms__opt input { position: absolute; opacity: 0; pointer-events: none; }
.cms__box { position: relative; flex: none; width: 18px; height: 18px; border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 5px; transition: background .15s ease, border-color .15s ease; }
.cms__box::after { content: ""; position: absolute; left: 5px; top: 1.5px; width: 5px; height: 10px; border: solid #0b1f55; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .15s ease; }
.cms__opt input:checked + .cms__box { background: #fff; border-color: #fff; }
.cms__opt input:checked + .cms__box::after { transform: rotate(45deg) scale(1); }
.cms__opt input:focus-visible + .cms__box { outline: 2px solid #fff; outline-offset: 2px; }
.cform .cms__opt { font-size: 15px; color: rgba(255, 255, 255, .92); }
.cform .cms__opt span:last-child { color: inherit; }

/* Footer (na svim stranicama) */
.footer {
  position: relative;
  padding: clamp(56px, 7vw, 96px) var(--gutter) 28px;
  color: rgba(255, 255, 255, .78);
  background: #040d26;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr) minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 4vw, 64px);
  max-width: 1240px;
  margin: 0 auto;
}
.footer__logo { display: inline-block; }
.footer__logo img { display: block; width: 150px; height: auto; }
.footer__brand p { max-width: 300px; margin: 20px 0 22px; font-size: 14px; line-height: 1.65; color: rgba(255, 255, 255, .6); }
.footer__social { display: flex; gap: 10px; }
.footer__social-link {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.footer__social-link:hover, .footer__social-link:focus-visible { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .45); transform: translateY(-2px); }
.footer__title { margin: 0 0 20px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.footer__services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.footer__group { margin: 0 0 10px; font-family: var(--font-accent); font-style: italic; font-size: 18px; color: #fff; }
.footer__services .footer__group:not(:first-child) { margin-top: 22px; }
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li + li { margin-top: 10px; }
.footer a { transition: color .2s ease, opacity .2s ease; }
.footer ul a:hover, .footer ul a:focus-visible { color: #fff; }
.footer li { font-size: 14.5px; line-height: 1.5; }
.footer__contact li span { display: block; margin-bottom: 3px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.footer__contact li + li { margin-top: 18px; }
.footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1240px;
  margin: clamp(44px, 5vw, 72px) auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
}
.footer__bar p { margin: 0; }
.footer__top { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .75); }
.footer__top:hover { color: #fff; }
@media (max-width: 1000px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__col--services { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bar { flex-direction: column; align-items: flex-start; }
}
/* Telefon: čipovi usluga u jednom redu sa horizontalnim skrolom (pre i posle, česta pitanja) */
@media (max-width: 700px) {
  .results__chips, .faqhome__chips {
    flex-wrap: nowrap;
    justify-content: flex-start;
    max-width: none;
    margin-left: calc(var(--gutter) * -1);
    margin-right: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 14px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .results__chips::-webkit-scrollbar, .faqhome__chips::-webkit-scrollbar { display: none; }
  .results__chip { flex: none; white-space: nowrap; scroll-snap-align: center; }
}
/* Pre / posle slider: prevlačenje upravlja js/ba.js; vertikalni skrol stranice ostaje slobodan na dodir */
.ba { touch-action: pan-y; cursor: ew-resize; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; }
.ba__range { pointer-events: none; }
.ba.is-dragging .ba__handle { transform: translate(-50%, -50%) scale(1.08); }
.ba__handle { transition: transform .15s ease; }
@media (max-width: 600px) {
  .ba { min-height: 300px; }
  .ba__handle { width: 44px; height: 44px; }
  .ba__tag { top: 12px; padding: 6px 12px; }
  .ba__tag--before { left: 12px; }
  .ba__tag--after { right: 12px; }
}
/* Telefon / tablet: kategorija usluge u staklenom čipu da se čita preko slike */
@media (max-width: 960px) {
  .services__content > .eyebrow {
    padding: 8px 16px 8px 12px;
    color: var(--heading);
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 999px;
    box-shadow: 0 6px 20px rgba(28, 28, 28, .12);
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
  }
}
/* Bez udovica: lepše prelamanje pasusa (dopunjuje js/typo.js) */
p, li, dd, summary, blockquote, figcaption { text-wrap: pretty; }

.footer__dev { margin-left: 6px; padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .2); }
@media (max-width: 600px) { .footer__dev { display: block; margin: 4px 0 0; padding: 0; border: 0; } }

/* Mobilni meni: dok je otvoren, sajt iza se ne skroluje, a sam meni se skroluje ako je viši od ekrana */
@media (max-width: 960px) {
  html.menu-open, html.menu-open body { overflow: hidden; overscroll-behavior: none; }
  .nav__links.is-open {
    max-height: calc(100vh - var(--nav-h) - 16px);
    max-height: calc(100dvh - var(--nav-h) - 16px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }
}
/* Hero: dve kartice (iskustvo + recenzije) */
.hero__proof { display: flex; align-items: stretch; gap: 16px; flex: none; }
.proof-card__stars { display: flex; align-items: center; gap: 3px; height: 21px; color: #f6c453; }
.proof-card__stars svg { display: block; fill: currentColor; }
.proof-card__stars svg:last-child { fill: none; }
@media (max-width: 1000px) {
  .hero__proof { width: 100%; }
  .hero__proof .proof-card { flex: 1 1 0; min-width: 0; }
}
@media (max-width: 480px) {
  .hero__proof { gap: 12px; }
  .hero__proof .proof-card { padding: 16px 18px 18px; }
  .proof-card__num { font-size: 52px; }
  .proof-card__label { font-size: 13px; }
  .proof-card__stars { gap: 2px; }
  .proof-card__stars svg { width: 14px; height: 14px; }
}
/* Recenzije (pacijenti o nama): klizna traka kartica sa strelicama */
.reviews { padding: clamp(80px, 10vw, 150px) var(--gutter); background: #f3f2f0; overflow: hidden; }
.reviews__inner { max-width: 1240px; margin: 0 auto; }
.reviews__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.reviews__title-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.reviews__nav { display: flex; gap: 10px; flex: none; }
.reviews__arrow {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--heading);
  background: rgba(255, 255, 255, .75);
  border: 1px solid rgba(28, 28, 28, .12);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background .2s ease, color .2s ease, opacity .2s ease, transform .2s ease;
}
.reviews__arrow:hover:not(:disabled) { background: #242424; color: #fff; }
.reviews__arrow:active:not(:disabled) { transform: scale(.94); }
.reviews__arrow:disabled { opacity: .35; cursor: default; }

.reviews__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 6px 0 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.reviews__track::-webkit-scrollbar { display: none; }
.reviews__track:focus-visible { outline: 2px solid var(--heading); outline-offset: 6px; border-radius: 20px; }

.review {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(28, 28, 28, .06);
  border-radius: 22px;
  box-shadow: 0 12px 36px rgba(28, 28, 28, .06);
  scroll-snap-align: start;
}
.review__quote {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--heading);
  background: #f3f2f0;
  border-radius: 50%;
}
.review__text { flex: 1; margin: 0; font-size: 16px; line-height: 1.65; color: #4a4b50; }
.review__who { display: flex; align-items: center; gap: 14px; }
.review__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  font-family: var(--font-heading);
  font-size: 20px;
  color: #6b6560;
  background: #e9e5df;
  border-radius: 50%;
}
.review__meta { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.review__name { font-size: 15px; font-weight: 700; color: var(--heading); }
.review__stars { display: flex; gap: 2px; color: #f6c453; }
.review__stars svg { display: block; fill: currentColor; }

@media (max-width: 1000px) {
  .review { flex-basis: calc((100% - 20px) / 2); }
}
@media (max-width: 700px) {
  .reviews__head { align-items: flex-start; flex-direction: column; gap: 22px; }
  .reviews__track { margin: 0 calc(var(--gutter) * -1); padding: 6px var(--gutter) 18px; scroll-padding-inline: var(--gutter); }
  .review { flex-basis: 84%; padding: 24px; }
}
.reviews__track { padding: 10px 28px 44px; margin: 0 -28px -24px; scroll-padding-inline: 28px; }
@media (max-width: 700px) {
  .reviews__track { margin: 0 calc(var(--gutter) * -1) -24px; padding: 10px var(--gutter) 44px; scroll-padding-inline: var(--gutter); }
}
/* Recenzije: naslov centriran, strelice ispod kartica po sredini */
.reviews__head { justify-content: center; text-align: center; }
.reviews__title-wrap { align-items: center; }
.reviews__nav { justify-content: center; margin-top: 8px; }
@media (max-width: 700px) {
  .reviews__head { align-items: center; flex-direction: column; }
}
/* Izbor jezika (SR / EN) u navigaciji */
.lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.lang__opt {
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1;
  color: rgba(255, 255, 255, .78);
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.lang__opt:hover { color: #fff; }
.lang__opt.is-active { color: #1c1c1c; background: #fff; }
.nav__right { gap: 12px; }
.lang--menu { display: none; }
@media (max-width: 960px) {
  .nav__right > .lang { display: none; }
  .nav__links > .lang--menu { display: inline-flex; align-self: flex-start; width: auto; margin: 14px 0 12px; background: #f3f2f0; border: 1px solid rgba(28, 28, 28, .08); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav__links > .lang--menu + *, .nav__links > * + .lang--menu { border-top: 0; }
  .nav__links > .lang--menu .lang__opt { padding: 9px 16px; color: var(--heading); }
  .nav__links > .lang--menu .lang__opt.is-active { color: #fff; background: #242424; }
}
@media (max-width: 960px) { .nav__links > .lang--menu { order: -1; margin: 10px 0 6px; } }
.nav__right { /* razmak između jezika i Kontakta */ }

@media (max-width: 360px) {
  .review { flex-basis: 88%; padding: 20px; }
  .review__who { gap: 10px; }
  .review__avatar { width: 40px; height: 40px; font-size: 17px; }
  .review__name { font-size: 14px; }
}

/* ============ O NAMA ============ */
.ph-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #6b6560;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.page-hero--team { min-height: min(92vh, 820px); }
.ph-label--hero { position: absolute; top: 34%; left: 50%; transform: translateX(-50%); }

.about-intro .page-compare__text { align-self: center; }
.about-photo {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #dcd7d1 0%, #eeebe7 55%, #d8d3cd 100%);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(28, 28, 28, .12);
}
.about-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-photo__cta { position: absolute; left: 20px; bottom: 20px; box-shadow: 0 8px 20px rgba(28, 28, 28, .22); }

.about-perks { padding: clamp(72px, 9vw, 130px) var(--gutter); background: #fff; }
.about-perks__inner { max-width: 1240px; margin: 0 auto; }
.perk-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.perk-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 26px 30px;
  background: #fbfbfb;
  border: 1px solid rgba(28, 28, 28, .06);
  border-radius: 22px;
}
.perk-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 8px;
  color: var(--heading);
  background: #fff;
  border: 1px solid rgba(28, 28, 28, .08);
  border-radius: 50%;
}
.perk-card__title { margin: 0; font-family: var(--font-heading); font-weight: 300; font-size: clamp(22px, 1.9vw, 27px); line-height: 1.12; letter-spacing: -.02em; color: var(--heading); }
.perk-card p { margin: 0; font-size: 15px; line-height: 1.6; color: #5f6064; }
@media (max-width: 1000px) { .perk-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .perk-cards { grid-template-columns: 1fr; gap: 14px; } .perk-card { padding: 24px 22px 26px; } }

/* Tim: velika centrirana fotografija, susedni članovi se naziru sa strane, ispod ime / uloga / opis i strelice */
.team { padding: clamp(80px, 10vw, 150px) 0; background: #f3f2f0; overflow: hidden; }
.team__inner { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.team__stage { --w: min(440px, 76vw); margin-inline: calc(50% - 50vw); }
.team__track {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  padding: 10px calc(50% - var(--w) / 2) 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.team__track::-webkit-scrollbar { display: none; }
.team__track:focus-visible { outline: 2px solid var(--heading); outline-offset: -6px; border-radius: 24px; }
.member {
  position: relative;
  flex: 0 0 var(--w);
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(160deg, #dcd7d1 0%, #eeebe7 55%, #d8d3cd 100%);
  box-shadow: 0 24px 60px rgba(28, 28, 28, .14);
  scroll-snap-align: center;
  cursor: pointer;
  opacity: .5;
  transform: scale(.86);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .4s ease;
}
.member.is-active { opacity: 1; transform: none; cursor: default; }
.member > img { width: 100%; height: 100%; object-fit: cover; }
.member__photo { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(107, 101, 96, .45); }
.member__photo .ph-label { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); white-space: nowrap; }

.team__infos { display: grid; justify-items: center; max-width: 580px; min-height: 150px; margin: 18px auto 0; padding: 0 var(--gutter); text-align: center; }
.member__info {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .35s ease, transform .35s ease, visibility .35s;
}
.member__info.is-active { opacity: 1; visibility: visible; transform: none; }
.member__name { margin: 0; font-family: var(--font-heading); font-weight: 300; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -.02em; color: var(--heading); }
.member__role { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8a8580; }
.member__text { margin: 4px 0 0; font-size: 16px; line-height: 1.6; color: #5f6064; }
.team__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.team__count { min-width: 74px; text-align: center; font-family: var(--font-accent); font-size: 20px; color: #9c9490; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .member, .member__info { transition: none; } }
.perk-card { padding: 28px 24px 30px; }
.perk-card__title { font-size: clamp(21px, 1.75vw, 25px); }
@media (max-width: 1180px) { .perk-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .perk-cards { grid-template-columns: 1fr; } }

/* ---- O nama: galerija ordinacije (glavna fotografija, male kartice ispod, strelice ispod desnog ugla) ---- */
.about-intro .page-compare__inner { align-items: center; }
.about-intro__cta { margin-top: 28px; box-shadow: 0 8px 20px rgba(28, 28, 28, .22); }
.about-gallery { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.about-photo { display: block; min-height: 0; aspect-ratio: 5 / 4; }
.about-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  background: linear-gradient(135deg, #dcd7d1 0%, #eeebe7 55%, #d8d3cd 100%);
  opacity: 0;
  transition: opacity .45s ease;
}
.about-slide:nth-child(even) { background: linear-gradient(160deg, #d6d9dc 0%, #ecefef 55%, #d3d7da 100%); }
.about-slide.is-active { opacity: 1; }
.about-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-gallery__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.about-thumbs { display: flex; gap: 10px; min-width: 0; padding: 3px; margin: -3px; overflow-x: auto; scrollbar-width: none; }
.about-thumbs::-webkit-scrollbar { display: none; }
.about-thumb {
  flex: none;
  display: grid;
  place-items: center;
  width: 72px;
  height: 56px;
  padding: 0;
  overflow: hidden;
  color: rgba(107, 101, 96, .6);
  background: linear-gradient(135deg, #dcd7d1, #eeebe7);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  opacity: .65;
  box-shadow: 0 0 0 0 var(--heading);
  transition: opacity .2s ease, box-shadow .2s ease;
}
.about-thumb:nth-child(even) { background: linear-gradient(160deg, #d6d9dc, #ecefef); }
.about-thumb:hover { opacity: 1; }
.about-thumb.is-active { opacity: 1; box-shadow: 0 0 0 2px var(--heading); }
.about-thumb > img { width: 100%; height: 100%; object-fit: cover; }
.about-gallery__nav { display: flex; gap: 10px; flex: none; }
@media (max-width: 600px) {
  .about-gallery__bar { flex-wrap: wrap; }
  .about-thumbs { flex: 1 1 100%; }
  .about-gallery__nav { margin-left: auto; }
  .about-thumb { width: 64px; height: 50px; }
}

/* ---- Tim: glavna fotografija + strelice staju u ekran; susedni članovi manji i zamućeni, bez senke ---- */
.team { padding: 56px 0 clamp(56px, 7vw, 100px); }
.team .results__head { gap: 14px; margin-bottom: 18px; }
.team__stage {
  --w: max(220px, min(440px, 76vw, calc((100vh - 340px) * .8)));
  --w: max(220px, min(440px, 76vw, calc((100svh - 340px) * .8)));
  --m: calc(var(--w) * .07);
}
.team__track { align-items: center; padding: 4px calc(50% - var(--w) / 2 + var(--m)) 14px; }
.member {
  margin-inline: calc(var(--m) * -1);
  box-shadow: none;
  opacity: .6;
  transform: scale(.72);
  filter: blur(3px);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .4s ease, filter .4s ease;
}
.member.is-active { opacity: 1; transform: none; filter: none; }
.team__nav { margin-top: 10px; }
.team__infos { margin-top: 18px; }
@media (prefers-reduced-motion: reduce) { .member { transition: none; } }
/* ============ GALERIJA ============ */
.gallery { position: relative; padding: calc(var(--nav-h) + 48px) var(--gutter) 120px; background: #fbfbfb; }
.gallery__head { max-width: 1240px; margin: 0 auto clamp(28px, 4vw, 48px); }
.gallery__head .service__title { margin-bottom: 14px; }
.gallery__head .service__text { max-width: 480px; }
/* krupan grid: 3 kolone, uspravne (portrait) i široke (landscape) fotografije u ritmu po 4 */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: clamp(220px, 26vw, 340px);
  grid-auto-flow: dense;
  gap: 12px;
  max-width: 1240px;
  margin: 0 auto;
}
.g-item {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  color: inherit;
  background: linear-gradient(135deg, #dcd7d1 0%, #eeebe7 55%, #d8d3cd 100%);
  border: 0;
  border-radius: 18px;
  cursor: zoom-in;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.g-item:nth-child(3n) { background: linear-gradient(160deg, #d6d9dc 0%, #ecefef 55%, #d3d7da 100%); }
.g-item:nth-child(3n + 1) { background: linear-gradient(120deg, #e0d9d0 0%, #f0ece6 55%, #dbd2c8 100%); }
.g-item:hover { transform: scale(.985); }
.g-item:focus-visible { outline: 2px solid var(--heading); outline-offset: 3px; }
.g-item > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
@media (max-width: 900px) {
  .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(160px, 30vw, 260px); }
}
@media (max-width: 560px) {
  .gallery { padding-bottom: 112px; }
  .gallery__grid { gap: 8px; grid-auto-rows: 150px; }
  .g-item { border-radius: 14px; }
  .g-item .ph-label { max-width: calc(100% - 16px); padding: 6px 10px; font-size: 11px; white-space: normal; text-align: center; }
}
.gallery > .page-back { bottom: 40px; }

/* Uvećan prikaz */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: rgba(20, 20, 22, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lightbox[hidden] { display: none; }
.lightbox__stage { display: grid; place-items: center; min-width: 0; height: 100%; }
.lightbox__stage > img { max-width: 100%; max-height: calc(100vh - 100px); max-height: calc(100svh - 100px); border-radius: 16px; }
.lightbox__ph {
  display: grid;
  place-items: center;
  max-width: 100%;
  max-height: calc(100svh - 100px);
  height: min(100%, calc(100svh - 100px));
  background: linear-gradient(135deg, #dcd7d1 0%, #eeebe7 55%, #d8d3cd 100%);
  border-radius: 16px;
}
.lightbox__ph--wide { aspect-ratio: 16 / 9; }
.lightbox__ph--tall { aspect-ratio: 4 / 5; }
.lightbox__ph--sq { aspect-ratio: 4 / 3; }
.lightbox__close, .lightbox__arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s ease;
}
.lightbox__close:hover, .lightbox__arrow:hover { background: rgba(255, 255, 255, .24); }
.lightbox__close { position: absolute; top: 16px; right: 16px; z-index: 2; }
.lightbox__count { position: absolute; left: 0; right: 0; bottom: 18px; margin: 0; text-align: center; font-size: 13px; letter-spacing: .08em; color: rgba(255, 255, 255, .7); font-variant-numeric: tabular-nums; }
html.lb-open, html.lb-open body { overflow: hidden; }
@media (max-width: 700px) {
  .lightbox { grid-template-columns: minmax(0, 1fr); padding: 64px 12px 56px; }
  .lightbox__arrow { position: absolute; bottom: 8px; z-index: 2; }
  .lightbox__arrow--prev { left: calc(50% - 62px); }
  .lightbox__arrow--next { right: calc(50% - 62px); }
  .lightbox__count { display: none; }
}
.lightbox__ph { width: 100%; height: auto; max-height: none; }
.lightbox__ph--wide { aspect-ratio: 16 / 9; max-width: min(100%, calc((100vh - 100px) * 1.7778)); max-width: min(100%, calc((100svh - 100px) * 1.7778)); }
.lightbox__ph--tall { aspect-ratio: 4 / 5; max-width: min(100%, calc((100vh - 100px) * .8)); max-width: min(100%, calc((100svh - 100px) * .8)); }
.lightbox__ph--sq { aspect-ratio: 4 / 3; max-width: min(100%, calc((100vh - 100px) * 1.3333)); max-width: min(100%, calc((100svh - 100px) * 1.3333)); }
/* ============ TIM (v2): aktivni član najveći, ostali manji i zamućeni; fensi ali u stilu sajta ============ */
.team { background: radial-gradient(62% 54% at 50% 46%, #fcfbfa 0%, #f3f2f0 74%); }
.team__stage {
  --w: max(220px, min(440px, 76vw, calc((100vh - 360px) * .8)));
  --w: max(220px, min(440px, 76vw, calc((100svh - 360px) * .8)));
  --m: calc(var(--w) * .095);
  position: relative;
}
/* tanki koncentrični krugovi iza aktivne fotografije (isti jezik kao krugovi u hero-u) */
.team__stage::before, .team__stage::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(var(--w) * .625 + 16px);
  aspect-ratio: 1;
  border: 1px solid rgba(28, 28, 28, .07);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.team__stage::before { width: calc(var(--w) * 1.5); }
.team__stage::after { width: calc(var(--w) * 2.05); border-color: rgba(28, 28, 28, .045); }
.team__track {
  position: relative;
  z-index: 1;
  gap: 20px;
  padding: 16px calc(50% - var(--w) / 2 + var(--m)) 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 13%, #000 87%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 13%, #000 87%, transparent 100%);
}
.member {
  margin-inline: calc(var(--m) * -1);
  border-radius: 32px;
  opacity: .62;
  transform: scale(.62);
  filter: blur(3px);
  box-shadow: none;
  transition: transform .55s cubic-bezier(.2, .7, .2, 1), opacity .45s ease, filter .45s ease, outline-color .3s ease;
}
.member[data-d]:not([data-d="0"]):not([data-d="1"]) { opacity: .3; }
.member:not(.is-active):hover { opacity: .9; filter: blur(1.5px); }
.member.is-active { opacity: 1; transform: none; filter: none; outline: 6px solid rgba(255, 255, 255, .8); }
.member__photo { color: rgba(107, 101, 96, .4); }
.member__photo .ph-label { top: 66%; bottom: auto; transform: translate(-50%, -50%); }
.member__idx, .member__cap {
  position: absolute;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .8);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  opacity: 0;
  transition: opacity .4s ease .12s, transform .45s cubic-bezier(.2, .7, .2, 1) .12s;
}
.member__idx { top: 16px; left: 16px; padding: 6px 12px; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--heading); border-radius: 999px; font-variant-numeric: tabular-nums; }
.member__cap { left: 14px; right: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 4px; padding: 14px 18px 15px; border-radius: 22px; transform: translateY(10px); }
.member.is-active .member__idx { opacity: 1; }
.member.is-active .member__cap { opacity: 1; transform: none; }
.member__name { font-family: var(--font-heading); font-weight: 300; font-size: clamp(22px, 2vw, 28px); line-height: 1.1; letter-spacing: -.02em; color: var(--heading); }
.member__role { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #6b6560; }

.team__nav { gap: 20px; margin-top: 8px; }
.team__dots { display: flex; align-items: center; gap: 4px; }
.team__dot { position: relative; width: 22px; height: 28px; padding: 0; background: none; border: 0; cursor: pointer; transition: width .4s cubic-bezier(.2, .7, .2, 1); }
.team__dot::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; background: rgba(28, 28, 28, .18); transition: background .3s ease; }
.team__dot:hover::before { background: rgba(28, 28, 28, .4); }
.team__dot.is-active { width: 46px; }
.team__dot.is-active::before { background: var(--heading); }
.team__dot:focus-visible { outline: 2px solid var(--heading); outline-offset: 2px; border-radius: 6px; }

.team__infos { min-height: 72px; margin-top: 12px; }
.member__text { grid-area: 1 / 1; margin: 0; max-width: 520px; text-align: center; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease, visibility .35s; }
.member__text.is-active { opacity: 1; visibility: visible; transform: none; }
@media (prefers-reduced-motion: reduce) { .member, .member__idx, .member__cap, .member__text, .team__dot { transition: none; } }
@media (max-width: 560px) { .team__track { padding-inline: calc(50% - var(--w) / 2 + var(--m)); } .team__nav { gap: 14px; } }
/* Tim: veća aktivna fotografija (zauzima većinu visine ekrana, strelice ostaju u ekranu) */
.team { padding-top: 32px; }
.team .results__head { gap: 10px; margin-bottom: 10px; }
.team .results__title { font-size: clamp(30px, 3.4vw, 46px); }
.team__stage {
  --w: max(240px, min(640px, 84vw, calc((100vh - 316px) * .8)));
  --w: max(240px, min(640px, 84vw, calc((100svh - 316px) * .8)));
}
.team__track { padding-top: 14px; padding-bottom: 22px; }
/* Tim, široki ekrani: naslov ide u gornji levi ugao (ne zauzima visinu), pa fotografija dobija skoro ceo ekran */
@media (min-width: 1100px) {
  .team { position: relative; padding-top: 24px; }
  .team { --w: max(240px, min(660px, 84vw, calc((100vh - 214px) * .8))); --w: max(240px, min(660px, 84vw, calc((100svh - 214px) * .8))); }
  .team .results__head { position: absolute; top: 24px; left: var(--gutter); width: calc(50% - var(--w) / 2 - var(--gutter) * 2); z-index: 3; align-items: flex-start; margin: 0; text-align: left; pointer-events: none; }
  .team .results__title { font-size: clamp(34px, 3.6vw, 52px); }
  .team__stage {
    --w: max(240px, min(660px, 84vw, calc((100vh - 214px) * .8)));
    --w: max(240px, min(660px, 84vw, calc((100svh - 214px) * .8)));
  }
}
/* O nama: fotografija tima u hero-u; pri dnu prelazi u pozadinu sekcije da tekst bude čitljiv, a lica ostaju čista */
.page-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.page-hero--team { min-height: min(92vh, 860px); }
.page-hero--team::after {
  height: 64%;
  background: linear-gradient(to bottom, rgba(251, 251, 251, 0) 0%, rgba(251, 251, 251, .62) 48%, #fbfbfb 100%);
}
@media (max-width: 700px) {
  .page-hero--team { min-height: min(86vh, 640px); }
  .page-hero__img { object-position: 46% 20%; }
}
.page-hero--team { background: #e9e7e5; }

@media (min-width: 701px) { .page-hero--team { min-height: clamp(560px, 50.5vw, 92vh); } .page-hero--team .page-hero__img { object-position: 50% 14%; } }

.page-hero--team::before { content: ""; position: absolute; left: 0; bottom: 0; z-index: -1; width: 62%; height: 70%; pointer-events: none; background: radial-gradient(ellipse 80% 75% at 18% 82%, rgba(251, 251, 251, .9) 0%, rgba(251, 251, 251, .55) 45%, rgba(251, 251, 251, 0) 100%); }
@media (max-width: 700px) { .page-hero--team::before { width: 100%; } }

/* O nama hero: lakši veo (lica ostaju oštra), tekst niže, blagi prelaz tek pri dnu */
.page-hero--team { padding-bottom: clamp(36px, 5.5vh, 60px); }
.page-hero--team::after {
  height: 36%;
  background: linear-gradient(to bottom, rgba(251, 251, 251, 0) 0%, rgba(251, 251, 251, .4) 45%, rgba(251, 251, 251, .92) 82%, #fbfbfb 100%);
}
.page-hero--team::before {
  width: 52%;
  height: 46%;
  background: radial-gradient(ellipse 85% 80% at 14% 88%, rgba(251, 251, 251, .72) 0%, rgba(251, 251, 251, .38) 50%, rgba(251, 251, 251, 0) 100%);
}
@media (max-width: 700px) { .page-hero--team::before { width: 100%; height: 50%; } .page-hero--team { padding-bottom: 44px; } }
.page-hero--team .breadcrumb { width: fit-content; padding: 6px 14px; background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .8); border-radius: 999px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.page-hero--team .service__title, .page-hero--team .service__text { text-shadow: 0 0 18px rgba(251, 251, 251, .9), 0 0 4px rgba(251, 251, 251, .7); }
.page-hero--team .service__text { color: #3f4044; }
/* Fotografija tima je spojena od pojedinačnih portreta (2640 × 1090): hero prati njenu proporciju da se vide svi članovi */
@media (min-width: 701px) {
  .page-hero--team { min-height: clamp(540px, 44vw, 92vh); }
  .page-hero--team .page-hero__img { object-position: 50% 24%; }
}
@media (max-width: 700px) { .page-hero--team::before { display: none; } .page-hero--team { min-height: min(82vh, 620px); } .page-hero--team .page-hero__img { object-position: 47% 20%; } .page-hero--team::after { height: 52%; } }

/* Fotografija tima: pojedinačni isečeni portreti na pozadini klinike (2400 × 1100) */
@media (min-width: 701px) {
  .page-hero--team { min-height: clamp(540px, 45.8vw, 92vh); }
  .page-hero--team .page-hero__img { object-position: 50% 12%; }
}
/* O nama hero: prelaz i tekst još niže, da se vidi veći deo fotografije */
.page-hero--team { padding-bottom: clamp(22px, 3.4vh, 36px); }
.page-hero--team::after {
  height: 24%;
  background: linear-gradient(to bottom, rgba(251, 251, 251, 0) 0%, rgba(251, 251, 251, .35) 50%, rgba(251, 251, 251, .92) 86%, #fbfbfb 100%);
}
.page-hero--team::before { height: 36%; background: radial-gradient(ellipse 85% 80% at 14% 92%, rgba(251, 251, 251, .66) 0%, rgba(251, 251, 251, .32) 50%, rgba(251, 251, 251, 0) 100%); }
@media (max-width: 700px) { .page-hero--team { padding-bottom: 30px; } .page-hero--team::after { height: 40%; } }
/* Tim: prave fotografije članova (4:5), 11 članova */
.member > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
@media (max-width: 560px) {
  .team__dots { gap: 2px; }
  .team__dot { width: 13px; }
  .team__dot.is-active { width: 28px; }
}
/* Galerija: prave fotografije; široke na desktopu, desna uspravna, poslednja široka samo kad ima mesta */
.g-item > img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.g-item:hover > img { transform: scale(1.04); }
@media (min-width: 901px) {
  .g-right { grid-column: 3; }
  .g-wide-lg { grid-column: span 2; }
}
/* O nama: fotografije u pregledu ordinacije */
.about-thumb > img { width: 100%; height: 100%; object-fit: cover; }
/* O nama: cela galerija ordinacije u malom pregledu (15 fotografija), uspravne na zamućenoj pozadini */
.about-slide--tall { overflow: hidden; }
.about-slide--tall::before { content: ""; position: absolute; inset: -24px; background: var(--bg) center / cover; filter: blur(22px) saturate(1.1); opacity: .9; }
.about-slide--tall > img { object-fit: contain; }
.about-thumbs { scroll-behavior: smooth; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10px, #000 calc(100% - 22px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 10px, #000 calc(100% - 22px), transparent 100%); padding-right: 22px; }
/* Blagi prelaz pri skoku na sekciju / dolasku na sidro sa druge stranice (js/jump.js) */
.jump-veil { position: fixed; inset: 0; z-index: 99; background: #fbfbfb; opacity: 0; pointer-events: none; }
html.is-arriving::after { content: ""; position: fixed; inset: 0; z-index: 99; background: var(--veil, #fbfbfb); opacity: 1; pointer-events: none; transition: opacity .7s ease; }
html.is-arriving.arrive-go::after { opacity: 0; }
html[data-arrive="#kontakt"] { --veil: #061538; }
@media (prefers-reduced-motion: reduce) { html.is-arriving::after { display: none; } }
/* Tim: kraća imena (npr. "Dr Aleksandar Radičević") uvek staju u jedan red; duga imena se prelamaju */
@media (max-width: 560px) {
  .member__cap { left: 10px; right: 10px; bottom: 10px; padding: 12px 14px 13px; }
  .member__name { font-size: 20px; }
}