/* ==========================================================================
   Dr Lana Škrgić — stomatologija i estetska medicina
   Mobile-first stilovi. Bez frameworka.
   ========================================================================== */

:root {
  --mint-50: #eef8f6;
  --mint-100: #dcf1ed;
  --mint-200: #bfe6df;
  --mint: #9fd8cf;
  --teal: #3aa79b;
  --teal-700: #1f6f68;
  --teal-800: #175954;
  --teal-900: #113c39;

  --cream: #fbf7f0;
  --cream-2: #f4ecdf;
  --paper: #fffdf9;
  --sand: #e6d9c4;

  --ink: #161616;
  --ink-2: #3b3936;
  --muted: #5d5852;

  --gold: #c4a05a;
  --gold-light: #dcc28a;
  --gold-deep: #85662a;   /* zlatna za tekst na krem podlozi (kontrast ≥ 4.5:1) */

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 12px 34px rgba(17, 60, 57, .08);
  --shadow-lg: 0 24px 60px rgba(17, 60, 57, .14);

  --font-script: 'Great Vibes', 'Brush Script MT', cursive;
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --header-h: 72px;
  --container: 1180px;
}

/* ---------- Reset / osnova ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--cream);
  padding-bottom: 76px; /* prostor za mobilnu CTA traku */
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal-700); text-underline-offset: 3px; }
a:hover { color: var(--teal-900); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.2em; }
strong { color: var(--ink); font-weight: 600; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(2.5rem, 7vw, 4.4rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 500; }
h3 { font-size: clamp(1.4rem, 2.6vw, 1.7rem); }
h1 em, h2 em { font-style: italic; color: var(--teal-700); font-weight: 500; }

:focus-visible { outline: 2px solid var(--teal-700); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 820px; }

/* ---------- Tipografski detalji ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75em;
  font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-deep); margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--gold); }
.section-dark .eyebrow, .cta-band .eyebrow { color: var(--gold-light); }
.section-dark .eyebrow::before, .cta-band .eyebrow::before { background: var(--gold-light); }

.lead { font-size: 1.08rem; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }

.section-head { max-width: 720px; margin: 0 0 2.6rem; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; max-width: 860px; }
.section-head.center .eyebrow::after { content: ""; width: 32px; height: 1px; background: var(--gold); }

.gold-rule { width: 64px; height: 1px; background: var(--gold); border: 0; margin: 1.6rem 0; }

/* ---------- Dugmad ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.55em; border-radius: 999px;
  font-family: var(--font-sans); font-weight: 600; font-size: .9rem; letter-spacing: .02em;
  line-height: 1.2; text-decoration: none; text-align: center;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal-700); color: #fff; box-shadow: 0 8px 20px rgba(31,111,104,.22); }
.btn-primary:hover { background: var(--teal-900); color: #fff; }
.btn-outline { border-color: var(--teal-700); color: var(--teal-700); background: transparent; }
.btn-outline:hover { background: var(--teal-700); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-gold { background: linear-gradient(135deg, #e3cb95, #c4a05a 55%, #b08b45); color: #161616; }
.btn-gold:hover { color: #000; box-shadow: 0 10px 26px rgba(196,160,90,.35); }
.btn-light-outline { border-color: rgba(251,247,240,.55); color: var(--cream); }
.btn-light-outline:hover { background: var(--cream); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.text-link {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 600; font-size: .9rem; text-decoration: none; color: var(--teal-700);
}
.text-link::after { content: "→"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }

/* ---------- Zaglavlje ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 247, 240, .94);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid rgba(230, 217, 196, .8);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: var(--header-h);
}
.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; padding: .35rem 0; }
.brand-script {
  font-family: var(--font-script); font-size: 2.35rem; font-weight: 400; line-height: 1.4;
  color: var(--gold-deep);
  background: linear-gradient(120deg, #8a6a2c 0%, #b8924a 45%, #8a6a2c 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  padding: .08em .15em .02em; margin: -.25em 0 -.2em; overflow: visible;
}
.brand-sub {
  font-size: .56rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; white-space: nowrap;
  color: var(--ink-2); margin-top: .15rem; padding-left: .2em;
}

.nav-toggle {
  display: inline-flex; align-items: center; gap: .55rem;
  background: transparent; border: 1px solid var(--sand); border-radius: 999px;
  padding: .55rem .95rem; font: 600 .78rem/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: transform .2s ease, background .2s ease;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
html:not(.js) .nav-toggle { display: none; }

.site-nav { width: 100%; }
html.js .site-nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--cream); border-bottom: 1px solid var(--sand);
  box-shadow: var(--shadow);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  padding: .5rem 20px 1.5rem;
}
html.js .site-nav.is-open { display: block; }
html:not(.js) .header-inner { flex-wrap: wrap; }

.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list > li { border-bottom: 1px solid rgba(230,217,196,.7); }
.nav-list a {
  display: block; padding: .85rem 0; text-decoration: none; color: var(--ink);
  font-size: .95rem; font-weight: 500;
}
.nav-list a[aria-current="page"] { color: var(--teal-700); }
.sub { list-style: none; margin: 0 0 .6rem; padding: 0 0 0 1rem; border-left: 1px solid var(--gold); }
.sub a { padding: .45rem 0; font-size: .9rem; color: var(--ink-2); }
.nav-cta { margin-top: 1.2rem; width: 100%; }

/* ---------- Hero (početna) ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 92% 8%, rgba(159,216,207,.45), transparent 60%),
    radial-gradient(700px 420px at -10% 100%, rgba(220,194,138,.18), transparent 60%),
    var(--cream);
  padding: 48px 0 64px;
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero .lead { margin-bottom: 1.8rem; }
.hero-points {
  list-style: none; padding: 0; margin: 2rem 0 0;
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem;
  font-size: .85rem; font-weight: 500; color: var(--ink-2);
}
.hero-points li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-points li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }

.portrait {
  position: relative; margin: 0 auto; width: min(100%, 420px);
}
.portrait-frame {
  position: relative; aspect-ratio: 4 / 5;
  border-radius: 999px 999px 26px 26px; overflow: hidden;
  background: radial-gradient(120% 80% at 50% 20%, #1c2725 0%, #0d0d0c 60%);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(220,194,138,.35);
}
.portrait-frame picture { display: block; width: 100%; height: 100%; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
/* tamna pozadina fotografije prelazi u tirkiznu na dnu okvira */
.portrait-frame::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 28%; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(17,60,57,.55));
}
.portrait::before {
  content: ""; position: absolute; inset: -12px -12px 12px 12px;
  border: 1px solid var(--gold); border-radius: 999px 999px 30px 30px; z-index: -1;
}
.portrait { z-index: 0; }
.portrait-badge {
  position: absolute; left: -6px; bottom: -18px;
  background: var(--paper); border: 1px solid var(--sand); border-radius: 14px;
  padding: .8rem 1rem; box-shadow: var(--shadow); max-width: 230px;
}
.portrait-badge .script { font-family: var(--font-script); font-size: 1.7rem; line-height: 1; color: var(--gold-deep); display: block; }
.portrait-badge span:last-child { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--ink-2); }

/* ---------- Sekcije ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--cream-2); }
.section-mint { background: var(--mint-50); }
.section-dark { background: var(--teal-900); color: rgba(251,247,240,.86); }
.section-dark h2, .section-dark h3 { color: var(--cream); }

/* O doktorki */
.about-grid { display: grid; gap: 2.5rem; align-items: center; }
.about-photo {
  aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; position: relative;
  background: #0d0d0c;
  border: 1px solid var(--gold-light); box-shadow: var(--shadow-lg);
}
.about-photo picture { display: block; width: 100%; height: 100%; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.6rem 0 0; }
.chips li {
  font-size: .8rem; font-weight: 600; letter-spacing: .02em;
  padding: .5em 1em; border-radius: 999px; background: var(--paper); border: 1px solid var(--sand); color: var(--ink);
}
.quote {
  font-family: var(--font-serif); font-style: italic; font-size: 1.55rem; line-height: 1.35; color: var(--teal-800);
  border-left: 2px solid var(--gold); padding-left: 1.2rem; margin: 1.6rem 0;
}

/* Kartice tretmana */
.cards { display: grid; gap: 1.25rem; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--sand); border-radius: var(--radius);
  padding: 1.8rem 1.6rem 1.6rem; text-decoration: none; color: inherit;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold-light); color: inherit; }
.card h3 { margin-bottom: .4rem; }
.card p { font-size: .94rem; color: var(--muted); flex: 1; }
.card .text-link { margin-top: .4rem; }
.icon-badge {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--mint-100); color: var(--teal-700); margin-bottom: 1.2rem;
  box-shadow: inset 0 0 0 1px rgba(31,111,104,.12);
}
.icon-badge svg { width: 26px; height: 26px; }

/* Zašto dr Lana */
.why-grid { display: grid; gap: 1.25rem; }
.why-item {
  background: var(--paper); border-radius: var(--radius); padding: 1.7rem 1.5rem;
  border: 1px solid rgba(31,111,104,.12);
}
.why-item .icon-badge { background: transparent; border: 1px solid var(--gold); color: var(--gold-deep); box-shadow: none; }
.why-item h3 { font-size: 1.45rem; }
.why-item p { font-size: .93rem; margin: 0; color: var(--muted); }

/* Proces */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; counter-reset: step; }
.steps > li {
  counter-increment: step; position: relative;
  padding: 1.6rem 1.4rem 1.4rem; border-radius: var(--radius);
  background: rgba(255,255,255,.04); border: 1px solid rgba(220,194,138,.35);
}
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--font-serif); font-size: 2.4rem; line-height: 1; color: var(--gold-light); margin-bottom: .7rem;
}
.steps h3 { font-size: 1.45rem; margin-bottom: .35rem; }
.steps p { margin: 0; font-size: .93rem; }

/* Galerija */
.ba-grid { display: grid; gap: 1.25rem; }
.ba-item { margin: 0; }
.ba-frame {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  border-radius: var(--radius); overflow: hidden; padding: 6px;
  background: var(--paper); border: 1px solid var(--sand);
}
.ba-slot {
  position: relative; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center; padding: .7rem;
  background:
    repeating-linear-gradient(135deg, rgba(196,160,90,.10) 0 2px, transparent 2px 14px),
    linear-gradient(170deg, var(--cream-2), var(--mint-100));
}
.ba-slot.after {
  background:
    repeating-linear-gradient(45deg, rgba(31,111,104,.08) 0 2px, transparent 2px 14px),
    linear-gradient(170deg, var(--mint-50), var(--mint-200));
}
.ba-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-tag {
  position: relative; font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  background: rgba(255,253,249,.92); color: var(--ink); padding: .35em .8em; border-radius: 999px;
}
.ba-frame-label {
  grid-column: 1 / -1; text-align: center; font-size: .8rem; color: var(--muted); padding: .55rem .5rem .35rem;
}
.ba-item figcaption { margin-top: .75rem; font-family: var(--font-serif); font-size: 1.3rem; color: var(--ink); text-align: center; }
.ba-item figcaption small { display: block; margin-top: .2rem; font-family: var(--font-sans); font-size: .76rem; color: var(--muted); line-height: 1.45; }
.ba-photo {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden;
  padding: 6px; background: var(--paper); border: 1px solid var(--sand);
}
.ba-photo picture { display: block; width: 100%; height: 100%; }
.ba-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.ba-photo .ba-tag { position: absolute; left: 16px; }
.ba-photo .ba-tag-top { top: 16px; }
.ba-photo .ba-tag-mid { top: calc(50% + 10px); }
.consent-note {
  display: flex; gap: .9rem; align-items: flex-start;
  background: var(--paper); border: 1px solid var(--sand); border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm); padding: 1rem 1.2rem; font-size: .9rem; margin-top: 2rem;
}
.consent-note svg { width: 22px; height: 22px; flex: none; color: var(--gold-deep); margin-top: .15rem; }
.consent-note p { margin: 0; }

/* CTA traka */
.cta-band {
  position: relative; overflow: hidden; color: rgba(251,247,240,.88);
  background:
    radial-gradient(600px 300px at 85% 0%, rgba(159,216,207,.22), transparent 70%),
    linear-gradient(135deg, var(--teal-900), #0d1f1e 70%, #111);
  padding: 72px 0;
}
.cta-band h2 { color: var(--cream); }
.cta-band .script-accent { font-family: var(--font-script); color: var(--gold-light); font-size: 2.6rem; line-height: 1; display: block; margin-bottom: .3rem; }
.cta-inner { display: grid; gap: 2rem; align-items: center; }
.cta-band p { max-width: 56ch; }
.cta-band .small { color: rgba(251,247,240,.7); }

/* Kontakt */
.contact-grid { display: grid; gap: 1.5rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .9rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list li > div { flex: 1; min-width: 0; }
.contact-list .ci {
  width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--mint-100); color: var(--teal-700);
}
.contact-list .ci svg { width: 20px; height: 20px; }
.contact-list .label { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.contact-list a, .contact-list .value { font-weight: 600; color: var(--ink); text-decoration: none; font-size: 1.02rem; }
.contact-list a:hover { color: var(--teal-700); text-decoration: underline; }

.panel {
  background: var(--paper); border: 1px solid var(--sand); border-radius: var(--radius); padding: 1.8rem 1.5rem;
}
.panel h2, .panel h3 { margin-top: 0; }

.contact-cards { display: grid; gap: 1rem; }
.contact-card {
  display: flex; flex-direction: column; gap: .3rem;
  background: var(--paper); border: 1px solid var(--sand); border-radius: var(--radius);
  padding: 1.6rem 1.4rem; text-decoration: none; color: var(--ink-2);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold-light); color: var(--ink-2); }
.contact-card .icon-badge { margin-bottom: .8rem; }
.contact-card strong { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; }
.contact-card .value { font-weight: 600; color: var(--teal-700); }

.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th, .hours td { text-align: left; padding: .6rem 0; border-bottom: 1px solid var(--sand); }
.hours th { font-weight: 500; color: var(--ink); white-space: nowrap; padding-right: 1rem; }
.hours td { text-align: right; color: var(--muted); }

.map-placeholder {
  position: relative; min-height: 300px; border-radius: var(--radius); overflow: hidden;
  display: grid; place-items: center; text-align: center; padding: 2rem;
  background:
    linear-gradient(rgba(31,111,104,.07) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(90deg, rgba(31,111,104,.07) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(160deg, var(--mint-50), var(--mint-100));
  border: 1px dashed rgba(31,111,104,.35);
}
.map-placeholder svg { width: 40px; height: 40px; color: var(--teal-700); margin: 0 auto .6rem; }
.map-placeholder p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.map-placeholder strong { display: block; font-family: var(--font-serif); font-size: 1.4rem; margin-bottom: .2rem; }
.map-embed iframe { width: 100%; min-height: 320px; border: 0; border-radius: var(--radius); }

/* ---------- Stranice tretmana ---------- */
.page-hero {
  background:
    radial-gradient(700px 380px at 100% 0%, rgba(159,216,207,.5), transparent 65%),
    var(--mint-50);
  padding: 28px 0 48px; border-bottom: 1px solid rgba(31,111,104,.1);
}
.breadcrumbs ol { list-style: none; padding: 0; margin: 0 0 1.6rem; display: flex; flex-wrap: wrap; gap: .3rem; font-size: .8rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--gold); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--teal-700); text-decoration: underline; }
.page-hero h1 { font-size: clamp(2.3rem, 6vw, 3.8rem); max-width: 22ch; }
.page-hero .btn-row { margin-top: 1.6rem; }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.facts li {
  background: rgba(255,253,249,.85); border: 1px solid rgba(31,111,104,.14); border-radius: 14px;
  padding: .9rem 1rem;
}
.facts .k { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); margin-bottom: .25rem; }
.facts .v { display: block; font-size: .9rem; line-height: 1.45; color: var(--ink); font-weight: 500; }

.content-layout { display: grid; gap: 2.5rem; padding-top: 56px; padding-bottom: 72px; }
.toc { display: none; }
.toc-title { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); margin-bottom: .8rem; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--sand); }
.toc a { display: block; padding: .38rem 0 .38rem 1rem; font-size: .86rem; text-decoration: none; color: var(--ink-2); border-left: 2px solid transparent; margin-left: -1px; }
.toc a:hover { color: var(--teal-700); border-left-color: var(--gold); }

.article > section { padding-bottom: 2.4rem; margin-bottom: 2.4rem; border-bottom: 1px solid var(--sand); }
.article > section:last-of-type { border-bottom: 0; }
.article h2 { font-size: clamp(1.9rem, 4vw, 2.5rem); }
.article ul:not(.plain) { list-style: none; padding: 0; }
.article ul:not(.plain) > li { position: relative; padding-left: 1.6rem; margin-bottom: .55rem; }
.article ul:not(.plain) > li::before {
  content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border-radius: 50%;
  border: 1.5px solid var(--gold); background: var(--cream);
}
.proc-steps { list-style: none; padding: 0; margin: 0 0 1.4rem; counter-reset: ps; display: grid; gap: .9rem; }
.proc-steps li { counter-increment: ps; position: relative; padding: 1rem 1.1rem 1rem 3.6rem; background: var(--paper); border: 1px solid var(--sand); border-radius: 14px; }
.proc-steps li::before {
  content: counter(ps); position: absolute; left: 1rem; top: 1rem;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font: 600 1.05rem/1 var(--font-serif); color: var(--teal-700); background: var(--mint-100);
}
.proc-steps strong { display: block; }

.two-col { display: grid; gap: 1rem; }
.tip-card { background: var(--paper); border: 1px solid var(--sand); border-radius: var(--radius); padding: 1.5rem 1.4rem .6rem; }
.tip-card h3 { font-size: 1.45rem; display: flex; align-items: center; gap: .6rem; }
.tip-card h3 span { font-family: var(--font-sans); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: #fff; background: var(--teal-700); padding: .35em .75em; border-radius: 999px; }
.tip-card.after h3 span { background: var(--gold-deep); }
.tip-card li { font-size: .94rem; }

.note {
  display: flex; gap: .9rem; align-items: flex-start;
  background: var(--mint-50); border-left: 3px solid var(--teal); border-radius: var(--radius-sm);
  padding: 1rem 1.2rem; font-size: .9rem; color: var(--ink-2); margin: 1.4rem 0 0;
}
.note svg { width: 22px; height: 22px; flex: none; color: var(--teal-700); margin-top: .15rem; }
.note p { margin: 0; }
.note.warn { background: #fbf3e4; border-left-color: var(--gold); }
.note.warn svg { color: var(--gold-deep); }

/* FAQ */
.faq { display: grid; gap: .7rem; }
.faq details {
  background: var(--paper); border: 1px solid var(--sand); border-radius: 14px; padding: 0 1.2rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] { border-color: var(--gold-light); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.05rem 0; font-weight: 600; color: var(--ink); font-size: .98rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--gold); color: var(--gold-deep); font: 400 1.2rem/1 var(--font-sans); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 1.1rem; color: var(--ink-2); font-size: .95rem; }
.faq details > div p:last-child { margin-bottom: 0; }

.related { display: grid; gap: .8rem; grid-template-columns: 1fr; }
.related a {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem 1.2rem; border: 1px solid var(--sand); border-radius: 14px; background: var(--paper);
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem;
}
.related a::after { content: "→"; color: var(--gold-deep); }
.related a:hover { border-color: var(--gold-light); color: var(--teal-700); }

/* ---------- Podnožje ---------- */
.site-footer { background: #121212; color: #cfc8bc; padding: 64px 0 28px; font-size: .92rem; }
.site-footer a { color: #e9e2d6; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); text-decoration: underline; }
.footer-grid { display: grid; gap: 2.2rem; }
.footer-brand .brand-script {
  font-size: 2.8rem;
  background: linear-gradient(120deg, #d6b978, #f0dcae 50%, #c4a05a);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.footer-logo { width: 96px; height: 96px; border-radius: 18px; box-shadow: 0 0 0 1px rgba(220,194,138,.55), 0 10px 26px rgba(0,0,0,.45); }
.footer-brand p { margin-top: .8rem; max-width: 34ch; color: #bfb8ab; }
.site-footer h2 { font-family: var(--font-sans); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.nap { font-style: normal; line-height: 1.8; }
.nap strong { color: #fff; font-weight: 600; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1);
  display: grid; gap: .8rem; font-size: .8rem; color: #9d968a;
}
.footer-bottom p { margin: 0; }

/* ---------- Mobilna CTA traka ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr; gap: .6rem;
  padding: .65rem 14px calc(.65rem + env(safe-area-inset-bottom));
  background: rgba(255,253,249,.97); border-top: 1px solid var(--sand);
  box-shadow: 0 -8px 24px rgba(0,0,0,.08);
}
.mobile-cta a {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; border-radius: 999px; font-weight: 600; font-size: .92rem; text-decoration: none;
}
.mobile-cta svg { width: 19px; height: 19px; }
.mobile-cta .call { border: 1.5px solid var(--ink); color: var(--ink); }
.mobile-cta .wa { background: var(--teal-700); color: #fff; }


/* ---------- Dodatne komponente ---------- */
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; margin-top: .4rem; }
.card-foot .text-link { margin: 0; }
.price-tag {
  font-size: .74rem; font-weight: 600; letter-spacing: .04em; color: var(--gold-deep);
  border: 1px solid rgba(196,160,90,.55); border-radius: 999px; padding: .3em .8em; background: #fffaf0; white-space: nowrap;
}
.price-line {
  margin: 1.2rem 0 0; font-size: .9rem; color: var(--ink-2);
  padding: .8rem 1rem; border-radius: 12px; background: rgba(255,253,249,.7); border: 1px dashed rgba(196,160,90,.6);
}

.bio { margin: 1.8rem 0 0; padding: 1.4rem 1.4rem .6rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--sand); }
.bio h3 { font-size: 1.35rem; margin-bottom: .8rem; }
.bio dl { margin: 0; }
.bio dl > div { display: grid; gap: .1rem; padding: .6rem 0; border-top: 1px solid var(--sand); }
.bio dt { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); }
.bio dd { margin: 0; font-size: .94rem; color: var(--ink); }

.smile-panel {
  margin-top: 1.5rem; display: grid; gap: 1.2rem; align-items: center;
  background: var(--paper); border: 1px solid rgba(196,160,90,.45); border-radius: var(--radius); padding: 1.6rem 1.5rem;
}
.smile-panel h3 { margin-bottom: .3rem; }
.smile-panel p { margin: 0; color: var(--muted); font-size: .95rem; max-width: 70ch; }

.reviews { display: grid; gap: 2rem; align-items: center; }
.rating-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem;
  background: var(--paper); border: 1px solid var(--sand); border-radius: var(--radius); padding: 2rem 1.5rem;
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s ease, border-color .2s ease;
}
.rating-card:hover { transform: translateY(-3px); border-color: var(--gold-light); color: var(--ink); }
.rating-source { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.rating-score { font-family: var(--font-serif); font-size: 4.2rem; line-height: 1; font-weight: 600; color: var(--ink); }
.stars { display: inline-flex; gap: 3px; color: #c4962e; }
.stars svg { width: 22px; height: 22px; }
.rating-count { font-weight: 600; font-size: .95rem; margin-bottom: .4rem; }

.center-link { text-align: center; margin: 2.2rem 0 0; }

.aftercare { display: grid; gap: 2rem; align-items: start; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: .6rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--mint-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f6f68' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.aftercare .related { grid-template-columns: 1fr; }

.map-embed { display: flex; flex-direction: column; }
.map-embed iframe { flex: 1; min-height: 340px; box-shadow: var(--shadow); background: var(--mint-50); }
.map-link { margin: .7rem 0 0; }

.other-treatments { margin-top: 2.4rem; }
.h3 { font-size: clamp(1.4rem, 2.6vw, 1.7rem); }
.steps-3 { max-width: 900px; margin: 0 auto; }
.contact-page-grid { margin-top: 2rem; }
.panel h3 { margin-top: 1.4rem; font-size: 1.4rem; }

@media (min-width: 640px) {
  .bio dl > div { grid-template-columns: 170px 1fr; gap: 1rem; align-items: baseline; }
  .steps-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .portrait-badge { bottom: 28px; }
  .smile-panel { grid-template-columns: 1fr auto; padding: 2rem 2.2rem; }
  .reviews { grid-template-columns: 1.3fr .7fr; gap: 4rem; }
  .aftercare { grid-template-columns: 1.2fr .8fr; gap: 4rem; }
  .contact-page-grid { margin-top: 3rem; }
}

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (min-width: 640px) {
  .container { padding: 0 32px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .ba-grid { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .two-col { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: repeat(3, 1fr); }
  .related { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  html.js .site-nav { padding-left: 32px; padding-right: 32px; }
}

/* ==========================================================================
   Desktop
   ========================================================================== */
@media (min-width: 1024px) {
  :root { --header-h: 84px; }
  body { padding-bottom: 0; }
  .mobile-cta { display: none; }

  .nav-toggle { display: none; }
  html.js .site-nav, .site-nav {
    display: flex !important; align-items: center; gap: 1.6rem; justify-content: flex-end;
    position: static; width: auto; background: none; border: 0; box-shadow: none; padding: 0; max-height: none; overflow: visible;
  }
  .nav-list { display: flex; align-items: center; gap: 1.6rem; }
  .nav-list > li { border: 0; position: relative; }
  .nav-list > li > a { padding: .6rem 0; font-size: .86rem; letter-spacing: .03em; position: relative; }
  .nav-list > li > a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: .25rem; height: 1px; background: var(--gold);
    transform: scaleX(0); transition: transform .25s ease; transform-origin: left;
  }
  .nav-list > li > a:hover::after, .nav-list > li > a[aria-current="page"]::after { transform: scaleX(1); }
  .has-sub > a { padding-right: 1rem !important; }
  .has-sub > a::before {
    content: ""; position: absolute; right: 0; top: 50%; width: 6px; height: 6px; margin-top: -5px;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
  }
  .sub {
    position: absolute; top: 100%; left: -1.2rem; min-width: 270px; margin: 0; padding: .7rem;
    background: var(--paper); border: 1px solid var(--sand); border-radius: 14px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translateY(0); }
  .sub a { padding: .55rem .8rem; border-radius: 8px; font-size: .88rem; }
  .sub a:hover, .sub a[aria-current="page"] { background: var(--mint-50); color: var(--teal-700); }
  .nav-cta { margin: 0; width: auto; padding: .8em 1.3em; font-size: .84rem; }

  .brand-script { font-size: 2.6rem; }
  .brand-sub { font-size: .62rem; letter-spacing: .2em; }

  .section { padding: 110px 0; }
  .hero { padding: 72px 0 96px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 4rem; }
  .about-grid { grid-template-columns: .85fr 1.15fr; gap: 5rem; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .ba-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .cta-inner { grid-template-columns: 1.3fr 1fr; gap: 3rem; }
  .cta-inner .btn-row { flex-direction: column; align-items: stretch; width: 100%; max-width: 330px; margin-left: auto; }
  .cta-band { padding: 96px 0; }
  .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 2.5rem; align-items: stretch; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 3rem; }
  .footer-bottom { grid-template-columns: 1fr auto; align-items: center; }

  .page-hero { padding: 36px 0 64px; }
  .content-layout { grid-template-columns: 240px 1fr; gap: 4.5rem; padding-top: 80px; padding-bottom: 100px; }
  .toc { display: block; position: sticky; top: calc(var(--header-h) + 28px); align-self: start; }
  .article { max-width: 780px; }
}

@media (min-width: 1280px) {
  .nav-list { gap: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .mobile-cta, .cta-band, .toc { display: none !important; }
  body { padding: 0; background: #fff; }
}
