/* ==========================================================================
   Smeštaj Negotin — stilovi
   ========================================================================== */

/* Fontovi sa sopstvenog servera (smanjeni na latinicu sa č, ć, š, ž, đ) */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-weight: 300 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ivory: #f6f1e9;
  --cream: #eee6d8;
  --sand: #d8c9b2;
  --gold: #a8844f;
  --gold-soft: #c9a873;
  --ink: #1d1c1a;
  --anthracite: #2a2825;
  --muted: #6f685e;
  --line: rgba(29, 28, 26, 0.14);
  --line-light: rgba(246, 241, 233, 0.22);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 64px);
  --max: 1440px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--gold); color: var(--ivory); }

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--ivory);
  transition: top 0.3s;
}
.skip:focus { top: 16px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Tipografija ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 7.4vw, 124px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0;
}
.display em,
.h2 em,
.h3 em { font-style: italic; color: var(--gold); }

.h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0;
}

.h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.1;
  margin: 0;
}

.lead {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1.32;
  margin: 0;
}

.body-text { color: var(--muted); max-width: 46ch; margin: 0; }
.body-text + .body-text { margin-top: 1em; }

/* ---------- Layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: clamp(96px, 14vw, 200px) 0; }
.section--tight { padding: clamp(72px, 9vw, 128px) 0; }
.section--dark { background: var(--anthracite); color: var(--ivory); }
.section--dark .body-text,
.section--dark .eyebrow { color: rgba(246, 241, 233, 0.62); }
.section--cream { background: var(--cream); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Dugmad i linkovi ---------- */

.btn {
  --bg: var(--ink);
  --fg: var(--ivory);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 30px;
  border: 1px solid var(--bg);
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gold);
  transform: translateY(101%);
  transition: transform 0.6s var(--ease);
}
.btn:hover::after { transform: translateY(0); }
.btn:hover { border-color: var(--gold); color: var(--ivory); }

.btn--ghost { --bg: transparent; --fg: currentColor; border-color: currentColor; }
.btn--light { --bg: var(--ivory); --fg: var(--ink); }

.link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-bottom: 6px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.6s var(--ease), color 0.4s;
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--gold); }
.link .arrow { transition: transform 0.6s var(--ease); }
.link:hover .arrow { transform: translateX(6px); }

/* ---------- Zaglavlje ---------- */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--ink);
  transition: color 0.6s var(--ease), background-color 0.6s var(--ease), transform 0.6s var(--ease);
}
.header[data-tone="light"] { color: var(--ivory); }
.header.is-solid {
  background: rgba(246, 241, 233, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--ink);
}
.header.is-hidden { transform: translateY(-100%); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 84px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.brand__sub {
  margin-top: 5px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  opacity: 0.7;
}

.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 44px); }
.nav__link {
  position: relative;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.nav__cta {
  min-height: 42px;
  padding: 0 22px;
  font-size: 11px;
  --bg: transparent;
  --fg: currentColor;
  border-color: currentColor;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.menu-btn span {
  position: absolute;
  left: 10px; right: 10px;
  height: 1px;
  background: currentColor;
  transition: transform 0.5s var(--ease), top 0.5s var(--ease);
}
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 26px; }
.menu-open .menu-btn span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 110px var(--gutter) 40px;
  background: var(--anthracite);
  color: var(--ivory);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.8s var(--ease-in-out), visibility 0s 0.8s;
}
.menu-open .mobile-menu {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path 0.8s var(--ease-in-out);
}
.menu-open .header { color: var(--ivory); background: transparent; backdrop-filter: none; }
.mobile-menu a.mm-link {
  display: block;
  font-family: var(--serif);
  font-size: clamp(40px, 11vw, 64px);
  font-weight: 300;
  line-height: 1.15;
  border-bottom: 1px solid var(--line-light);
  padding: 8px 0;
}
.mobile-menu__foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  font-size: 13px;
  color: rgba(246, 241, 233, 0.7);
}

@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .header__inner { height: 68px; }
}

/* ==========================================================================
   Ulazak u apartman (scroll-driven)
   ========================================================================== */

.entrance {
  position: relative;
  height: 520vh;
  background: var(--ivory);
}

.stage {
  --pw: min(30vw, 440px);
  --ph: min(72vh, 740px);
  --side: clamp(28px, 3.6vw, 64px);
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--ivory);
}

.scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  will-change: transform, opacity;
}
.scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Portal: uokvireni prolaz kroz koji se "ulazi" */
.portal {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--pw);
  height: var(--ph);
  margin-left: calc(var(--pw) / -2);
  margin-top: calc(var(--ph) / -2);
  will-change: transform;
  transform-origin: 59% 47%;
}
.portal__img {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--sand);
}
.portal__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 50%;
}
.portal__frame {
  position: absolute;
  inset: -14px;
  border: 1px solid var(--gold-soft);
  pointer-events: none;
}

.doors {
  position: absolute;
  inset: 0;
  display: flex;
  perspective: 1800px;
  pointer-events: none;
}
.door {
  position: relative;
  flex: 1;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(0,0,0,0.12)),
    var(--anthracite);
  will-change: transform;
  backface-visibility: hidden;
}
.door--l { transform-origin: 0 50%; box-shadow: inset -1px 0 0 rgba(0,0,0,0.35); }
.door--r { transform-origin: 100% 50%; }
.door::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(201, 168, 115, 0.35);
}
.door::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 2px;
  height: 64px;
  margin-top: -32px;
  background: linear-gradient(var(--gold-soft), var(--gold));
}
.door--l::after { right: 18px; }
.door--r::after { left: 18px; }

/* 3D (WebGL) platna — vidljiva tek kada su mape dubine učitane */
.gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
}
.gl-on .gl { opacity: 1; }
.gl-on .scene { visibility: hidden; }
.gl-on .portal__img img { visibility: hidden; }

.intro__perk { display: block; margin-top: 8px; color: var(--ink); font-weight: 500; }

/* Google ocena */
.gbadge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  transition: border-color 0.4s, color 0.4s, background-color 0.4s;
}
.gbadge b { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1; color: var(--ink); }
.gbadge span { color: #f2b230; font-size: 18px; line-height: 1; letter-spacing: 0.1em; text-shadow: 0 1px 0 rgba(160, 110, 10, 0.25); }
.gbadge small { font-size: 12px; letter-spacing: 0.04em; }
.gbadge:hover { border-color: #f2b230; color: var(--ink); background: #fff; }
.quote__google { margin: 22px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 32px; }


/* Dugme "Uđite" na vratima */
.enter {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 112px;
  height: 112px;
  margin: -56px 0 0 -56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid rgba(201, 168, 115, 0.8);
  border-radius: 50%;
  background: rgba(29, 28, 26, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--ivory);
  cursor: pointer;
  transition: transform 0.6s var(--ease), background-color 0.5s, opacity 0.5s var(--ease);
}
.enter:hover { transform: scale(1.06); background: var(--gold); }
.enter__label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  line-height: 1;
}
.enter__hint {
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.8;
}
.enter__ring {
  position: absolute;
  inset: -1px;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  animation: enter-pulse 2.4s var(--ease) infinite;
}
@keyframes enter-pulse {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(1.55); opacity: 0; }
}
.enter.is-gone { opacity: 0; pointer-events: none; transform: scale(0.85); }
@media (max-width: 900px) {
  .enter { margin-top: calc(-56px + 30px); }
}
@media (prefers-reduced-motion: reduce) {
  .enter__ring { animation: none; }
}

.flash {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 58% 46%, #fffaf0 0%, var(--ivory) 55%, var(--cream) 100%);
  opacity: 0;
  pointer-events: none;
}

.shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 18, 16, 0.42) 0%, rgba(20, 18, 16, 0) 26%),
    linear-gradient(0deg, rgba(20, 18, 16, 0.5) 0%, rgba(20, 18, 16, 0) 40%);
  opacity: 0;
  pointer-events: none;
}

/* Uvodni tekst stoji levo i desno od vrata; širina se računa iz prostora pored portala */
.intro {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.intro__left,
.intro__right {
  position: absolute;
  top: 50%;
  width: calc(50% - var(--pw) / 2 - var(--side) - var(--gutter));
  transform: translateY(-50%);
  pointer-events: auto;
}
.intro__left {
  right: calc(50% + var(--pw) / 2 + var(--side));
  text-align: right;
}
.intro__right {
  left: calc(50% + var(--pw) / 2 + var(--side));
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.intro__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, min(6.4vw, calc((50vw - var(--pw) / 2 - var(--side) - var(--gutter)) / 3.7)), 112px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 18px 0 0;
  text-align: right;
}
.intro__title em { font-style: italic; color: var(--gold); display: block; }
.intro__left .eyebrow { display: flex; justify-content: flex-end; }
.intro__text {
  color: var(--muted);
  margin: 0;
  max-width: 30ch;
  font-size: 15px;
  line-height: 1.6;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-cue__line {
  position: relative;
  width: 1px;
  height: 44px;
  overflow: hidden;
  background: var(--line);
}
.scroll-cue__line::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 1px;
  height: 100%;
  background: var(--gold);
  animation: cue 2.4s var(--ease-in-out) infinite;
}
@keyframes cue {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

.captions {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(28px, 5vh, 56px);
  color: var(--ivory);
  pointer-events: none;
}
.caption {
  position: absolute;
  left: 0;
  bottom: 0;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(16px);
}
.caption__num {
  display: block;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold-soft);
  margin-bottom: 8px;
}
.caption__title {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1;
}

.progress {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(28px, 5vh, 56px);
  width: 1px;
  height: 120px;
  background: var(--line-light);
  opacity: 0;
}
.progress__bar {
  position: absolute;
  inset: 0;
  background: var(--gold-soft);
  transform-origin: top;
  transform: scaleY(0);
}

.outro {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 var(--gutter);
  text-align: center;
  color: var(--ivory);
  opacity: 0;
  pointer-events: none;
}
.outro.is-active { pointer-events: auto; }
.outro .eyebrow { color: var(--gold-soft); }
.outro .eyebrow::before { background: var(--gold-soft); }
.outro__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(46px, 7vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 22px 0 34px;
}
.outro__title em { font-style: italic; }

@media (max-width: 900px) {
  .entrance { height: 380vh; }
  .stage {
    --pw: min(76vw, 420px);
    --ph: min(52svh, 600px);
  }
  .portal { margin-top: calc(var(--ph) / -2 + 30px); }
  /* telefon: naslov iznad vrata, ocena i dugme ispod */
  .intro__left,
  .intro__right {
    left: var(--gutter);
    right: var(--gutter);
    width: auto;
    max-width: none;
  }
  .intro__left {
    top: calc(50% - var(--ph) / 2 + 30px - 22px);
    transform: translateY(-100%);
    text-align: left;
  }
  .intro__title { text-align: left; font-size: clamp(38px, 10.5vw, 60px); }
  .intro__title em { display: inline; }
  .intro__left .eyebrow { justify-content: flex-start; }
  .intro__right {
    top: calc(50% + var(--ph) / 2 + 30px + 22px);
    transform: none;
    align-items: stretch;
    gap: 12px;
  }
  .intro__right .gbadge { align-self: center; padding: 8px 16px; }
  .intro__text { display: none; }
  .intro__right .btn { min-height: 48px; width: 100%; }
  .scroll-cue { display: none; }
  .portal__frame { inset: -10px; }
}

@media (max-width: 900px) and (max-height: 700px) {
  .stage { --ph: 44svh; }
  .intro__right .gbadge { display: none; }
}

/* Bez animacije: statičan prikaz */
.no-motion .entrance { height: auto; }
.no-motion .stage { position: relative; height: 100svh; min-height: 640px; }

/* ==========================================================================
   Uvod / manifest
   ========================================================================== */

.manifest {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px var(--gutter);
}
.manifest__head { grid-column: 1 / span 4; }
.manifest__body { grid-column: 6 / span 7; }
.manifest__body .lead { margin-top: 0; }

.facts {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  margin-top: clamp(64px, 8vw, 120px);
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.fact__num {
  display: block;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 5vw, 80px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.fact__num sup { font-size: 0.4em; color: var(--gold); margin-left: 4px; vertical-align: super; }
.fact__label {
  display: block;
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 900px) {
  .manifest__head,
  .manifest__body { grid-column: 1 / -1; }
  .facts { grid-template-columns: repeat(3, 1fr); row-gap: 44px; gap: 44px 20px; }
}

/* ==========================================================================
   Apartmani (početna)
   ========================================================================== */

.apts__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(56px, 8vw, 120px);
}
.apts__head .body-text { max-width: 36ch; }

.apt {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0 var(--gutter);
  align-items: end;
}
.apt + .apt { margin-top: clamp(120px, 16vw, 240px); }

.apt__media {
  grid-column: 1 / span 8;
  position: relative;
}
.apt__main {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--sand);
}
.apt__main img,
.apt__detail img,
.parallax img {
  width: 100%;
  height: 118%;
  object-fit: cover;
  will-change: transform;
}
.apt__main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ivory);
  transform-origin: top;
  transition: transform 1.4s var(--ease-in-out);
}
.apt__main.is-in::after { transform: scaleY(0); }
.apt__main img { transition: scale 2.2s var(--ease); scale: 1.12; }
.apt__main.is-in img { scale: 1; }

.apt__detail {
  position: absolute;
  right: -12%;
  bottom: -10%;
  width: 38%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 10px solid var(--ivory);
  background: var(--sand);
}

.apt__info {
  grid-column: 10 / span 3;
  padding-bottom: 12px;
}
.apt__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--gold);
}
.apt__name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 4.6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin: 10px 0 24px;
}
.apt__desc { color: var(--muted); margin: 0 0 32px; }

.specs {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  border-top: 1px solid var(--line);
}
.specs li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.specs li span:first-child {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}

.apt--flip .apt__media { grid-column: 5 / span 8; grid-row: 1; }
.apt--flip .apt__info { grid-column: 1 / span 3; grid-row: 1; }
.apt--flip .apt__detail { right: auto; left: -12%; }

.apt__main a { display: block; height: 100%; }

@media (max-width: 1100px) {
  .apt__media,
  .apt--flip .apt__media { grid-column: 1 / span 7; }
  .apt__info { grid-column: 9 / span 4; }
  .apt--flip .apt__media { grid-column: 6 / span 7; }
  .apt--flip .apt__info { grid-column: 1 / span 4; }
}

@media (max-width: 760px) {
  .apts__head { flex-direction: column; align-items: flex-start; }
  .apt__media,
  .apt--flip .apt__media,
  .apt__info,
  .apt--flip .apt__info { grid-column: 1 / -1; grid-row: auto; }
  .apt__detail { width: 42%; right: -4px; bottom: -14%; border-width: 6px; }
  .apt--flip .apt__detail { left: auto; right: -4px; }
  .apt__info { padding-top: 72px; }
}

/* ==========================================================================
   Traka detalja (horizontalno)
   ========================================================================== */

.strip {
  position: relative;
  height: 300vh;
  background: var(--anthracite);
  color: var(--ivory);
}
.strip__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.strip__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 5vh;
}
.strip__head .eyebrow { color: rgba(246, 241, 233, 0.6); }
.strip__track {
  display: flex;
  align-items: flex-end;
  gap: clamp(20px, 3vw, 48px);
  padding: 0 var(--gutter);
  will-change: transform;
}
.strip__item { flex: none; margin: 0; }
.strip__item .frame {
  overflow: hidden;
  height: 58vh;
  background: #3a3733;
}
.strip__item img {
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: cover;
  transition: transform 1.6s var(--ease);
}
.strip__item:hover img { transform: scale(1.05); }
.strip__item figcaption {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(246, 241, 233, 0.6);
}
.strip__item figcaption b { color: var(--gold-soft); font-weight: 500; }
.strip__item:nth-child(even) .frame { height: 44vh; }

@media (max-width: 900px) {
  .strip { height: auto; padding: 96px 0; }
  .strip__sticky { position: relative; height: auto; }
  .strip__track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    transform: none !important;
  }
  .strip__track::-webkit-scrollbar { display: none; }
  .strip__item { scroll-snap-align: center; }
  .strip__item .frame,
  .strip__item:nth-child(even) .frame { height: 52svh; }
}

/* ==========================================================================
   Za firme
   ========================================================================== */

.biz {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 48px var(--gutter);
}
.biz__head { grid-column: 1 / span 5; }
.biz__head .body-text { margin-top: 28px; }
.biz__list {
  grid-column: 7 / span 6;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: biz;
}
.biz__list li {
  counter-increment: biz;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 8px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.biz__list li:first-child { border-top: 1px solid var(--line); }
.biz__list li::before {
  content: counter(biz, decimal-leading-zero);
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 18px;
  line-height: 1.5;
}
.biz__list strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.2;
}
.biz__list span { color: var(--muted); font-size: 15px; }

@media (max-width: 900px) {
  .biz__head,
  .biz__list { grid-column: 1 / -1; }
}

/* ==========================================================================
   Citat gosta
   ========================================================================== */

.quote {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(30px, 4vw, 60px);
  line-height: 1.15;
}
.quote figcaption {
  margin-top: 32px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.rating {
  display: flex;
  justify-content: center;
  gap: clamp(32px, 6vw, 96px);
  margin-top: 64px;
}
.rating div { text-align: center; }
.rating b {
  display: block;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 4vw, 64px);
  line-height: 1;
}
.rating span {
  display: block;
  margin-top: 10px;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ==========================================================================
   Lokacija
   ========================================================================== */

.loc {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 56px var(--gutter);
  align-items: start;
}
.loc__text { grid-column: 1 / span 5; }
.loc__text .h2 { margin: 24px 0 32px; }
.loc__media { grid-column: 7 / span 6; }

.places {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
}
.places li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.places li:first-child { border-top: 1px solid var(--line); }
.places b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
}
.places span { color: var(--muted); font-size: 13px; text-align: right; }

.addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.addresses p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.addresses h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
}

.map {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream);
}
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) sepia(0.18) contrast(0.95);
}
.map__poster {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
  border: 0;
  padding: 0;
  background: var(--anthracite);
  color: var(--ivory);
  cursor: pointer;
}
.map__poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transition: opacity 0.8s var(--ease), transform 1.6s var(--ease);
}
.map__poster:hover img { opacity: 0.35; transform: scale(1.04); }
.map__poster > span { position: relative; }
.map__poster .h3 { font-style: italic; }

@media (max-width: 900px) {
  .loc__text,
  .loc__media { grid-column: 1 / -1; }
  .addresses { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Rezervacija
   ========================================================================== */

.booking {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 56px var(--gutter);
}
.booking__head { grid-column: 1 / span 4; }
.booking__head .h2 { margin: 24px 0 28px; }
.booking__form { grid-column: 6 / span 7; }

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}
.field {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px 0 10px;
  border-bottom: 1px solid var(--line-light);
  transition: border-color 0.4s;
}
.field:focus-within { border-color: var(--gold-soft); }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(246, 241, 233, 0.55);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  margin-top: 6px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  color-scheme: dark;
}
.field textarea { font-family: var(--sans); font-size: 16px; resize: vertical; min-height: 48px; }
.field select { cursor: pointer; }
.field select option { color: var(--ink); background: var(--ivory); font-family: var(--sans); font-size: 16px; }
.field--select::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: 24px;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--gold-soft);
  border-bottom: 1px solid var(--gold-soft);
  transform: rotate(45deg);
  pointer-events: none;
}

.booking__note {
  margin: 20px 0 0;
  font-size: 13px;
  color: rgba(246, 241, 233, 0.55);
  min-height: 1.6em;
}
.booking__note.is-error { color: #e2b4a0; }

.booking__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.channels {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
  font-size: 13px;
  color: rgba(246, 241, 233, 0.6);
}
.channels a { color: var(--ivory); }
.channels a:hover { color: var(--gold-soft); }

.contact-lines { margin-top: 36px; }
.contact-lines a {
  display: block;
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.35;
  transition: color 0.4s;
}
.contact-lines a:hover { color: var(--gold-soft); }

@media (max-width: 900px) {
  .booking__head,
  .booking__form { grid-column: 1 / -1; }
  .fields { grid-template-columns: 1fr; }
  .booking__actions .btn { flex: 1 1 100%; }
}

/* ==========================================================================
   Podnožje
   ========================================================================== */

.footer {
  background: var(--ink);
  color: var(--ivory);
  padding: clamp(80px, 10vw, 140px) 0 32px;
}
.footer__big {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(54px, 12vw, 200px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin: 0 0 clamp(56px, 8vw, 110px);
}
.footer__big em { font-style: italic; color: var(--gold-soft); }
.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px var(--gutter);
  padding-top: 40px;
  border-top: 1px solid var(--line-light);
}
.footer__title {
  margin: 0 0 16px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(246, 241, 233, 0.5);
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 6px 0; font-size: 14px; color: rgba(246, 241, 233, 0.82); }
.footer li a { transition: color 0.3s; }
.footer li a:hover { color: var(--gold-soft); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 72px;
  font-size: 12px;
  color: rgba(246, 241, 233, 0.66);
}

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; }
}

/* ==========================================================================
   Stranica apartmana
   ========================================================================== */

.ph {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--anthracite);
  color: var(--ivory);
}
.ph__media {
  position: absolute;
  inset: 0;
}
.ph__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: ph-in 2.8s var(--ease) both;
}
@keyframes ph-in {
  from { transform: scale(1.14); filter: brightness(0.6); }
  to { transform: scale(1); filter: brightness(1); }
}
.ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,18,16,0.45) 0%, rgba(20,18,16,0) 30%),
    linear-gradient(0deg, rgba(20,18,16,0.7) 0%, rgba(20,18,16,0) 55%);
}
.ph__content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding-bottom: clamp(32px, 6vh, 72px);
}
.ph__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}
.ph .eyebrow { color: var(--gold-soft); }
.ph .eyebrow::before { background: var(--gold-soft); }
.ph .display { margin-top: 18px; }
.ph__meta {
  display: flex;
  gap: clamp(20px, 3vw, 48px);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.ph__meta b {
  display: block;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 34px;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1;
  margin-bottom: 6px;
}

@media (max-width: 760px) {
  .ph__row { flex-direction: column; align-items: flex-start; }
  .ph__meta b { font-size: 26px; }
  .ph__meta { font-size: 10px; }
}

.overview {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 48px var(--gutter);
}
.overview__lead { grid-column: 1 / span 7; }
.overview__lead .body-text { margin-top: 32px; max-width: 58ch; }
.overview__specs { grid-column: 9 / span 4; }

@media (max-width: 900px) {
  .overview__lead,
  .overview__specs { grid-column: 1 / -1; }
}

/* Galerija */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(12px, 2vw, 28px);
}
.g-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--sand);
  cursor: zoom-in;
  border: 0;
  padding: 0;
  display: block;
  width: 100%;
}
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease), filter 0.8s;
}
.g-item:hover img { transform: scale(1.045); }
.g-item::after {
  content: attr(data-label);
  position: absolute;
  left: 18px;
  bottom: 14px;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ivory);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s, transform 0.6s var(--ease);
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}
.g-item:hover::after { opacity: 1; transform: none; }

.g-a { grid-column: 1 / span 7; aspect-ratio: 4 / 5; }
.g-b { grid-column: 8 / span 5; aspect-ratio: 3 / 4; align-self: end; }
.g-c { grid-column: 2 / span 5; aspect-ratio: 3 / 4; }
.g-d { grid-column: 7 / span 6; aspect-ratio: 16 / 11; align-self: center; }
.g-e { grid-column: 1 / span 12; aspect-ratio: 21 / 9; }
.g-f { grid-column: 1 / span 4; aspect-ratio: 3 / 4; }
.g-g { grid-column: 5 / span 4; aspect-ratio: 3 / 4; margin-top: 18%; }
.g-h { grid-column: 9 / span 4; aspect-ratio: 3 / 4; }

@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .g-a, .g-d, .g-e { grid-column: 1 / -1; }
  .g-b, .g-c, .g-f, .g-g, .g-h { grid-column: span 1; margin-top: 0; }
  .g-e { aspect-ratio: 4 / 3; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: rgba(20, 18, 16, 0.97);
  color: var(--ivory);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease), visibility 0s 0.6s;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s var(--ease);
}
.lightbox__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px var(--gutter);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.lightbox__stage {
  position: relative;
  margin: 0 var(--gutter);
  overflow: hidden;
}
.lightbox__stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.7s var(--ease), transform 1.1s var(--ease), filter 0.7s;
}
.lightbox__stage img.is-leaving { opacity: 0; transform: scale(0.96); filter: blur(6px); }
.lightbox__stage img.is-entering { opacity: 0; transform: scale(1.06); }
.lightbox__nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 20px var(--gutter) 28px;
}
.icon-btn {
  width: 52px;
  height: 52px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  background: none;
  color: inherit;
  cursor: pointer;
  font-size: 18px;
  transition: border-color 0.4s, color 0.4s;
}
.icon-btn:hover { border-color: var(--gold-soft); color: var(--gold-soft); }

/* Sadržaji */
.amenities {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 48px var(--gutter);
}
.amenities__head { grid-column: 1 / span 4; }
.amenities__cols {
  grid-column: 6 / span 7;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px var(--gutter);
}
.amenities h3 {
  margin: 0 0 16px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}
.amenities ul { list-style: none; margin: 0; padding: 0; }
.amenities li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .amenities__head,
  .amenities__cols { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .amenities__cols { grid-template-columns: 1fr; }
}

/* Raspored spavanja */
.beds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--gutter);
  margin-top: 56px;
}
.bed {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.bed b {
  display: block;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 30px;
  line-height: 1.1;
  margin-bottom: 8px;
}
.bed span { color: var(--muted); font-size: 14px; }

/* Kućni red */
.rules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px var(--gutter);
  margin-top: 56px;
}
.rules div { border-top: 1px solid var(--line); padding-top: 18px; }
.rules dt {
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.rules dd {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.25;
}
@media (max-width: 900px) {
  .rules { grid-template-columns: 1fr 1fr; }
}

/* Sledeći apartman */
.next {
  position: relative;
  display: block;
  height: 80vh;
  min-height: 480px;
  overflow: hidden;
  color: var(--ivory);
  background: var(--anthracite);
}
.next img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  transform: scale(1.06);
  transition: transform 2s var(--ease), opacity 1s var(--ease);
}
.next:hover img { transform: scale(1); opacity: 0.75; }
.next__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.next .eyebrow { color: var(--gold-soft); }
.next .eyebrow::before { background: var(--gold-soft); }

/* ==========================================================================
   Animacije pojavljivanja
   ========================================================================== */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1.2s var(--ease), transform 1.4s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js [data-split] .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.js [data-split] .w > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1.3s var(--ease);
  transition-delay: calc(var(--i) * 0.06s + var(--d, 0s));
}
.js [data-split].is-in .w > span { transform: none; }

/* Zavesa preko slike (clip-path na samom elementu bi blokirao IntersectionObserver) */
.js [data-reveal="img"] {
  opacity: 1;
  transform: none;
}
.js [data-reveal="img"]::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 2;
  background: var(--ivory);
  transform-origin: top;
  transition: transform 1.5s var(--ease-in-out);
  transition-delay: var(--d, 0s);
  pointer-events: none;
}
.js [data-reveal="img"] img { scale: 1.15; transition: scale 2.2s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="img"].is-in::after { transform: scaleY(0); }
.js [data-reveal="img"].is-in img { scale: 1; }
.loc__media { position: relative; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal],
  .js [data-reveal="img"],
  .js [data-split] .w > span {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }
  .js [data-reveal="img"]::after { display: none; }
  .js [data-reveal="img"] img,
  .apt__main img { scale: 1 !important; }
  .apt__main::after { display: none; }
  .ph__media img { animation: none; }
}

/* ==========================================================================
   Česta pitanja
   ========================================================================== */

.faq {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 48px var(--gutter);
}
.faq__head { grid-column: 1 / span 4; }
.faq__list { grid-column: 6 / span 7; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  position: relative;
  display: block;
  padding: 26px 56px 26px 0;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.25;
  transition: color 0.4s;
}
.faq__item summary:hover h3 { color: var(--gold); }
.faq__item summary::before,
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 16px;
  height: 1px;
  background: var(--gold);
  transition: transform 0.5s var(--ease);
}
.faq__item summary::after { transform: rotate(90deg); }
.faq__item[open] summary::after { transform: rotate(0deg); }
.faq__item p {
  margin: 0;
  padding: 0 56px 28px 0;
  color: var(--muted);
  max-width: 62ch;
}
@media (max-width: 900px) {
  .faq__head,
  .faq__list { grid-column: 1 / -1; }
}

/* ==========================================================================
   Preloader
   ========================================================================== */

.loader {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 5vh, 48px) var(--gutter);
  background: var(--ivory);
  color: var(--ink);
  transition: clip-path 1.1s var(--ease-in-out), visibility 0s 1.1s;
  clip-path: inset(0 0 0 0);
}
.loader.is-done { clip-path: inset(0 0 100% 0); visibility: hidden; }
.loader__top {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.loader__name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 8vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0;
  overflow: hidden;
}
.loader__name span { display: inline-block; animation: loader-up 1.2s var(--ease) both; }
.loader__name em { font-style: italic; color: var(--gold); animation-delay: 0.12s; }
@keyframes loader-up { from { transform: translateY(105%); } }
.loader__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.loader__count {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.8;
  font-variant-numeric: tabular-nums;
}
.loader__bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gold);
  transform-origin: left;
  transform: scaleX(0);
}
/* bez JavaScript-a preloader se ne prikazuje */
html:not(.js) .loader { display: none; }

/* ==========================================================================
   Kursor (samo miš)
   ========================================================================== */

.cursor {
  position: fixed;
  left: 0; top: 0;
  z-index: 95;
  pointer-events: none;
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
}
.cursor__ring {
  position: absolute;
  left: -18px; top: -18px;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(168, 132, 79, 0.7);
  border-radius: 50%;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: transparent;
  transition: width 0.5s var(--ease), height 0.5s var(--ease), left 0.5s var(--ease), top 0.5s var(--ease), background-color 0.5s var(--ease), color 0.3s, border-color 0.5s, opacity 0.3s;
}
.cursor.is-label .cursor__ring {
  left: -46px; top: -46px;
  width: 92px; height: 92px;
  background: rgba(29, 28, 26, 0.82);
  border-color: transparent;
  color: var(--ivory);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.cursor.is-link .cursor__ring { transform: scale(0.5); background: var(--gold); border-color: var(--gold); }
.cursor.is-hidden .cursor__ring { opacity: 0; }

/* ==========================================================================
   Mobilna traka za rezervaciju
   ========================================================================== */

.mbar {
  position: fixed;
  left: 12px; right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 40;
  display: none;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(29, 28, 26, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  transform: translateY(140%);
  transition: transform 0.7s var(--ease);
}
.mbar.is-visible { transform: none; }
.mbar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory);
}
.mbar a:first-child { background: var(--gold); }
.mbar a + a { border: 1px solid var(--line-light); }
@media (max-width: 900px) {
  .mbar { display: flex; }
}

/* ==========================================================================
   Pokretna traka teksta
   ========================================================================== */

.marquee {
  overflow: hidden;
  padding: clamp(40px, 6vw, 80px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  user-select: none;
}
.marquee__track {
  display: inline-flex;
  animation: marquee 48s linear infinite;
}
.marquee__track span {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 8vw, 132px);
  line-height: 1;
  padding-right: 0.5em;
}
.marquee__track span:nth-child(even) { font-style: italic; color: var(--gold); }
.marquee__track span::after {
  content: "·";
  padding-left: 0.5em;
  color: var(--sand);
  font-style: normal;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* Filmsko zrno preko ulaska */
.stage::after {
  content: "";
  position: absolute;
  inset: -50%;
  z-index: 3;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track,
  .stage::after,
  .loader__name span { animation: none; }
}

/* Prelazi između stranica */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.5s var(--ease) both; }
::view-transition-new(root) { animation: vt-in 0.8s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }
