/* ===========================================================
   Dr Iva Mihajlović — dizajn sistem v2
   PRAVE boje iz funnela: taupe/greige + charcoal + antikna zlatna
   =========================================================== */

:root {
  color-scheme: light;   /* stabilna boja native scroll bara preko tamnih sekcija */
  /* brend boje (ispravljene po funnelu i logu) */
  --taupe:       #d8d2cc;   /* topla greige, glavna mirna pozadina (hero) */
  --taupe-dark:  #c8c1b8;
  --taupe-light: #e7e2dc;
  --charcoal:    #2e2e2e;   /* tamne sekcije, primarna dugmad */
  --charcoal-2:  #3d3d3d;   /* njena funnel siva */
  --ink:         #2b2b2b;   /* tekst */
  --ink-soft:    #4d4a46;
  --gold:        #b6935c;   /* ANTIKNA zlatna iz loga, samo akcenat */
  --gold-deep:   #9a7a44;
  --gold-soft:   #ece1cf;
  --white:       #ffffff;
  --paper:       #f6f3ef;   /* topla skoro-bela */
  --muted:       #757067;
  --line:        #ded6cc;
  --line-dark:   rgba(255,255,255,.12);

  /* tipografija (na brendu: čist sans + letterspacing kao njen logo) */
  --display: "Montserrat", "Inter", Arial, sans-serif;
  --body: "Inter", Arial, sans-serif;

  --fs-hero: clamp(2.5rem, 5.6vw, 4.6rem);
  --fs-h2:   clamp(1.9rem, 3.6vw, 2.9rem);
  --fs-h3:   clamp(1.3rem, 2.1vw, 1.6rem);
  --fs-lead: clamp(1.08rem, 1.5vw, 1.28rem);
  --fs-body: 1.05rem;

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px;
  --s6: 64px; --s7: 96px; --s8: 128px;

  --radius: 10px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow: 0 24px 60px -28px rgba(46, 46, 46, 0.45);
  --shadow-soft: 0 10px 34px -16px rgba(46, 46, 46, 0.28);
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  font-feature-settings: "kern", "liga";
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.1; font-weight: 700; letter-spacing: -0.015em; }
h1 { font-size: var(--fs-hero); font-weight: 800; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { max-width: 64ch; }
h2 + p, h2 + .lead, h2 + .lede, h1 + .lede { margin-top: var(--s3); }   /* razmak naslov -> paragraf */
strong { color: var(--ink); font-weight: 700; }
::selection { background: var(--gold); color: #fff; }

/* layout */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s3); }
.section { padding: var(--s8) 0; }
@media (max-width: 768px) { .section { padding: var(--s7) 0; } }
.bg-taupe { background: var(--taupe); }
.bg-paper { background: var(--paper); }
.bg-dark { background: var(--charcoal); color: #d8d4ce; }
.bg-dark h1, .bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-dark p { color: #b7b2aa; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-family: var(--body); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep);
  margin-bottom: var(--s3);
}
.eyebrow::before { content: ""; width: 30px; height: 1.5px; background: var(--gold); }
.bg-dark .eyebrow { color: var(--gold); }
.lead { font-size: var(--fs-lead); color: var(--muted); max-width: 58ch; line-height: 1.6; }
.bg-dark .lead { color: #b7b2aa; }
.center { text-align: center; }
.center p, .center .lead { margin-left: auto; margin-right: auto; }
.center .eyebrow { justify-content: center; }

/* buttons (manji radius, charcoal primarna, kao njen funnel) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--body); font-weight: 600; font-size: 1rem;
  padding: 16px 30px; border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s;
  will-change: transform; text-align: center; line-height: 1.15;
}
.btn-primary { background: var(--charcoal); color: #fff; }
.btn-primary:hover { background: #1c1c1c; transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: var(--gold); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; transform: translateY(-3px); }
.bg-dark .btn-outline { color: #fff; border-color: rgba(255,255,255,.4); }
.bg-dark .btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
.cta-band.dark .btn-outline { color: #fff; border-color: rgba(255,255,255,.45); }
.cta-band.dark .btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-deep); transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); }

/* header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease); padding: 18px 0; }
.site-header.scrolled { background: rgba(246,243,239,.9); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); padding: 10px 0; }
.nav { display: flex; align-items: center; justify-content: space-between; }
.logo-img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: var(--s4); list-style: none; }
.nav-links a { font-weight: 500; color: var(--ink); font-size: .96rem; position: relative; padding: 4px 0; letter-spacing: .01em; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px; background: var(--gold); transition: width .3s var(--ease); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.nav-cta { flex-shrink: 0; padding: 13px 28px; font-size: .88rem; font-weight: 600; line-height: 1; border-radius: 10px; letter-spacing: .01em; white-space: nowrap; border: 1.5px solid transparent; box-shadow: 0 8px 22px -8px rgba(46,46,46,.5); }
.nav-links a.nav-cta:hover { border-color: var(--gold); box-shadow: 0 13px 30px -8px rgba(46,46,46,.6); }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #fff; }
.nav-links a.btn-light { color: var(--ink); }
.nav-links a.btn-outline { color: var(--ink); }
.nav-links a.btn::after { display: none; }
/* dva CTA dugmeta u navu: zbij razmak na uzem desktopu da ne prelome */
@media (max-width: 1120px) { .nav-links { gap: var(--s3); } .nav-links a.nav-cta { padding: 11px 18px; font-size: .82rem; } }
.menu-btn { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px; }
.menu-btn span { display: block; height: 2px; width: 24px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }

/* hero (taupe pozadina, kao njen funnel) */
.hero { position: relative; padding: clamp(130px, 19vh, 210px) 0 var(--s7); background: var(--taupe); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--s6); align-items: center; }
.hero .kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: var(--s3); }
.hero h1 { margin-bottom: var(--s3); color: var(--ink); text-wrap: balance; }
.hero .lead { margin-bottom: var(--s4); color: var(--ink-soft); }
.hero-proof { display: flex; align-items: center; gap: var(--s2); margin-top: var(--s4); flex-wrap: wrap; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; }
.hero-proof small { color: var(--muted); font-size: .88rem; }

.hero-visual { position: relative; }
.media { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .media { aspect-ratio: 4/5; }
html.js .clip { clip-path: inset(0 0 100% 0); }    /* za reveal animaciju; bez JS slika je vidljiva */
.hero-badge { position: absolute; bottom: -22px; left: -22px; background: var(--white); border-radius: var(--radius); padding: var(--s3); box-shadow: var(--shadow-soft); max-width: 220px; border: 1px solid var(--line); }
.hero-badge strong { display: block; font-family: var(--display); font-size: 1.6rem; color: var(--ink); font-weight: 800; }
.hero-badge span { font-size: .82rem; color: var(--muted); }

/* placeholder helper */
.ph { display: flex; align-items: center; justify-content: center; text-align: center; background: repeating-linear-gradient(45deg, var(--taupe-light), var(--taupe-light) 14px, #ded7cd 14px, #ded7cd 28px); color: var(--gold-deep); font-family: var(--body); font-weight: 600; font-size: .8rem; padding: var(--s3); border-radius: inherit; min-height: 100%; height: 100%; }
.ph small { display: block; color: var(--muted); font-weight: 500; margin-top: 6px; }

/* marquee (trust traka) */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: var(--s3) 0; background: var(--paper); }
.marquee-track { display: flex; gap: var(--s5); white-space: nowrap; width: max-content; will-change: transform; }
.marquee-track span { font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--ink-soft); display: inline-flex; align-items: center; gap: var(--s3); }
.marquee-track span::after { content: "✦"; color: var(--gold); }

/* grid + cards */
.grid { display: grid; gap: var(--s4); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s5); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; transform-style: preserve-3d; }
.card:hover { box-shadow: var(--shadow); border-color: var(--gold-soft); }
.card .ico { width: 50px; height: 50px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-deep); display: grid; place-items: center; margin-bottom: var(--s3); font-size: 1.4rem; }
.card h3 { margin-bottom: var(--s2); }
.card p { color: var(--muted); font-size: .97rem; margin-bottom: var(--s3); }
.card .more { font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; font-size: .92rem; }
.card .more::after { content: "→"; transition: transform .3s var(--ease); color: var(--gold-deep); }
.card:hover .more::after { transform: translateX(6px); }

/* offer list */
.stack { display: grid; gap: var(--s3); margin: var(--s4) 0; }
.stack li { list-style: none; display: flex; gap: var(--s2); align-items: flex-start; }
.stack .tick { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: rgba(182,147,92,.18); color: var(--gold); display: grid; place-items: center; font-weight: 800; margin-top: 2px; font-size: .8rem; }
.stack b { color: var(--ink); }
.bg-dark .stack b, .cta-band.dark .stack b { color: #fff; }

/* testimonials (bele kartice, zlatne zvezdice, kao njen funnel) */
.quote { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s5); }
.quote .stars { margin-bottom: var(--s2); }
.quote p { font-size: 1.02rem; color: var(--ink-soft); }
.quote .who { display: flex; align-items: center; gap: var(--s2); margin-top: var(--s3); }
.quote .av { width: 46px; height: 46px; border-radius: 50%; background: var(--charcoal); color: var(--gold); display: grid; place-items: center; font-weight: 700; overflow: hidden; flex: 0 0 46px; }
.quote .av img { width: 100%; height: 100%; object-fit: cover; }

/* galerija osmeha (rezultati) */
.smile { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.smile img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .6s var(--ease); }
.smile:hover img { transform: scale(1.05); }
.smile .cap { padding: var(--s2) var(--s3); font-size: .9rem; color: var(--muted); }
.smile.portrait img { aspect-ratio: 3/4; }
.smile.full img { aspect-ratio: auto; height: auto; }   /* prikaz celog pre/posle kolaza bez secenja */

/* koraci procesa */
.steps { counter-reset: step; display: grid; gap: var(--s3); margin: var(--s4) 0; }
.steps li { list-style: none; display: flex; gap: var(--s3); align-items: flex-start; }
.steps li::before { counter-increment: step; content: counter(step); flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; background: var(--charcoal); color: var(--gold); display: grid; place-items: center; font-family: var(--display); font-weight: 800; }
.steps b { display: block; color: var(--ink); margin-bottom: 2px; }
.bg-dark .steps b { color: #fff; }
.steps p { margin: 0; color: var(--muted); font-size: .97rem; max-width: 56ch; }
.bg-dark .steps p { color: #b7b2aa; }

/* pill lista (vrste/materijali) */
.pills { display: flex; flex-wrap: wrap; gap: var(--s1); margin: var(--s3) 0; list-style: none; }
.pills li { background: var(--white); border: 1px solid var(--line); border-radius: 100px; padding: 8px 18px; font-size: .92rem; font-weight: 500; color: var(--ink-soft); }
.bg-taupe .pills li { background: var(--paper); }

/* mini SEO intro blok */
.lede { font-size: var(--fs-lead); color: var(--ink-soft); max-width: 70ch; }
.quote .who b { color: var(--ink); display: block; font-size: .94rem; }
.quote .who span { color: var(--muted); font-size: .8rem; }

/* before / after */
.ba { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.ba .imgs { display: grid; grid-template-columns: 1fr 1fr; }
.ba .imgs > div { aspect-ratio: 1/1; position: relative; }
.ba .tag { position: absolute; top: 12px; left: 12px; background: var(--charcoal); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .1em; padding: 5px 12px; border-radius: 100px; text-transform: uppercase; }
.ba .tag.after { background: var(--gold); color: #fff; right: 12px; left: auto; }
.ba .cap { padding: var(--s2) var(--s3); font-size: .88rem; color: var(--muted); }

/* story split */
.story { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--s6); align-items: center; }
.story .media { aspect-ratio: 4/5; }
.story blockquote { font-family: var(--display); font-weight: 600; font-size: clamp(1.35rem, 2.3vw, 1.9rem); color: var(--ink); line-height: 1.3; border-left: 3px solid var(--gold); padding-left: var(--s3); margin: var(--s4) 0; letter-spacing: -0.01em; }

/* CTA band */
.cta-band { border-radius: var(--radius-xl); padding: clamp(40px, 6vw, 80px); position: relative; overflow: hidden; }
.cta-band.taupe { background: var(--taupe); }
.cta-band.dark { background: var(--charcoal); color: #fff; }
.cta-band.dark h2 { color: #fff; }
.cta-band .scarcity { display: inline-flex; align-items: center; gap: 8px; background: rgba(182,147,92,.16); color: var(--gold-deep); font-weight: 700; font-size: .82rem; padding: 8px 16px; border-radius: 100px; margin-bottom: var(--s3); }
.cta-band.dark .scarcity { background: rgba(255,255,255,.1); color: var(--gold); }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: var(--s3) 0; font-family: var(--display); font-weight: 600; font-size: 1.12rem; color: var(--ink); display: flex; justify-content: space-between; gap: var(--s2); align-items: center; }
.faq-q::after { content: "+"; color: var(--gold-deep); font-size: 1.5rem; transition: transform .3s var(--ease); flex: 0 0 auto; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding-bottom: var(--s3); color: var(--muted); }

/* footer */
.site-footer { background: #242424; color: #9a958d; padding: var(--s7) 0 var(--s4); }
.site-footer h4 { color: #fff; margin-bottom: var(--s3); font-family: var(--body); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s5); margin-bottom: var(--s6); }
.site-footer a:hover { color: var(--gold); }
.foot-links { list-style: none; display: grid; gap: 10px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: var(--s4); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s2); font-size: .85rem; }
.foot-logo { height: 40px; margin-bottom: var(--s3); filter: brightness(0) invert(1) sepia(1) saturate(0.3) hue-rotate(5deg) brightness(.95); opacity: .9; }

.sec-head { max-width: 640px; margin-bottom: var(--s6); }
.sec-head.center { margin-left: auto; margin-right: auto; }

/* animation base */
html.js .reveal { opacity: 0; transform: translateY(40px); } /* bez JS sve vidljivo */
html.js .reveal.in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); } /* mora nadjačati html.js .reveal po specifičnosti */

/* mobile menu */
.mobile-panel { position: fixed; inset: 0 0 0 auto; width: min(82vw, 360px); background: var(--paper); z-index: 200; transform: translateX(100%); transition: transform .4s var(--ease); padding: 90px var(--s4) var(--s4); box-shadow: -20px 0 60px -20px rgba(0,0,0,.25); display: flex; flex-direction: column; gap: var(--s1); }
.mobile-panel.open { transform: none; }
.mobile-panel a { font-family: var(--display); font-weight: 600; font-size: 1.35rem; color: var(--ink); padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-panel a.btn { justify-content: center; border-bottom: 0; padding: 15px 22px; font-size: 1.02rem; margin-top: 8px; }
.mobile-panel a.btn-primary, .mobile-panel a.btn-primary:hover { color: #fff; }
.mobile-panel a.btn-light { color: var(--ink); }
.scrim { position: fixed; inset: 0; background: rgba(40,40,40,.5); opacity: 0; visibility: hidden; transition: .3s; z-index: 150; }
.scrim.open { opacity: 1; visibility: visible; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero-grid, .story { grid-template-columns: 1fr; gap: var(--s5); }
  .hero-visual { max-width: 440px; margin-inline: auto; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: var(--s4); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-btn { display: flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid > * { min-width: 0; }
  .cta-band { padding: 30px 22px; }
  .hero-badge { position: static; margin-top: var(--s3); max-width: none; }
  p { font-size: 1rem; }
  .btn { width: 100%; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .clip { clip-path: none; }
}
