/* =========================================================
   Apartmani MIR 1954 Varaždin
   Paleta i tipografija izvedeni iz fotografija apartmana:
   topla krem podloga, ponoćno plava, mesing/zlato.
   ========================================================= */

:root {
  /* --- boje --- */
  --cream:      #f4efe6;
  --cream-2:    #ece4d6;
  --cream-3:    #e3d9c8;
  --navy:       #14203a;
  --navy-2:     #0e1830;
  --ink:        #1c2740;
  --ink-soft:   #55597a;
  --ink-mute:   #6d6a5f;
  --gold:       #b2913f;
  --gold-2:     #c8a860;
  --gold-soft:  #e7d9b6;
  --line:       #d9cfbd;
  --line-navy:  rgba(255,255,255,.16);
  --white:      #ffffff;

  /* --- tipografija --- */
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* --- razmaci --- */
  --wrap:   1240px;
  --gut:    clamp(20px, 5vw, 64px);
  --sec-y:  clamp(64px, 9vw, 140px);

  /* --- radijusi / sjene / easing --- */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --sh-1: 0 2px 10px rgba(20,32,58,.06);
  --sh-2: 0 18px 50px -20px rgba(20,32,58,.28);
  --sh-3: 0 30px 80px -30px rgba(20,32,58,.45);
  --ease: cubic-bezier(.22,.61,.36,1);
  --dur:  .55s;
}

/* ===================== RESET / BASE ===================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

/* Fokus vidljivost */
:focus-visible {
  outline: 2.5px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===================== TIPOGRAFIJA ===================== */
.display {
  font-family: var(--serif);
  font-weight: 380;
  font-optical-sizing: auto;
  text-transform: lowercase;
  letter-spacing: -.01em;
  line-height: 1.04;           /* ≥0.95 + zraka za š ž ć đ na drugom retku */
  font-size: clamp(2.5rem, 6.4vw, 5.4rem);
  color: var(--ink);
  padding-top: .08em;          /* prostor za dijakritiku iznad */
}
.display.light { color: var(--cream); }

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.eyebrow.light { color: var(--gold-2); }

.ink-dot  { color: var(--gold); }
.gold-dot { color: var(--gold-2); }

.section     { padding-block: var(--sec-y); }
.section-alt { padding-block: var(--sec-y); background: var(--cream-2); }
.section-navy{ padding-block: var(--sec-y); background: var(--navy); color: var(--cream); }

.section-head { max-width: 620px; margin-bottom: clamp(2.2rem, 4vw, 3.6rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-note {
  margin-top: 1.4rem; color: var(--ink-soft); max-width: 46ch; font-size: .98rem;
}
.section-head.center .section-note { margin-inline: auto; }

/* ===================== BUTTONS ===================== */
.btn {
  --bg: var(--ink); --fg: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 1.75rem;
  background: var(--bg); color: var(--fg);
  border-radius: 100px;
  font-size: .95rem; font-weight: 500; letter-spacing: .01em;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.btn-gold  { --bg: var(--gold); --fg: #22190a; }
.btn-gold:hover { background: var(--gold-2); }
.btn-outline {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--line); box-shadow: none;
}
.btn-outline:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.section-navy .btn-outline { color: var(--cream); border-color: var(--line-navy); }
.section-navy .btn-outline:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.btn-ghost-light {
  background: rgba(255,255,255,.08); color: var(--cream);
  border: 1.5px solid rgba(255,255,255,.4); backdrop-filter: blur(6px);
}
.btn-ghost-light:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }

.center-btn { text-align: center; margin-top: clamp(2rem, 4vw, 3rem); }

/* ===================== HEADER ===================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), color .4s var(--ease);
  color: var(--cream);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; height: 84px;
}
.site-header.scrolled {
  background: rgba(244,239,230,.86);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
}

.brand { display: inline-flex; align-items: flex-start; gap: .28em; line-height: 1; }
.brand-word {
  font-family: var(--serif); font-weight: 500; font-size: 1.85rem;
  letter-spacing: -.02em; text-transform: lowercase;
}
.brand-dot { color: var(--gold); }
.site-header.scrolled .brand-dot { color: var(--gold); }
.brand-sub {
  font-family: var(--sans); font-size: .62rem; font-weight: 600;
  letter-spacing: .12em; margin-top: .5em; opacity: .8;
}

.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.1rem); }
.main-nav > a { font-size: .92rem; font-weight: 500; position: relative; padding: .3rem 0; opacity: .92; }
.main-nav > a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1.5px; width: 0;
  background: currentColor; transition: width .35s var(--ease);
}
.main-nav > a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  padding: .55rem 1.3rem; border: 1.5px solid currentColor; border-radius: 100px;
  font-weight: 500; transition: background .3s var(--ease), color .3s var(--ease);
}
.site-header.scrolled .nav-cta:hover { background: var(--ink); color: var(--cream); }
.nav-cta:hover { background: var(--cream); color: var(--navy); }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.lang-switch { display: flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 600; letter-spacing: .04em; }
.lang-switch button { padding: .3rem .35rem; opacity: .55; transition: opacity .3s; min-width: 34px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.lang-switch button.is-active { opacity: 1; color: var(--gold); }
.site-header:not(.scrolled) .lang-switch button.is-active { color: var(--gold-2); }

.menu-toggle { display: none; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .3s; }

/* ===================== MOBILE MENU ===================== */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--navy); color: var(--cream);
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2rem,10vw,5rem) var(--gut);
  transform: translateY(-100%); transition: transform .55s var(--ease);
  visibility: hidden;
}
.mobile-menu.open { transform: translateY(0); visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: .4rem; }
.mobile-menu nav > a {
  font-family: var(--serif); font-size: clamp(2rem, 9vw, 3rem); text-transform: lowercase;
  line-height: 1.15; padding: .25rem 0; opacity: 0; transform: translateY(14px);
}
.mobile-menu.open nav > a { animation: menuIn .5s var(--ease) forwards; }
.mobile-menu.open nav > a:nth-child(1){ animation-delay:.08s } .mobile-menu.open nav > a:nth-child(2){ animation-delay:.13s }
.mobile-menu.open nav > a:nth-child(3){ animation-delay:.18s } .mobile-menu.open nav > a:nth-child(4){ animation-delay:.23s }
.mobile-menu.open nav > a:nth-child(5){ animation-delay:.28s } .mobile-menu.open nav > a:nth-child(6){ animation-delay:.33s }
.mobile-menu.open nav > a:nth-child(7){ animation-delay:.38s } .mobile-menu.open nav > a:nth-child(8){ animation-delay:.43s }
@keyframes menuIn { to { opacity: 1; transform: translateY(0); } }
.mobile-cta { color: var(--gold-2) !important; }
.mobile-menu-foot { margin-top: 2.5rem; display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: .95rem; opacity: .8; border-top: 1px solid var(--line-navy); padding-top: 1.5rem; }
body.menu-open { overflow: hidden; }

/* ===================== HERO ===================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding-bottom: clamp(3rem, 8vh, 6rem); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(14,24,48,.82) 0%, rgba(14,24,48,.32) 42%, rgba(14,24,48,.28) 70%, rgba(14,24,48,.5) 100%);
}
.hero-content { position: relative; color: var(--cream); }
.hero-kicker { font-size: .82rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 1.4rem; }
.hero-title {
  font-family: var(--serif); font-weight: 340; text-transform: lowercase;
  font-size: clamp(2.9rem, 9vw, 7rem); line-height: 1.03; letter-spacing: -.015em;
  padding-top: .08em;
}
.hero-title span { display: block; }
.hero-dot { color: var(--gold-2); }
.hero-lead { max-width: 44ch; margin-top: 1.6rem; font-size: clamp(1rem, 1.4vw, 1.2rem); color: rgba(244,239,230,.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

.hero-rating {
  position: absolute; top: clamp(96px, 14vh, 150px); right: var(--gut); z-index: 2;
  display: flex; align-items: center; gap: .85rem;
  background: rgba(20,32,58,.4); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.25);
  padding: .7rem 1.1rem .7rem .8rem; border-radius: 100px; color: var(--cream);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.hero-rating:hover { transform: translateY(-3px); background: rgba(20,32,58,.62); }
.rating-score { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; background: var(--gold); color: #22190a; width: 2.5em; height: 1.7em; display: grid; place-items: center; border-radius: 12px; line-height: 1; }
.rating-meta { display: flex; flex-direction: column; line-height: 1.25; }
.rating-meta strong { font-size: .95rem; }
.rating-meta em { font-style: normal; font-size: .8rem; opacity: .8; }

.hero-scroll {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  writing-mode: vertical-rl; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(244,239,230,.75); padding: .5rem;
}
.hero-scroll::after { content: ""; display: block; width: 1px; height: 34px; margin: .6rem auto 0; background: rgba(244,239,230,.5); animation: scrollLine 2s var(--ease) infinite; transform-origin: top; }
@keyframes scrollLine { 0%{transform:scaleY(0);opacity:0} 40%{transform:scaleY(1);opacity:1} 100%{transform:scaleY(0);opacity:0;transform-origin:bottom} }

/* ===================== INTRO ===================== */
.intro { padding-block: var(--sec-y); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.intro-head { position: sticky; top: 110px; }
.intro-body p { color: var(--ink-soft); font-size: 1.06rem; margin-bottom: 1.3rem; max-width: 52ch; }
.intro-stats { display: flex; gap: clamp(1.5rem, 4vw, 3rem); margin-top: 2.2rem; flex-wrap: wrap; }
.intro-stats li { display: flex; flex-direction: column; }
.stat-num { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 400; color: var(--ink); line-height: 1; }
.stat-lab { font-size: .82rem; letter-spacing: .04em; color: var(--ink-mute); margin-top: .4rem; text-transform: lowercase; }

/* ===================== APARTMANI ===================== */
.apartment-list { display: flex; flex-direction: column; gap: clamp(2rem, 5vw, 4rem); }
.apartment {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 3.5vw, 3.5rem);
  align-items: center;
}
.apartment:nth-child(even) .apt-media { order: 2; }
.apt-media {
  position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2);
  aspect-ratio: 4 / 3; min-height: 0; min-width: 0;
}
.apt-media img { width: 100%; height: 100%; object-fit: cover; min-height: 0; min-width: 0; transition: transform 1.1s var(--ease); }
.apartment:hover .apt-media img { transform: scale(1.05); }
.apt-badge {
  position: absolute; top: 1rem; left: 1rem; background: rgba(244,239,230,.92); backdrop-filter: blur(6px);
  color: var(--ink); font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  padding: .45rem .9rem; border-radius: 100px;
}
.apt-body h3 { font-family: var(--serif); font-weight: 400; text-transform: lowercase; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.02; padding-top: .06em; letter-spacing: -.01em; }
.apt-specs { display: flex; flex-wrap: wrap; gap: 1.2rem; margin: 1.1rem 0 1.3rem; }
.apt-specs li { display: inline-flex; align-items: center; gap: .5rem; font-size: .92rem; color: var(--ink-soft); }
.apt-specs svg { width: 20px; height: 20px; stroke: var(--gold); flex: none; }
.apt-desc { color: var(--ink-soft); max-width: 48ch; margin-bottom: 1.3rem; }
.apt-rooms { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.5rem; }
.apt-rooms li { display: flex; gap: .6rem; font-size: .92rem; align-items: baseline; }
.apt-rooms li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; transform: translateY(6px); }
.apt-rooms b { color: var(--ink); font-weight: 600; }
.apt-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.apt-tags span { font-size: .78rem; padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 100px; color: var(--ink-mute); }
.apt-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 1.4rem; }
.apt-price { line-height: 1.2; }
.apt-price .from { font-size: .78rem; color: var(--ink-mute); text-transform: lowercase; display: block; }
.apt-price .amount { font-family: var(--serif); font-size: 1.9rem; color: var(--ink); }
.apt-price .amount small { font-size: .9rem; color: var(--ink-mute); font-family: var(--sans); }

/* ===================== SADRŽAJI ===================== */
.amenity-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.8rem, 1.6vw, 1.3rem); }
.amenity {
  display: flex; flex-direction: column; gap: .9rem; align-items: flex-start;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.5rem 1.4rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.amenity:hover { transform: translateY(-4px); box-shadow: var(--sh-1); border-color: var(--gold-soft); }
.amenity svg { width: 30px; height: 30px; stroke: var(--gold); stroke-width: 1.4; fill: none; }
.amenity span { font-size: .95rem; font-weight: 500; color: var(--ink); }

/* ===================== GALERIJA ===================== */
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(150px, 20vw, 260px); gap: clamp(.7rem, 1.4vw, 1.1rem); }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--r-md); min-height: 0; min-width: 0; box-shadow: var(--sh-1); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; min-height: 0; min-width: 0; transition: transform 1s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
/* mozaik raspored */
.gallery-item:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 5; grid-row: span 1; }
.gallery-item:nth-child(3) { grid-column: span 5; grid-row: span 1; }
.gallery-item:nth-child(4) { grid-column: span 4; grid-row: span 2; }
.gallery-item:nth-child(5) { grid-column: span 4; grid-row: span 1; }
.gallery-item:nth-child(6) { grid-column: span 4; grid-row: span 1; }
.gallery-item.extra { grid-column: span 4; grid-row: span 1; }
.gallery-item.hidden { display: none; }

/* ===================== RECENZIJE ===================== */
.reviews-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2.4rem,4vw,3.4rem); }
.reviews-score { display: flex; align-items: center; gap: 1.1rem; }
.score-badge { font-family: var(--serif); font-size: 2rem; font-weight: 500; background: var(--gold); color: #22190a; width: 2.4em; height: 2.4em; display: grid; place-items: center; border-radius: 18px; }
.score-text { display: flex; flex-direction: column; }
.score-text strong { font-size: 1.15rem; }
.score-text em { font-style: normal; font-size: .85rem; color: rgba(244,239,230,.7); }

.rating-bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem 2.4rem; margin-bottom: clamp(2.4rem,4vw,3.6rem); }
.rating-bar .rb-top { display: flex; justify-content: space-between; font-size: .9rem; margin-bottom: .5rem; }
.rating-bar .rb-top strong { font-weight: 600; color: var(--gold-2); }
.rating-track { height: 5px; border-radius: 100px; background: rgba(255,255,255,.14); overflow: hidden; }
.rating-fill { display: block; height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); width: 0; transition: width 1.1s var(--ease); }

.review-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem,2vw,1.6rem); }
.review-card {
  background: rgba(255,255,255,.05); border: 1px solid var(--line-navy);
  border-radius: var(--r-md); padding: 1.7rem 1.6rem; display: flex; flex-direction: column; gap: 1rem;
}
.review-quote { font-family: var(--serif); font-size: 1.08rem; line-height: 1.5; font-weight: 340; color: var(--cream); position: relative; }
.review-quote::before { content: "\201C"; color: var(--gold-2); font-size: 1.4em; line-height: 0; }
.review-who { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.review-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--gold); color: #22190a; display: grid; place-items: center; font-family: var(--serif); font-size: 1.15rem; flex: none; }
.review-who .rn { font-weight: 600; font-size: .95rem; }
.review-who .rl { font-size: .8rem; color: rgba(244,239,230,.6); }
.review-stars { color: var(--gold-2); letter-spacing: 2px; font-size: .85rem; }

/* ===================== LOKACIJA ===================== */
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,5rem); align-items: center; }
.location-media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2); aspect-ratio: 4/5; min-height: 0; min-width: 0; }
.location-media img { width: 100%; height: 100%; object-fit: cover; min-height: 0; min-width: 0; }
.location-badge {
  position: absolute; left: 1.2rem; bottom: 1.2rem; background: rgba(20,32,58,.72); backdrop-filter: blur(10px);
  color: var(--cream); border-radius: var(--r-md); padding: 1rem 1.3rem; display: flex; flex-direction: column; line-height: 1;
}
.loc-num { font-family: var(--serif); font-size: 2rem; }
.loc-lab { font-size: .8rem; opacity: .8; margin-top: .3rem; }
.location-address { display: flex; align-items: center; gap: .6rem; font-weight: 500; margin: 1.4rem 0; }
.addr-icon { width: 22px; height: 22px; flex: none; display: inline-flex; }
.addr-icon svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; }
.loc-title { margin-bottom: 1.6rem; }
.loc-fest { color: var(--ink-soft); max-width: 48ch; margin-top: 1.1rem; }
.loc-fest a { color: var(--gold); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; transition: color .3s var(--ease); }
.loc-fest a:hover { color: var(--ink); }
.location-text .btn-outline { margin-bottom: 0; }

/* ===================== INFO / KUĆNI RED ===================== */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.info-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.8rem 1.7rem; }
.info-card .ic-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--gold-soft); display: grid; place-items: center; margin-bottom: 1.1rem; }
.info-card .ic-icon svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.6; }
.info-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: .8rem; }
.info-card ul { display: flex; flex-direction: column; gap: .55rem; }
.info-card li { font-size: .92rem; color: var(--ink-soft); display: flex; gap: .5rem; }
.info-card li strong { color: var(--ink); font-weight: 600; }
.info-card li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex: none; margin-top: .55rem; }

/* ===================== FAQ ===================== */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem,4vw,4rem); align-items: start; }
.faq-wrap .section-head { position: sticky; top: 110px; margin-bottom: 0; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; text-align: left; padding: 1.4rem 0; font-size: 1.05rem; font-weight: 500; color: var(--ink); }
.faq-q .faq-ico { width: 24px; height: 24px; flex: none; position: relative; }
.faq-q .faq-ico::before, .faq-q .faq-ico::after { content: ""; position: absolute; background: var(--gold); border-radius: 2px; transition: transform .35s var(--ease); }
.faq-q .faq-ico::before { top: 11px; left: 3px; width: 18px; height: 2px; }
.faq-q .faq-ico::after  { top: 3px; left: 11px; width: 2px; height: 18px; }
.faq-item.open .faq-ico::after { transform: scaleY(0); }
.faq-a { overflow: hidden; height: 0; transition: height .4s var(--ease); }
.faq-a-inner { padding: 0 0 1.5rem; color: var(--ink-soft); font-size: .98rem; max-width: 60ch; }
.faq-a-inner ul { list-style: disc; padding-left: 1.2rem; margin-top: .6rem; display: flex; flex-direction: column; gap: .3rem; }

/* ===================== CTA ===================== */
.cta-inner { text-align: center; max-width: 760px; margin-inline: auto; }
.cta-title { font-size: clamp(2.6rem, 7vw, 5.2rem); }
.cta-lead { color: rgba(244,239,230,.82); max-width: 52ch; margin: 1.5rem auto 2.2rem; font-size: 1.08rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-facts { display: flex; justify-content: center; gap: clamp(1.5rem,4vw,3.5rem); margin-top: 3rem; flex-wrap: wrap; border-top: 1px solid var(--line-navy); padding-top: 2.2rem; }
.cta-facts li { display: flex; flex-direction: column; gap: .3rem; }
.cta-facts span { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-2); }
.cta-facts strong { font-size: 1.05rem; font-weight: 500; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--navy-2); color: var(--cream); padding-top: clamp(3.5rem,6vw,5.5rem); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.foot-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; color: var(--gold-2); margin: 1.3rem 0 .5rem; }
.footer-contact p:not(.foot-label) { color: rgba(244,239,230,.82); font-size: .95rem; line-height: 1.6; }
.footer-contact a:hover { color: var(--gold-2); }
.footer-nav, .footer-social { display: flex; flex-direction: column; gap: .6rem; }
.footer-nav a, .footer-social a { font-size: .95rem; color: rgba(244,239,230,.82); width: fit-content; transition: color .3s; }
.footer-nav a:hover, .footer-social a:hover { color: var(--gold-2); }
.footer-book { margin-top: 1.4rem; }
.footer-wordmark {
  font-family: var(--serif); text-transform: lowercase; font-weight: 400;
  font-size: clamp(6rem, 26vw, 22rem); line-height: .8; text-align: center;
  color: rgba(244,239,230,.06); user-select: none; margin-bottom: -.12em; letter-spacing: -.02em;
}
.footer-wordmark span { color: rgba(178,145,63,.4); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--line-navy); padding-block: 1.6rem 2rem; font-size: .84rem; color: rgba(244,239,230,.55); }

/* ===================== KUGLICA ZA KURSOR (blend, invert) ===================== */
.cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 22px; height: 22px; margin: -11px 0 0 -11px;
  border-radius: 50%; background: #ffffff;
  mix-blend-mode: difference;   /* invertira boju ispod: tamno -> svijetlo, svijetlo -> tamno */
  pointer-events: none; opacity: 0;
  transition: opacity .3s var(--ease), width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease);
  will-change: left, top;
}
.cursor-dot.big { width: 52px; height: 52px; margin: -26px 0 0 -26px; }

/* ===================== REVEAL ANIMACIJA ===================== */
/* Skrivamo SAMO ako JS radi (html.js). Bez JS-a je sve vidljivo (nema prazne stranice). */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1080px) {
  .amenity-grid { grid-template-columns: repeat(3, 1fr); }
  .rating-bars { grid-template-columns: repeat(2, 1fr); }
  .review-cards { grid-template-columns: 1fr; }
  .review-cards .review-card:nth-child(n+3) { display: none; }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .intro-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .intro-head { position: static; }
  .apartment, .apartment:nth-child(even) .apt-media { grid-template-columns: 1fr; }
  .apartment:nth-child(even) .apt-media { order: 0; }
  .location-grid { grid-template-columns: 1fr; }
  .location-media { aspect-ratio: 3/2; }
  .info-grid { grid-template-columns: 1fr; }
  .faq-wrap { grid-template-columns: 1fr; }
  .faq-wrap .section-head { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  :root { --dur: .4s; }
  .header-inner { height: 68px; }
  .brand-word { font-size: 1.6rem; }
  .hero { min-height: 92svh; }
  .hero-rating { top: 92px; bottom: auto; right: var(--gut); padding: .55rem .9rem .55rem .6rem; }
  .rating-score { font-size: 1.4rem; }
  .hero-scroll { display: none; }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
  .amenity { padding: 1.2rem 1.1rem; }
  .rating-bars { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 44vw; }
  .gallery-item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .nearby { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .apt-specs { gap: .8rem 1.1rem; }
  .cta-facts { gap: 1.4rem; }
}

/* Brže animacije na mobitelu */
@media (max-width: 620px) {
  .reveal { transition-duration: .45s; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal, .reveal { opacity: 1; transform: none; }
}
