:root {
  --bg: #0b0b0b;
  --bg-2: #121211;
  --card: #191918;
  --line: rgba(242, 237, 228, 0.1);
  --text: #f2ede4;
  --muted: #a29c92;
  --gold: #f2c12e;
  --gold-2: #ffd95a;
  --red: #c8333a;
  --blue: #2a5db0;
  --radius: 18px;
  --nav-h: 74px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.8rem, 6.4vw, 5rem);
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
[hidden] { display: none !important; }
::selection { background: var(--gold); color: #111; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }

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

/* Oznaka sekcije: mali isečak crno-belih pruga sa zida salona */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 16px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 24px; height: 12px;
  background: repeating-linear-gradient(90deg, var(--text) 0 3px, transparent 3px 6px);
}
.muted { color: var(--muted); margin: 0; }
.link-arrow { color: var(--gold); font-weight: 600; font-size: .92rem; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #111;
  font: 600 0.95rem var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); background: var(--gold-2); box-shadow: 0 14px 34px -12px rgba(242, 193, 46, .65); }
.btn:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }
.btn--ghost { background: transparent; color: var(--text); border-color: rgba(242, 237, 228, .22); }
.btn--ghost:hover { background: rgba(242, 237, 228, .06); border-color: var(--gold); box-shadow: none; }
.btn--sm { padding: 10px 20px; font-size: 0.88rem; }
.btn--full { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid transparent;
  transition: background .35s, border-color .35s;
}
.nav.scrolled { background: rgba(11, 11, 11, .78); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); border-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
/* Miljanov logo (bela verzija, kao na izlogu salona). Na vrhu malo visi ispod menija, a kad se skroluje, smanji se u traku. */
.logo { display: block; flex-shrink: 0; text-decoration: none; }
.logo img { width: auto; }
.nav .logo { align-self: flex-start; margin-top: 8px; }
.nav .logo img { height: 80px; transform-origin: left top; transition: transform .35s var(--ease); }
.nav.scrolled .logo img { transform: scale(.72); }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a:not(.btn) {
  position: relative;
  text-decoration: none; font-size: .92rem; color: var(--muted);
  transition: color .2s;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }
.nav__toggle { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--text); transition: transform .3s, top .3s; }
.nav__toggle span:first-child { top: 16px; }
.nav__toggle span:last-child { top: 24px; }
.nav.open .nav__toggle span:first-child { top: 20px; transform: rotate(45deg); }
.nav.open .nav__toggle span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  overflow: hidden;
}
.hero__grid {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 40px;
  align-items: center;
  padding-block: 32px 56px;
}
.hero__content { position: relative; z-index: 2; }
.hero__content .eyebrow { margin-bottom: 26px; }
.hero__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3rem, 6.1vw, 6.3rem);
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  margin-bottom: 28px;
}
.hero__title .line { display: block; overflow: hidden; padding-top: .16em; margin-top: -.16em; }
.hero__title .line > span { display: block; }
.hero__sub { max-width: 500px; color: var(--muted); font-size: 1.08rem; margin: 0 0 36px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 54px; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 14px 46px;
  margin: 0; padding-top: 26px;
  border-top: 1px solid var(--line);
  max-width: 560px;
}
.hero__meta dt { font-size: .85rem; color: var(--muted); }
.hero__meta dd { margin: 2px 0 0; font-weight: 600; }

.hero__media {
  --h: clamp(470px, 74vh, 680px);
  position: relative;
  height: var(--h);
}
.hero__stripes {
  position: absolute;
  top: 7%; bottom: 7%; right: 2%;
  width: 52%;
  border-radius: 26px;
  background: repeating-linear-gradient(90deg, var(--text) 0 13px, transparent 13px 26px);
  opacity: .06;
}
.hero__card {
  position: absolute;
  border-radius: 28px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 50px 90px -35px rgba(0, 0, 0, .95);
}
.hero__card img, .hero__card video { width: 100%; height: 100%; object-fit: cover; }
.hero__card--main {
  z-index: 2;
  top: 0; right: 20%;
  height: var(--h);
  width: calc(var(--h) * .5625);
}
.hero__card--back {
  z-index: 1;
  top: 15%; right: 0;
  height: calc(var(--h) * .74);
  width: calc(var(--h) * .74 * .5625);
  transform: rotate(7deg);
  filter: grayscale(.5) brightness(.6);
}
.hero__card--main::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15), transparent 30%, transparent 60%, rgba(0,0,0,.75));
  pointer-events: none;
}
.hero__label {
  position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1;
  display: grid; gap: 2px;
}
.hero__label small { font-size: .82rem; color: var(--gold); font-weight: 600; }
.hero__label strong { font-family: var(--display); font-weight: 400; font-size: 1.9rem; text-transform: uppercase; line-height: 1.05; }
.hero__label span { font-size: .85rem; color: rgba(242, 237, 228, .75); }

.spin-badge {
  position: absolute; z-index: 3;
  left: 0; top: 7%;
  width: 128px; height: 128px;
  border-radius: 50%;
  background: var(--gold);
  color: #111;
  display: grid; place-items: center;
  text-decoration: none;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, .8);
  transition: transform .4s var(--ease), background .3s;
}
.spin-badge:hover { transform: scale(1.06); background: var(--gold-2); }
.spin-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.spin-badge text { font: 700 10.5px var(--sans); fill: #111; letter-spacing: .12em; }
.spin-badge > span { font-size: 1.9rem; line-height: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Beskonačna traka: JS umnoži grupu da pokrije ekran i pomera traku tačno za širinu jedne grupe */
.marquee { position: relative; border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 18px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee var(--dur, 30s) linear infinite; will-change: transform; }
.marquee[data-reverse] .marquee__track { animation-direction: reverse; }
.marquee__group { flex: none; display: flex; align-items: center; gap: 30px; padding-right: 30px; }
.marquee span { font-family: var(--display); font-size: 1.55rem; text-transform: uppercase; white-space: nowrap; letter-spacing: .02em; }
.marquee i { font-style: normal; color: var(--gold); }
@keyframes marquee { to { transform: translateX(var(--shift, -50%)); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(84px, 12vw, 150px); }
.section--alt { background: var(--bg-2); }
.section__head { margin-bottom: 52px; }
.section__head--row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section__lead { color: var(--muted); margin: 16px 0 0; font-size: 1.05rem; }

/* ---------- Radovi ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: none; color: var(--muted);
  font: 500 .88rem var(--sans);
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.filter:hover { color: var(--text); border-color: rgba(242, 237, 228, .3); }
.filter.active { background: var(--text); border-color: var(--text); color: #111; }
.filter sup { font-size: .68rem; margin-left: 3px; opacity: .6; }

.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.work {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  isolation: isolate;
  transition: border-color .3s, transform .5s var(--ease);
}
.work img, .work video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease), opacity .5s;
}
.work video { opacity: 0; }
.work.playing video { opacity: 1; }
.work::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 22%, transparent 52%, rgba(0,0,0,.85));
  pointer-events: none;
}
.work:hover { border-color: rgba(242, 193, 46, .55); }
.work:hover img, .work:hover video { transform: scale(1.05); }
.work:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.work__top {
  position: absolute; top: 12px; left: 12px; right: 12px; z-index: 1;
  display: flex; justify-content: space-between; align-items: center;
}
.work__dur, .work__play {
  display: grid; place-items: center;
  height: 28px; padding: 0 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: .72rem; font-weight: 600;
}
.work__play { width: 28px; padding: 0; font-size: .6rem; }
.work__meta { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; }
.work__meta strong {
  display: block;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  text-transform: uppercase; letter-spacing: .02em; line-height: 1.05;
}
.work__info { display: flex; justify-content: space-between; gap: 8px; font-size: .78rem; color: rgba(242, 237, 228, .72); }
.work.reveal { transition: opacity .8s ease, transform .8s ease, border-color .3s; }

.gallery__foot { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: 44px; }
.gallery__empty { padding: 56px 24px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; }
.gallery__empty p { color: var(--muted); margin: 0 0 20px; }

/* ---------- Cenovnik ---------- */
.services { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(48px, 8vw, 110px); align-items: center; }
.menu { list-style: none; padding: 0; margin: 0; }
.menu__item { padding: 26px 0; border-bottom: 1px solid var(--line); }
.menu__item:first-child { border-top: 1px solid var(--line); }
.menu__row { display: flex; align-items: baseline; gap: 16px; }
.menu__row h3, .menu__price {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  text-transform: uppercase; letter-spacing: .01em;
  white-space: nowrap;
  transition: color .3s;
}
.menu__dots { flex: 1; min-width: 20px; border-bottom: 2px dotted rgba(242, 237, 228, .22); transform: translateY(-7px); }
.menu__price small { font-family: var(--sans); font-size: .78rem; color: var(--muted); letter-spacing: .05em; }
.menu__sub { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-top: 6px; }
.menu__sub p { margin: 0; color: var(--muted); font-size: .96rem; }
.menu__book {
  flex: none;
  color: var(--gold); font-weight: 600; font-size: .9rem; text-decoration: none;
  opacity: 0; transform: translateX(-8px);
  transition: opacity .3s, transform .3s var(--ease);
}
.menu__item:hover h3 { color: var(--gold); }
.menu__item:hover .menu__book, .menu__book:focus-visible { opacity: 1; transform: none; }
@media (hover: none) { .menu__book { opacity: 1; transform: none; } }

.services__photo { position: relative; margin: 0 0 0 18px; }
.services__photo::before {
  content: "";
  position: absolute; inset: -18px 18px 18px -18px;
  border-radius: 28px;
  background: repeating-linear-gradient(90deg, var(--text) 0 12px, #0b0b0b 12px 24px);
  opacity: .9;
}
.services__photo img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 40%;
  border-radius: 24px;
}
.services__photo figcaption, .about__photo figcaption {
  position: absolute; left: 18px; bottom: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(11, 11, 11, .7);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: .85rem; font-weight: 600;
}

/* Salon iznutra: slike jedna do druge, listaju se prstom i staju tačno na sliku */
.salon-slider__track {
  position: relative;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  border-radius: 24px;
  outline: none;
}
.salon-slider__track::-webkit-scrollbar { display: none; }
.salon-slider__track:focus-visible { box-shadow: 0 0 0 3px var(--gold); }
.services__photo .salon-slider__track img {
  flex: 0 0 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-position: 50% 50%;
  border-radius: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.salon-slider figcaption { display: flex; align-items: center; gap: 10px; pointer-events: none; }
.salon-slider figcaption span { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.salon-slider__nav { position: absolute; right: 18px; bottom: 18px; display: flex; gap: 8px; }
.salon-slider__btn {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  padding: 0 0 3px;
  border: 0; border-radius: 50%;
  background: rgba(11, 11, 11, .7);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--text);
  font: 400 1.7rem/1 var(--sans);
  cursor: pointer;
  transition: background .25s, color .25s;
}
.salon-slider__btn:hover, .salon-slider__btn:focus-visible { background: var(--gold); color: #111; outline: none; }

/* ---------- O nama ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 8vw, 110px); align-items: center; }
.about__photo { position: relative; margin: 0; }
.about__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 30% 50%;
  border-radius: 28px;
  border: 1px solid var(--line);
}
.about__photo figcaption { display: flex; flex-direction: column; line-height: 1.3; border-radius: 16px; }
.about__photo figcaption span { font-weight: 400; color: var(--muted); font-size: .8rem; }
.about__text h2 { margin-bottom: 26px; }
.about__text > p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; margin: 0 0 16px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--line); }
.stats strong { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3rem); color: var(--gold); line-height: 1; margin-bottom: 8px; }
.stats span { font-size: .85rem; color: var(--muted); line-height: 1.4; display: block; transition: color .2s; }
/* Google ocena: vodi na recenzije */
.stats a { color: inherit; text-decoration: none; }
.stats a:hover span { color: var(--gold); }
.stats strong i { font-family: var(--sans); font-style: normal; font-size: .5em; vertical-align: .72em; margin-left: 4px; }
/* Miljanov citat sa potpisom na kraju dela "Ko te šiša" */
.quote { margin: 36px 0 0; padding-left: 22px; border-left: 2px solid var(--gold); }
.quote blockquote { margin: 0; }
.quote p { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.55rem, 2.6vw, 2.05rem); line-height: 1.25; color: var(--text); text-wrap: balance; }
.quote figcaption { margin-top: 12px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.quote figcaption::before { content: "— "; }

/* ---------- Zakazivanje ---------- */
.booking { display: grid; grid-template-columns: 1fr 350px; gap: 24px; align-items: start; }
.booking__steps { display: grid; gap: 16px; min-width: 0; }
.step {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 26px;
  min-width: 0;
}
.step legend {
  float: left; width: 100%;
  display: flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 1.05rem;
  margin-bottom: 18px; padding: 0;
}
.step legend span {
  display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold); color: #111;
  font-size: .85rem; font-weight: 700;
}
.step > :not(legend) { clear: both; }

.chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.chips__hint { margin: 12px 0 0; font-size: .82rem; color: var(--muted); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  font-size: .95rem;
}
.chip span:hover { border-color: rgba(242, 193, 46, .45); }
.chip span b { font-weight: 600; color: var(--muted); white-space: nowrap; }
.chip input:checked + span { border-color: var(--gold); background: rgba(242, 193, 46, .1); }
.chip input:checked + span b { color: var(--gold); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.days { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.day {
  display: flex; flex-direction: column; align-items: center;
  padding: 10px 2px;
  border: 1px solid var(--line); border-radius: 12px;
  background: none; color: var(--text);
  font: inherit; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.day small { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.day strong { font-size: 1.25rem; line-height: 1.3; }
.day em { font-style: normal; font-size: .68rem; color: var(--muted); }
.day:hover:not(:disabled) { border-color: rgba(242, 193, 46, .5); }
.day.active { border-color: var(--gold); background: var(--gold); color: #111; }
.day.active small, .day.active em { color: #111; }
.day:disabled { opacity: .3; cursor: not-allowed; }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 8px; }
.slot {
  padding: 11px 4px;
  border: 1px solid var(--line); border-radius: 10px;
  background: none; color: var(--text);
  font: 500 .92rem var(--sans); cursor: pointer;
  transition: border-color .2s, background .2s;
}
.slot:hover:not(:disabled) { border-color: rgba(242, 193, 46, .5); }
.slot.active { background: var(--gold); border-color: var(--gold); color: #111; }
.slot:disabled { opacity: .25; cursor: not-allowed; text-decoration: line-through; }
.slots .muted { grid-column: 1 / -1; }
/* Danas: umesto termina dugme za poziv */
.call-today {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px;
  padding: 16px 18px;
  border: 1px dashed rgba(242, 193, 46, .4); border-radius: 12px;
}
.call-today p { margin: 0; color: var(--muted); font-size: .93rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field span { font-size: .85rem; color: var(--muted); }
.field input, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg); color: var(--text);
  font: inherit; resize: vertical;
  transition: border-color .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field input.invalid { border-color: var(--red); }

/* Obaveštenja na telefon (u aplikaciji kvadratići, u pregledaču poziv da se sačuva kao aplikacija) */
.notify { margin-top: 18px; padding: 16px 18px; border: 1px dashed rgba(242, 193, 46, .4); border-radius: 12px; }
.notify__head { display: flex; align-items: center; gap: 9px; margin: 0 0 8px; font-weight: 600; font-size: .95rem; }
.notify__ico { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.notify__need { margin-top: 10px; padding-top: 14px; border-top: 1px dashed rgba(242, 237, 228, .14); }
.notify__need p { margin: 0 0 12px; font-size: .88rem; color: var(--muted); }
.notify__msg { margin: 6px 0 0; font-size: .84rem; color: #ff7a7f; }
.notify__msg:empty { display: none; }
.notify__msg--ok { color: var(--gold); }
.check { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: .93rem; cursor: pointer; }
.check input {
  -webkit-appearance: none; appearance: none;
  flex: none; display: grid; place-items: center;
  width: 22px; height: 22px; margin: 0;
  border: 1px solid rgba(242, 237, 228, .3); border-radius: 6px;
  background: var(--bg); cursor: pointer;
  transition: background .2s, border-color .2s;
}
.check input::after { content: ""; width: 6px; height: 11px; border: solid #111; border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg); opacity: 0; }
.check input:checked { background: var(--gold); border-color: var(--gold); }
.check input:checked::after { opacity: 1; }
.check input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.check input:disabled { opacity: .5; cursor: wait; }

.summary {
  position: sticky; top: calc(var(--nav-h) + 22px);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(242, 193, 46, .35);
  background: linear-gradient(180deg, #1d1a10, var(--card));
}
.summary h3 { font-family: var(--display); font-weight: 400; font-size: 1.7rem; text-transform: uppercase; margin-bottom: 18px; }
.summary dl { margin: 0 0 18px; display: grid; gap: 12px; }
.summary dl div { display: flex; justify-content: space-between; gap: 12px; font-size: .93rem; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; font-weight: 500; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; margin-bottom: 14px; border-top: 1px dashed rgba(242, 237, 228, .18); }
.summary__total strong { font-family: var(--display); font-weight: 400; font-size: 2.1rem; color: var(--gold); }
.summary__note { font-size: .8rem; color: var(--muted); text-align: center; margin: 14px 0 0; }
.summary__note a { color: var(--text); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.form-error { color: #ff7a7f; font-size: .88rem; margin: 0 0 12px; }
.form-error:empty { display: none; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: stretch; }
.contact__info h2 { margin-bottom: 36px; }
.info-list { display: grid; gap: 28px; }
.info { display: flex; gap: 18px; }
.info__icon {
  flex: none; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line);
  font-size: 1.2rem;
}
.info strong { display: block; margin-bottom: 4px; }
.info p { margin: 0 0 6px; color: var(--muted); }
.info p a { color: var(--text); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.hours { border-collapse: collapse; color: var(--muted); font-size: .93rem; min-width: 260px; }
.hours td { padding: 4px 0; }
.hours td:last-child { text-align: right; padding-left: 28px; }
.hours tr.today { color: var(--gold); font-weight: 600; }
.open-status { margin: 12px 0 0 !important; font-size: .88rem; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.open-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 20%, transparent); }
.open-status.is-open { color: #5fd38d !important; }
.open-status.is-closed { color: #ff7a7f !important; }
.contact__map { border-radius: 26px; overflow: hidden; border: 1px solid var(--line); min-height: 440px; }
.contact__map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-bottom: calc(34px + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.footer__word {
  font-family: var(--display);
  font-size: clamp(5rem, 24vw, 21rem);
  line-height: .82;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 237, 228, .14);
  letter-spacing: .02em;
  margin: 40px 0 30px;
  user-select: none;
}
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.logo--footer img { height: 76px; }
.footer p { margin: 0; color: var(--muted); font-size: .88rem; }
.footer__social { display: flex; gap: 22px; }
.footer__social a { color: var(--muted); text-decoration: none; font-size: .9rem; }
.footer__social a:hover { color: var(--gold); }
.footer__app {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0; background: none; border: 0;
  color: var(--gold); font: 500 .9rem var(--sans);
  cursor: pointer;
}
.footer__app:hover { color: var(--gold-2); }
.app-ico { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- FAB (telefon) ---------- */
.fab {
  position: fixed; left: 16px; right: 16px;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  display: none;
  padding: 16px;
  text-align: center;
  border-radius: 999px;
  background: var(--gold); color: #111;
  font-weight: 700; text-decoration: none;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .85);
  transition: transform .35s var(--ease), opacity .35s;
}
.fab.hide { transform: translateY(140%); opacity: 0; pointer-events: none; }

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: fade .25s;
}
.modal__card {
  position: relative;
  width: min(460px, 100%);
  max-height: 90vh; overflow-y: auto;
  padding: 36px 28px 28px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid rgba(242, 193, 46, .35);
  text-align: center;
  animation: pop .4s cubic-bezier(.2, 1.4, .4, 1);
}
.modal__check {
  width: 64px; height: 64px; margin: 0 auto 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--gold); color: #111;
  font-size: 1.8rem; font-weight: 700;
}
.modal__card h3 { font-family: var(--display); font-weight: 400; font-size: 2.1rem; text-transform: uppercase; margin-bottom: 10px; }
.modal__card p { color: var(--muted); margin: 0 0 18px; font-size: .95rem; }
.modal__details {
  display: grid; gap: 8px;
  margin: 0 0 20px; padding: 14px 16px;
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.modal__details div { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; }
.modal__details dt { color: var(--muted); }
.modal__details dd { margin: 0; text-align: right; font-weight: 500; }
.modal__card .modal__small { margin: 14px 0 0; font-size: .82rem; }
.modal__small a { color: var(--gold); }
.modal__close {
  position: absolute; top: 12px; right: 14px;
  background: none; border: 0; color: var(--muted);
  font-size: 1.8rem; line-height: 1; cursor: pointer;
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { transform: scale(.92); opacity: 0; } }

/* Aplikacija: ponuda posle zakazivanja i uputstvo za iPhone / ostale pregledače */
.modal__app { margin: 0 0 16px; padding: 16px; border: 1px dashed rgba(242, 193, 46, .4); border-radius: 12px; }
.modal__card .modal__app p { margin: 0 0 12px; color: var(--text); font-size: .9rem; }
.modal__app .btn { padding: 13px 20px; }
.app-help__icon { display: block; width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 18px; border: 1px solid var(--line); }
.app-help__steps { display: grid; gap: 14px; margin: 0 0 22px; padding: 0; list-style: none; counter-reset: korak; text-align: left; }
.app-help__steps li { position: relative; padding-left: 42px; min-height: 28px; color: var(--muted); font-size: .93rem; line-height: 1.55; counter-increment: korak; }
.app-help__steps li::before {
  content: counter(korak);
  position: absolute; left: 0; top: -1px;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--gold); color: #111;
  font-size: .85rem; font-weight: 700;
}
.app-help__steps b { color: var(--text); font-weight: 600; }
.app-help__glyph { width: 1.2em; height: 1.2em; vertical-align: -.25em; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.app-help__copy { margin-bottom: 10px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 110;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 90px;
  background: rgba(6, 6, 6, .95);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: fade .25s;
}
.lightbox__inner { display: flex; align-items: center; gap: 40px; max-height: 100%; }
.lightbox__media video {
  height: min(86vh, 820px);
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 20px;
  background: #000;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .95);
  animation: pop .35s var(--ease);
}
.lightbox__info { width: 290px; }
.lightbox__info h3 { font-family: var(--display); font-weight: 400; font-size: 2.6rem; text-transform: uppercase; line-height: 1; margin-bottom: 10px; }
.lightbox__likes { color: var(--muted); margin: 0 0 28px; }
.lightbox__actions { display: grid; gap: 10px; }
.lightbox__close, .lightbox__nav {
  position: absolute;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  background: rgba(25, 25, 24, .85); color: var(--text);
  cursor: pointer; line-height: 1;
  transition: border-color .2s, background .2s;
}
.lightbox__close:hover, .lightbox__nav:hover { border-color: var(--gold); }
.lightbox__close { top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px; width: 46px; height: 46px; font-size: 1.6rem; z-index: 2; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 1.8rem; }
.lightbox__nav--prev { left: 22px; }
.lightbox__nav--next { right: 22px; }

/* ---------- Uvod: zavesa od pruga sa zida salona ---------- */
:root { --intro: 1.3s; }
.intro-seen { --intro: .05s; }
.curtain { position: fixed; inset: 0; z-index: 300; pointer-events: none; animation: curtainOff 0s linear 2.3s forwards; }
.intro-seen .curtain { display: none; }
.curtain__stripes { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(12, 1fr); }
.curtain__stripes i {
  background: #0b0b0b;
  margin-right: -1px; /* bez tankih procepa između pruga */
  animation: stripeUp .9s cubic-bezier(.75, 0, .2, 1) forwards;
  animation-delay: calc(.9s + var(--n) * 45ms);
}
.curtain__stripes i:nth-child(even) { background: var(--text); animation-name: stripeDown; }
.curtain__logo {
  position: absolute; inset: 0;
  margin: auto;
  width: clamp(230px, 46vw, 470px);
  height: auto;
  mix-blend-mode: difference;
  animation: logoIn .8s var(--ease) backwards, logoOut .35s ease .85s forwards;
}
@keyframes stripeUp { to { transform: translateY(-101%); } }
@keyframes stripeDown { to { transform: translateY(101%); } }
@keyframes curtainOff { to { visibility: hidden; } }
@keyframes logoIn { from { opacity: 0; transform: scale(.9) rotate(-4deg); } }
@keyframes logoOut { to { opacity: 0; transform: scale(1.08); } }

/* Hero ulazak — nastavlja se na zavesu */
.hero__title .line > span { animation: lineUp 1.1s var(--ease) backwards; animation-delay: calc(var(--intro) + var(--d) * .1s); }
.intro { animation: fadeUp 1s var(--ease) backwards; animation-delay: calc(var(--intro) + var(--d) * .1s); }
.hero__card--main {
  animation: cardIn 1.3s var(--ease) backwards, float 7s ease-in-out infinite;
  animation-delay: calc(var(--intro) + .15s), calc(var(--intro) + 1.5s);
}
.hero__card--back { animation: backIn 1.3s var(--ease) backwards; animation-delay: calc(var(--intro) + .35s); }
.spin-badge { animation: badgeIn .9s cubic-bezier(.2, 1.5, .4, 1) backwards; animation-delay: calc(var(--intro) + .8s); }
@keyframes lineUp { from { transform: translateY(135%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(80px) scale(.94); } }
@keyframes backIn { from { opacity: 0; transform: rotate(0deg) translateX(-50px); } }
@keyframes badgeIn { from { opacity: 0; transform: scale(.3) rotate(-50deg); } }
@keyframes float { 50% { translate: 0 -12px; } }

/* Hero pozadina: boje najpopularnijeg rada se prelivaju u stranu + svetlo koje prati miš */
.hero__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero__ambient {
  position: absolute; inset: -12%;
  background-size: cover; background-position: center;
  filter: blur(90px) saturate(1.5) brightness(.6);
  opacity: 0;
  transition: opacity 2s ease;
}
.hero__ambient.on { opacity: .6; }
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 22%, rgba(11, 11, 11, .55) 58%, rgba(11, 11, 11, .25)),
    linear-gradient(0deg, var(--bg), transparent 35%);
}
.hero__spot {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(700px circle at var(--mx, 72%) var(--my, 40%), rgba(242, 193, 46, .09), transparent 60%);
}
.hero__media {
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .7s var(--ease);
}

/* Ukrštene trake */
.tapes {
  position: relative;
  height: clamp(180px, 20vw, 250px);
  overflow: hidden;
  display: grid; place-items: center;
}
.tape {
  position: absolute; left: -10%; width: 120%;
  padding: 16px 0;
  border: 0;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .9);
}
.tape span { font-size: clamp(1.4rem, 2.6vw, 2.1rem); }
.tape--gold { background: var(--gold); color: #111; transform: rotate(-3.5deg); }
.tape--gold i { color: #111; }
.tape--dark { background: #050505; transform: rotate(3deg); border-block: 1px solid var(--line); }
.tape--dark span { color: transparent; -webkit-text-stroke: 1px rgba(242, 237, 228, .6); }

/* Kursor: mali prsten koji prati miš */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 250;
  width: 26px; height: 26px; margin: -13px 0 0 -13px;
  border: 1px solid rgba(242, 193, 46, .6);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0);
  transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), border-color .3s, opacity .3s;
}
.cursor.on { opacity: 1; }
.cursor.is-link { width: 36px; height: 36px; margin: -18px 0 0 -18px; border-color: var(--gold); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

.btn, .spin-badge { transition: transform .3s var(--ease), translate .5s var(--ease), background .3s, color .3s, box-shadow .3s, border-color .3s; }

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70;
  height: 2px;
  background: var(--gold);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ---------- Barberski detalji u pozadini ---------- */
/* Sitan uzorak alata, jači ka ivicama da ne smeta tekstu */
.section { position: relative; isolation: isolate; overflow: clip; }
.section::before, .hero__pattern {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22420%22%20height%3D%22420%22%20viewBox%3D%220%200%20420%20420%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23F2EDE4%22%20stroke-width%3D%22.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cg%20transform%3D%22translate(28%2034)%20scale(2)%20rotate(-22%2012%2012)%22%3E%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M8.12%208.12%2012%2012%22%2F%3E%3Cpath%20d%3D%22M20%204%208.12%2015.88%22%2F%3E%3Ccircle%20cx%3D%226%22%20cy%3D%2218%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M14.8%2014.8%2020%2020%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(228%2022)%20scale(1.9)%20rotate(14%2012%2012)%22%3E%3Crect%20x%3D%222.5%22%20y%3D%227%22%20width%3D%2219%22%20height%3D%224%22%20rx%3D%221%22%2F%3E%3Cpath%20d%3D%22M4.5%2011v6M7.5%2011v6M10.5%2011v6M13.5%2011v6M16.5%2011v6M19.5%2011v4%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(330%20140)%20scale(2)%20rotate(-38%2012%2012)%22%3E%3Cpath%20d%3D%22M9%204.5h11.5v3.2a2.8%202.8%200%200%201-2.8%202.8H11L9%208.5z%22%2F%3E%3Ccircle%20cx%3D%229.6%22%20cy%3D%226.5%22%20r%3D%22.9%22%2F%3E%3Cpath%20d%3D%22M8.6%208.2%203.4%2018.6a1.1%201.1%200%200%200%201.9%201.1L10.6%209.6%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(48%20200)%20scale(1.9)%20rotate(18%2012%2012)%22%3E%3Cpath%20d%3D%22M8%208.5%207%204h10l-1%204.5%22%2F%3E%3Crect%20x%3D%227%22%20y%3D%228.5%22%20width%3D%2210%22%20height%3D%2213%22%20rx%3D%223%22%2F%3E%3Cpath%20d%3D%22M8.5%204V2M10.5%204V2M12.5%204V2M14.5%204V2%22%2F%3E%3Cpath%20d%3D%22M10.5%2013h3%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(206%20196)%20scale(1.9)%20rotate(9%2012%2012)%22%3E%3Cpath%20d%3D%22M8%203.5h8M8%2020.5h8%22%2F%3E%3Crect%20x%3D%229%22%20y%3D%223.5%22%20width%3D%226%22%20height%3D%2217%22%20rx%3D%221%22%2F%3E%3Cpath%20d%3D%22M9%208l6-2.5M9%2012l6-2.5M9%2016l6-2.5M9%2020l6-2.5%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%222%22%20r%3D%221%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(338%20318)%20scale(1.8)%20rotate(-16%2012%2012)%22%3E%3Cpath%20d%3D%22M9.5%2013.5h5l.8%207.5H8.7z%22%2F%3E%3Cpath%20d%3D%22M9.5%2013.5C7%2011.5%207.2%206%209.5%203.5c1.2-1%203.8-1%205%200%202.3%202.5%202.5%208%200%2010%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(104%20338)%20scale(2)%20rotate(4%2012%2012)%22%3E%3Cpath%20d%3D%22M12%2012.5c-.8-2.2-3.6-3.4-5.8-1.8C5%2011.6%204.3%2013.4%202%2013.2c1.7%202.3%205.6%202.6%208%20.9.9-.6%201.6-1.1%202-1.6zM12%2012.5c.8-2.2%203.6-3.4%205.8-1.8%201.2.9%201.9%202.7%204.2%202.5-1.7%202.3-5.6%202.6-8%20.9-.9-.6-1.6-1.1-2-1.6z%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(250%20330)%20scale(1.6)%20rotate(120%2012%2012)%22%3E%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M8.12%208.12%2012%2012%22%2F%3E%3Cpath%20d%3D%22M20%204%208.12%2015.88%22%2F%3E%3Ccircle%20cx%3D%226%22%20cy%3D%2218%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M14.8%2014.8%2020%2020%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23F2EDE4%22%20stroke-width%3D%221.2%22%20stroke-linecap%3D%22round%22%3E%3Cpath%20d%3D%22M160%20116v8M156%20120h8%22%2F%3E%3Cpath%20d%3D%22M380%2056v8M376%2060h8%22%2F%3E%3Cpath%20d%3D%22M150%20256v8M146%20260h8%22%2F%3E%3Cpath%20d%3D%22M20%20366v8M16%20370h8%22%2F%3E%3Cpath%20d%3D%22M300%20246v8M296%20250h8%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  background-size: 420px 420px;
  opacity: .17;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 50%, transparent 15%, #000 80%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 50%, transparent 15%, #000 80%);
}
.hero__pattern { z-index: 1; opacity: .18; }

/* Velike konture alata u ćoškovima, pomeraju se dok se skroluje */
.deco {
  position: absolute; z-index: -1;
  width: clamp(240px, 30vw, 440px); height: auto; aspect-ratio: 1;
  color: var(--text);
  opacity: .25;
  pointer-events: none;
  transform: translateY(calc(var(--p, 0) * 90px)) rotate(calc(var(--r, 0deg) + var(--p, 0) * 16deg));
  will-change: transform;
}
.deco--gold { color: var(--gold); opacity: .4; }
.deco--sm { width: clamp(140px, 14vw, 210px); }
.deco--md { width: clamp(180px, 19vw, 290px); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .curtain, .cursor { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .booking { grid-template-columns: 1fr; }
  .summary { position: static; }
  .lightbox__inner { flex-direction: column; gap: 20px; }
  .lightbox__media video { height: min(68vh, 700px); }
  .lightbox__info { width: min(380px, 100%); text-align: center; }
  .lightbox__info h3 { font-size: 2rem; }
  .lightbox__likes { margin-bottom: 16px; }
  .lightbox__actions { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  /* Hero: video preko celog ekrana iza teksta */
  .hero__grid { position: static; grid-template-columns: 1fr; padding-block: 24px 48px; align-items: end; }
  .hero__media { position: absolute; inset: 0; height: auto; z-index: 0; }
  .hero__media::after {
    content: ""; position: absolute; inset: 0; z-index: 3;
    background: linear-gradient(180deg, rgba(11,11,11,.55) 0%, rgba(11,11,11,.5) 35%, rgba(11,11,11,.9) 75%, var(--bg) 100%);
  }
  .hero__card--main { inset: 0; width: 100%; height: 100%; right: auto; border: 0; border-radius: 0; box-shadow: none; animation: none; }
  .hero__card--main::after, .hero__label, .hero__card--back, .hero__stripes, .spin-badge { display: none !important; }
  .hero__media { transform: none !important; }
  .hero__content { padding-top: 22vh; }

  .services, .about, .contact { grid-template-columns: 1fr; }
  .services__photo { max-width: 460px; width: calc(100% - 18px); margin-inline: auto; }
  .about__photo { max-width: 460px; width: 100%; margin-inline: auto; }
}

@media (max-width: 820px) {
  .nav__toggle { display: block; }
  .nav .logo img { height: 64px; }
  .nav.scrolled .logo img { transform: scale(.88); }
  .nav__links {
    position: fixed; inset: calc(var(--nav-h) + env(safe-area-inset-top, 0px)) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 20px 24px;
    background: rgba(11, 11, 11, .97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    opacity: 0;
    transition: transform .4s var(--ease), opacity .4s;
  }
  .nav__links a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--text); }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__links .btn { margin-top: 18px; padding: 15px; }
  .nav.open { background: rgba(11, 11, 11, .97); }
  .nav.open .nav__links { transform: none; opacity: 1; }
  .fab { display: block; }
  .footer { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }

  /* Kraj stranice na telefonu: sve na sredini, bez velikog natpisa i bez motke presečene linijom */
  .deco--edge, .footer__word { display: none; }
  .footer__inner { flex-direction: column; gap: 22px; padding-top: 52px; text-align: center; }
  .logo--footer img { height: 110px; }
  .footer__social { order: 1; gap: 10px; }
  .footer__social a { padding: 9px 18px; border: 1px solid rgba(242, 237, 228, .18); border-radius: 999px; color: var(--text); }
  .footer p { order: 2; font-size: .8rem; text-wrap: balance; }
  .footer__app { order: 1; padding: 11px 20px; border: 1px solid rgba(242, 193, 46, .45); border-radius: 999px; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .hero__cta .btn { flex: 1 1 auto; }
  .hero__meta { gap: 14px 26px; }
  .section__head--row { align-items: flex-start; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .work { border-radius: 14px; }
  .work__meta { left: 11px; right: 11px; bottom: 10px; }
  .work__info { font-size: .7rem; }
  .work__top { top: 9px; left: 9px; right: 9px; }
  .menu__row { gap: 10px; }
  .menu__sub { flex-direction: column; gap: 6px; }
  .fields { grid-template-columns: 1fr; }
  .step { padding: 20px 14px; }
  .days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stats { gap: 10px; }
  .deco { width: clamp(190px, 55vw, 280px); }
  .deco--sm { width: 120px; }
  .stats span { font-size: .76rem; }
  .hours { min-width: 0; width: 100%; }
  .lightbox { padding: 64px 14px 20px; }
  .lightbox__nav { display: none; }
  .lightbox__media video { height: auto; width: min(100%, 34vh); }
  .lightbox__actions { grid-template-columns: 1fr; }
}

/* ---------- iPhone: dodir na pločicu ide na dugme, ne na video ---------- */
.work img, .work video { pointer-events: none; }

/* Dugme ▶ i poruka o grešci u prozoru sa snimkom */
.lightbox__media { position: relative; }
.lightbox__play {
  position: absolute; inset: 0; margin: auto;
  width: 78px; height: 78px;
  padding-left: 6px;
  border: 0; border-radius: 50%;
  background: var(--gold); color: #111;
  font-size: 1.6rem; line-height: 1;
  cursor: pointer;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .8);
}
.lightbox__error {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  margin: 0; padding: 12px 14px;
  border-radius: 12px;
  background: rgba(11, 11, 11, .88);
  color: var(--text);
  font-size: .9rem; text-align: center;
}
.lightbox__error a { color: var(--gold); }

/* ---------- Prozor sa snimkom: čist izgled sa sopstvenim kontrolama ---------- */
.lightbox__media {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  line-height: 0;
}
.lightbox__media video { cursor: pointer; }
.lightbox__play { z-index: 2; }
.lightbox__mute {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
}
.lightbox__mute svg { width: 20px; height: 20px; }
.lightbox__progress {
  position: absolute; left: 14px; right: 14px; bottom: 10px; z-index: 2;
  height: 16px;
  display: flex; align-items: center;
  cursor: pointer;
}
.lightbox__progress::before {
  content: "";
  position: absolute; left: 0; right: 0;
  height: 3px; border-radius: 2px;
  background: rgba(255, 255, 255, .3);
}
.lightbox__progress i {
  position: relative;
  display: block; width: 100%; height: 3px;
  border-radius: 2px;
  background: #fff;
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s linear;
}

/* Telefon: snimak preko celog ekrana, tekst i dugmad preko donjeg dela */
@media (max-width: 760px) {
  .lightbox { padding: 0; background: #000; }
  .lightbox__inner {
    position: relative;
    display: block;
    width: 100%; height: 100%; max-height: none;
  }
  .lightbox__media { position: absolute; inset: 0; }
  .lightbox__media video {
    width: 100%; height: 100%;
    aspect-ratio: auto;
    object-fit: contain;
    border-radius: 0; box-shadow: none;
    animation: none;
  }
  .lightbox__nav { display: none; }
  .lightbox__progress { top: calc(8px + env(safe-area-inset-top, 0px)); bottom: auto; left: 12px; right: 12px; }
  .lightbox__mute { top: calc(32px + env(safe-area-inset-top, 0px)); left: 12px; }
  .lightbox__close {
    top: calc(32px + env(safe-area-inset-top, 0px)); right: 12px;
    width: 40px; height: 40px;
    border: 0;
    background: rgba(0, 0, 0, .45);
    color: #fff;
  }
  .lightbox__info {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    width: auto;
    padding: 80px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    text-align: left;
    background: linear-gradient(transparent, rgba(0, 0, 0, .9) 55%);
    pointer-events: none;
  }
  .lightbox__info > * { pointer-events: auto; }
  .lightbox__info .eyebrow { margin-bottom: 4px; font-size: .82rem; }
  .lightbox__info h3 { margin-bottom: 2px; font-size: 1.8rem; }
  .lightbox__likes { margin: 0 0 14px; font-size: .85rem; }
  .lightbox__actions { grid-template-columns: 1fr 1fr; gap: 8px; }
  .lightbox__actions .btn { padding: 13px 10px; font-size: .86rem; }
  .lightbox__error { top: 50%; bottom: auto; transform: translateY(-50%); }
}

/* ---------- Telefon: ništa ne sme da viri sa strane (stariji iPhone ne zna za overflow: clip) ---------- */
@supports not (overflow: clip) {
  .section { overflow: hidden; }
}

/* Prozor sa snimkom prati stvarnu vidljivu visinu ekrana (traka sa adresom se skuplja i širi) */
@media (max-width: 760px) {
  .lightbox {
    inset: 0 0 auto 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
  }
  .lightbox__media video { object-position: 50% 50%; }
}
