/* ============================================================
   Masaža Lica — Liudmila Vranić
   Stilizovan, elegantan dizajn za prezentacioni sajt
   Paleta: sage zelena, krem, topli zlatni akcenti
   ============================================================ */

:root {
  --green-dark: #4f6047;
  --green: #6b7d5e;
  --green-light: #8a9b7c;
  --green-pale: #e8ede1;
  --cream: #f7f4ec;
  --cream-dark: #efe9db;
  --gold: #c8a96a;
  --gold-dark: #b08f4f;
  --ink: #2f352b;
  --muted: #6c7066;
  --white: #ffffff;
  --shadow: 0 10px 40px rgba(47, 53, 43, 0.08);
  --shadow-lg: 0 20px 60px rgba(47, 53, 43, 0.14);
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1180px;
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  font-weight: 300;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--green-dark);
  letter-spacing: 0.2px;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }

p { margin-bottom: 1rem; }

a { color: var(--green); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--gold-dark); }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 90px 0; }
.section--tight { padding: 60px 0; }
.section--cream { background: var(--cream); }
.section--green-pale { background: var(--green-pale); }
.section--white { background: var(--white); }

.text-center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold-dark);
  margin-bottom: 14px;
}

.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.section .lead.text-center { margin-left: auto; margin-right: auto; }

.divider {
  width: 64px; height: 2px;
  background: var(--gold);
  margin: 18px 0 28px;
}
.divider--center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 50px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all .3s ease;
}
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline { background: transparent; color: var(--green-dark); border-color: var(--green); }
.btn--outline:hover { background: var(--green); color: #fff; }
.btn--ghost-light { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost-light:hover { background: #fff; color: var(--green-dark); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(107, 125, 94, 0.12);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--green-dark);
  letter-spacing: 1px;
}
.brand__sub {
  font-size: 0.62rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-top: 3px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav__links a {
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 400;
  position: relative;
  padding: 4px 0;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width .3s ease;
}
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }
.nav__links a.active { color: var(--green-dark); }

.nav__cta { margin-left: 8px; }
/* Dugme u meniju mora da zadrži svoj razmak (jača specifičnost od .nav__links a) */
.nav__links .nav__cta .btn { padding: 10px 22px; font-size: 0.9rem; }

/* Brand logo (slika — Neurološka lockup) */
.brand-logo { height: 60px; width: auto; display: block; }
.footer-logo { height: 74px; width: auto; display: block; margin-bottom: 10px; }
@media (max-width: 720px) { .brand-logo { height: 50px; } }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 26px; height: 2px;
  background: var(--green-dark);
  transition: all .3s ease;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(79,96,71,0.82) 0%, rgba(107,125,94,0.55) 55%, rgba(200,169,106,0.25) 100%),
    radial-gradient(circle at 75% 30%, #8a9b7c 0%, #5c6e50 60%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 40%);
}
.hero__inner { position: relative; z-index: 2; max-width: 720px; padding-top: 60px; padding-bottom: 60px; }

/* Aurora pozadina (hero) — vidljive mekane svetlosti */
.hero .aurora { position: absolute; inset: -25%; z-index: 1; filter: blur(60px); pointer-events: none; }
.hero .aurora span { position: absolute; display: block; border-radius: 50%; mix-blend-mode: screen; opacity: .7; will-change: transform; }
.hero .aurora .b1 { width: 48vw; height: 48vw; left: 4%;  top: 2%;      background: #bcd0a4; animation: aurora1 22s ease-in-out infinite; }
.hero .aurora .b2 { width: 42vw; height: 42vw; right: 2%; top: 12%;     background: #eccf8c; animation: aurora2 27s ease-in-out infinite; }
.hero .aurora .b3 { width: 56vw; height: 56vw; left: 20%; bottom: -16%; background: #95b07d; animation: aurora3 25s ease-in-out infinite; }
.hero .aurora .b4 { width: 34vw; height: 34vw; right: 16%; bottom: 0%;  background: #f5ead0; animation: aurora1 31s ease-in-out infinite reverse; }
@keyframes aurora1 { 0%,100% { transform: translate(0,0) scale(1); }    50% { transform: translate(12%,9%) scale(1.25); } }
@keyframes aurora2 { 0%,100% { transform: translate(0,0) scale(1.1); }  50% { transform: translate(-11%,12%) scale(.85); } }
@keyframes aurora3 { 0%,100% { transform: translate(0,0) scale(1); }    50% { transform: translate(10%,-10%) scale(1.18); } }

/* Lebdeće čestice (vidljivo kretanje) — koriste se u tamnim sekcijama (futer) */
.particles { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.particles i {
  position: absolute; left: var(--x, 50%); top: var(--y, 50%);
  width: var(--s, 8px); height: var(--s, 8px); border-radius: 50%;
  background: radial-gradient(circle, rgba(255,248,232,.9), rgba(255,248,232,0) 70%);
  opacity: 0;
  animation-name: rise; animation-timing-function: linear; animation-iteration-count: infinite;
  animation-duration: calc(var(--d, 16s) / 2); animation-delay: var(--delay, 0s);
}
@keyframes rise {
  0%   { transform: translateY(30px); opacity: 0; }
  12%  { opacity: .95; }
  85%  { opacity: .85; }
  100% { transform: translateY(-200px); opacity: 0; }
}
/* Futer kao kontejner za čestice */
.footer { position: relative; overflow: hidden; }
.footer .container { position: relative; z-index: 1; }
/* Futer — meki "aurora" sjaj koji lebdi (animacija) */
.footer::before, .footer::after {
  content: ""; position: absolute; z-index: 0; border-radius: 50%;
  filter: blur(64px); pointer-events: none;
}
.footer::before { width: 360px; height: 360px; left: -70px;  bottom: -90px; background: #7d9268; opacity: .5;  animation: fglow1 16s ease-in-out infinite; }
.footer::after  { width: 320px; height: 320px; right: -50px; top: -90px;    background: #c8a96a; opacity: .34; animation: fglow2 21s ease-in-out infinite; }
@keyframes fglow1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(70px,-34px) scale(1.15); } }
@keyframes fglow2 { 0%,100% { transform: translate(0,0) scale(1.1); } 50% { transform: translate(-56px,42px) scale(.9); } }
@media (prefers-reduced-motion: reduce) { .footer::before, .footer::after { animation: none !important; } }
/* Sekcija kao kontejner za efekte (čestice/krugovi) */
.has-fx { position: relative; overflow: hidden; }
.has-fx > .container { position: relative; z-index: 1; }
/* Zlatno-zelene čestice (za svetle sekcije) */
.particles--gold i { background: radial-gradient(circle, rgba(193,158,86,.55) 0%, rgba(193,158,86,0) 70%); }
.particles--gold i:nth-child(even) { background: radial-gradient(circle, rgba(90,108,74,.5) 0%, rgba(90,108,74,0) 70%); }
@media (prefers-reduced-motion: reduce) {
  .hero .aurora span, .particles i { animation: none !important; }
  .particles i { opacity: .4; }
}

/* "Krugovi koji dišu" — prstenovi (ripple) u svetloj sekciji */
.has-ripples { position: relative; overflow: hidden; }
.has-ripples > .container { position: relative; z-index: 1; }
.ripples { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.ripples span {
  position: absolute; left: var(--cx, 50%); top: var(--cy, 50%);
  width: var(--rs, 320px); height: var(--rs, 320px);
  margin-left: calc(var(--rs, 320px) / -2); margin-top: calc(var(--rs, 320px) / -2);
  border-radius: 50%; border: 1.6px solid rgba(107,125,94,.28);
  opacity: 0; animation: ripple var(--d, 8s) ease-out infinite; animation-delay: var(--delay, 0s);
}
.ripples span.g { border-color: rgba(200,169,106,.32); }
@keyframes ripple {
  0%   { transform: scale(.2); opacity: 0; }
  14%  { opacity: .55; }
  100% { transform: scale(1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ripples span { animation: none !important; opacity: .16; transform: scale(.7); }
}

/* Video pozadina hero sekcije */
.hero--video { background: #46563d; }
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; z-index: 0;
  /* Poster kao pozadina — vidi se na screenshot-u ako se video ne uhvati */
  background: #46563d center / cover no-repeat;
}
.hero__video--1 { background-image: url("../video/masaza-neuro-poster.jpg"); }
.hero__video--2 { background-image: url("../video/masaza-kozmeticka-poster.jpg"); opacity: 0; animation: heroSwap 18s ease-in-out infinite; }
@keyframes heroSwap {
  0%, 8%   { opacity: 0; }
  13%, 45% { opacity: 1; }
  50%, 96% { opacity: 0; }
  100%     { opacity: 0; }
}
@media (max-width: 720px) {
  .hero__video--1 { object-position: 50% 50%; background-position: 50% 50%; }
  .hero__video--2 { object-position: 50% 50%; background-position: 50% 50%; }
}
@media (prefers-reduced-motion: reduce) { .hero__video--2 { animation: none; opacity: 0; } }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(120deg, rgba(40,48,36,.80) 0%, rgba(57,69,50,.62) 55%, rgba(79,96,71,.48) 100%);
}
.hero .eyebrow { color: #f0e6cf; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,0.92); max-width: 560px; margin-bottom: 32px; font-weight: 300; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.page-hero {
  background:
    linear-gradient(120deg, rgba(79,96,71,0.9) 0%, rgba(107,125,94,0.7) 100%),
    radial-gradient(circle at 70% 40%, #8a9b7c 0%, #5c6e50 70%);
  color: #fff;
  padding: 90px 0 70px;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.9); max-width: 620px; margin: 0 auto; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-top: 18px; letter-spacing: 1px; }
.breadcrumb a { color: #f0e6cf; }

/* ============================================================
   CARDS / GRIDS
   ============================================================ */
.grid { display: grid; gap: 30px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  box-shadow: var(--shadow);
  transition: transform .35s ease, box-shadow .35s ease;
  border: 1px solid rgba(107,125,94,0.07);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card p:last-of-type { margin-bottom: 0; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--green-pale);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  font-size: 1.7rem;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 0.98rem; margin-bottom: 18px; }
.card__link {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-top: auto;
  padding-top: 18px;
  align-self: flex-start;
}
.card__link::after { content: " →"; }

/* Feature list */
.feature-list { list-style: none; }
.feature-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  color: var(--muted);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--green-pale);
  border: 2px solid var(--green-light);
}
.feature-list li::after {
  content: "";
  position: absolute;
  left: 6px; top: 13px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* Split content */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.media-fill {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--green-light) 0%, var(--green-dark) 100%);
  color: rgba(255,255,255,0.85);
  font-family: var(--serif);
  font-size: 1.4rem;
  text-align: center;
  padding: 30px;
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.stat__num { font-family: var(--serif); font-size: 2.8rem; font-weight: 600; color: var(--gold-dark); }
.stat__label { font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }

/* ============================================================
   PRICE TABLE
   ============================================================ */
.price-group { margin-bottom: 46px; }
.price-group h3 { margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--green-pale); }
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(107,125,94,0.2);
  gap: 16px;
}
.price-row__name { font-weight: 400; color: var(--ink); }
.price-row__name small { display: block; color: var(--muted); font-size: 0.85rem; }
.price-row__dots { flex: 1; border-bottom: 1px dotted #cbcbbd; transform: translateY(-4px); min-width: 20px; }
.price-row__price { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--green-dark); white-space: nowrap; }

/* ============================================================
   CERTIFICATES
   ============================================================ */
.cert-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.cert {
  background: #fff;
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
  cursor: pointer;
}
.cert:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.cert img { border-radius: 8px; width: 100%; aspect-ratio: 1.4/1; object-fit: cover; object-position: center; background: var(--cream); }
.cert__caption { padding: 14px 8px 6px; }
.cert__caption strong { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--green-dark); }
.cert__caption span { font-size: 0.85rem; color: var(--muted); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(35,40,32,0.92);
  display: none;
  align-items: center; justify-content: center;
  z-index: 1000;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.lightbox__close {
  position: absolute; top: 24px; right: 30px;
  background: none; border: none; color: #fff;
  font-size: 2.4rem; cursor: pointer; line-height: 1;
}

/* ============================================================
   ABOUT / PROFILE
   ============================================================ */
.profile-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: center;
}
.profile-avatar {
  width: 240px; height: 240px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-light), var(--green-dark));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 4rem; color: #fff;
  box-shadow: var(--shadow);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-item { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 28px; }
.contact-item__icon {
  flex-shrink: 0;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--green-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.contact-item h4 { color: var(--green-dark); margin-bottom: 2px; font-family: var(--sans); font-size: 1rem; font-weight: 500; }
.contact-item p, .contact-item a { color: var(--muted); margin: 0; }

.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 0.9rem; margin-bottom: 6px; color: var(--green-dark); font-weight: 400; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(107,125,94,0.25);
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 1rem;
  background: #fff;
  color: var(--ink);
  transition: border-color .25s ease;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--green);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 14px; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); height: 100%; min-height: 340px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; min-height: 340px; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background:
    linear-gradient(120deg, rgba(79,96,71,0.95), rgba(107,125,94,0.85)),
    radial-gradient(circle at 80% 30%, #8a9b7c, #4f6047);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 60px 50px;
  text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.9); max-width: 560px; margin: 0 auto 28px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 28px;
  font-size: 0.92rem;
}
.footer a { color: rgba(255,255,255,0.8); }
.footer a:hover { color: var(--gold); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 40px; margin-bottom: 40px; }
.footer__brand .brand__name { color: #fff; }
.footer__brand p { margin-top: 14px; max-width: 320px; color: rgba(255,255,255,0.7); }
.footer h4 { color: #fff; font-family: var(--sans); font-size: 1rem; margin-bottom: 16px; letter-spacing: 1px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.82rem; color: rgba(255,255,255,0.6);
}

/* Floating WhatsApp/Viber */
.float-contact {
  position: fixed;
  right: 22px; bottom: 22px;
  display: flex; flex-direction: column; gap: 12px;
  z-index: 90;
}
.float-contact a {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: transform .25s ease;
}
.float-contact a:hover { transform: scale(1.08); color: #fff; }
.float-contact .fc-viber { background: transparent; box-shadow: 0 8px 22px rgba(47,53,43,.28); overflow: hidden; }
.float-contact .fc-viber img { width: 100%; height: 100%; border-radius: 50%; display: block; object-fit: cover; }
.float-contact .fc-phone { background: var(--green); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--rd, 0s);
  will-change: opacity, transform;
}
.reveal--zoom { transform: scale(1.06); }
.reveal.in { opacity: 1; transform: none; }

/* Ukras u futeru (zlatni flourish) */
.footer-ornament { text-align: center; margin: 0 auto 30px; line-height: 0; }
.footer-ornament svg { width: 240px; max-width: 72%; height: auto; opacity: .92; display: inline-block; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2,1fr); gap: 36px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split__media { order: 0; }
  .profile-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .nav__links {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 24px 24px;
    box-shadow: var(--shadow);
    transform: translateY(-150%);
    transition: transform .35s ease;
    height: auto;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links li { width: 100%; }
  .nav__links a { display: block; padding: 13px 0; width: 100%; border-bottom: 1px solid rgba(107,125,94,0.1); }
  .nav__cta { margin: 0; }
  /* U mobilnom meniju "Zakažite termin" je obična stavka, ne zeleno dugme */
  .nav__cta .btn {
    display: block; width: 100%; text-align: left;
    background: none; color: var(--ink); border: none; box-shadow: none;
    padding: 13px 0; border-radius: 0; font-weight: 400; font-size: 0.92rem;
    letter-spacing: normal; border-bottom: 1px solid rgba(107,125,94,0.1);
  }
  .nav__cta .btn:hover { background: none; color: var(--gold-dark); transform: none; box-shadow: none; }
  .nav__toggle { display: flex; }
  .grid--3, .grid--4, .grid--2, .cert-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 44px 26px; }
  .hero { min-height: 80vh; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { justify-content: center; }
}

/* Sertifikati na srpskom (landscape — pun prikaz) */
.cert-sr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 48px; }
@media (max-width: 760px) { .cert-sr-grid { grid-template-columns: 1fr; } }
.cert-sr { background: #fff; border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease; }
.cert-sr:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cert-sr__img { cursor: pointer; line-height: 0; }
.cert-sr__img img { width: 100%; height: auto; border-radius: 8px; border: 1px solid rgba(107,125,94,.14); }
.cert-sr figcaption { padding: 13px 8px 4px; text-align: center; }
.cert-sr figcaption strong { display: block; font-family: var(--serif); font-size: 1.08rem; color: var(--green-dark); font-weight: 600; margin-bottom: 4px; }
.cert-sr figcaption a { font-size: .85rem; font-weight: 500; letter-spacing: .4px; }

/* ============================================================
   PRE I POSLE
   ============================================================ */
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 48px; }
@media (max-width: 760px) { .ba-grid { grid-template-columns: 1fr; } }
.ba { position: relative; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(107,125,94,.07); transition: transform .35s ease, box-shadow .35s ease; }
.ba:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.ba__media { position: relative; line-height: 0; }
.ba__media img { width: 100%; height: auto; }
.ba__media::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: rgba(255,255,255,.65); transform: translateX(-50%); }
.ba__tag { position: absolute; bottom: 12px; padding: 5px 15px; border-radius: 50px; font-family: var(--sans); font-size: .72rem; letter-spacing: 2px; color: #fff; line-height: 1.4; }
.ba__tag--pre { left: 12px; background: rgba(47,53,43,.74); }
.ba__tag--posle { right: 12px; background: rgba(176,143,79,.92); }
.ba__cap { padding: 15px 18px; text-align: center; color: var(--muted); font-size: .94rem; }
