/* Apartmani Mostar — limestone, Neretva emerald, Kujundžiluk copper. Young Serif + Rethink Sans. */
:root {
  --stone: #eee8dd;
  --stone-2: #e5ddcf;
  --paper: #f8f4ed;
  --ink: #23211d;
  --ink-2: #5d584f;
  --line: rgba(35, 33, 29, .16);
  --emerald: #1c6f60;
  --emerald-d: #0c4a40;
  --emerald-l: #3a9c86;
  --copper: #b4673b;
  --copper-d: #8f4a22;
  --f-d: 'Young Serif', Georgia, 'Times New Roman', serif;
  --f-b: 'Rethink Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --wrap: 1280px;
  --pad: clamp(20px, 4vw, 48px);
  --sec: clamp(88px, 11vw, 168px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--stone); color: var(--ink); font: 400 clamp(16px, .95rem + .15vw, 18px)/1.6 var(--f-b); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--stone); padding: 10px 16px; border-radius: 3px; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }

.kick { margin: 0 0 18px; font: 600 12px/1.3 var(--f-b); letter-spacing: .16em; text-transform: uppercase; color: var(--copper-d); }
.h2 { margin: 0; font: 400 clamp(34px, 2rem + 2.6vw, 64px)/1.04 var(--f-d); letter-spacing: -.01em; text-wrap: balance; }
.lead { margin: 22px 0 0; max-width: 56ch; color: var(--ink-2); font-size: clamp(17px, 1rem + .3vw, 20px); text-wrap: pretty; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 3px; border: 1px solid transparent; font-weight: 600; font-size: 15px; letter-spacing: .01em; text-decoration: none; transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.btn:active { transform: translateY(1px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--emerald-d); }
.btn-line { border-color: currentColor; }
.btn-line:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-wide { width: 100%; }
.round { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); transition: background-color .2s, border-color .2s, transform .2s var(--ease); }
.round svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.round:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.round:disabled { opacity: .35; pointer-events: none; }

/* ---------------- nav ---------------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 28px; height: 76px; padding: 0 var(--pad); transition: background-color .35s, box-shadow .35s, height .35s var(--ease); }
.nav.is-solid { background: rgba(238, 232, 221, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 400 19px/1 var(--f-d); white-space: nowrap; }
.brand b { font-weight: 400; color: var(--emerald); }
.brand-mark { width: 38px; height: 27px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a { position: relative; font-size: 15px; font-weight: 500; text-decoration: none; padding: 6px 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-end { display: flex; align-items: center; gap: 10px; }
.lang { width: 46px; height: 40px; border: 1px solid var(--line); border-radius: 3px; background: transparent; font-weight: 600; font-size: 13px; letter-spacing: .08em; }
.lang:hover { border-color: var(--ink); }
.nav-cta { min-height: 40px; padding: 0 18px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; position: relative; }
.menu-btn span:not(.sr) { position: absolute; left: 11px; right: 11px; height: 1.6px; background: var(--ink); transition: transform .3s var(--ease); }
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 26px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 45; background: var(--stone); padding: 110px var(--pad) 40px; }
.menu nav { display: grid; gap: 6px; }
.menu a { font: 400 clamp(36px, 10vw, 54px)/1.2 var(--f-d); text-decoration: none; opacity: 0; transform: translateY(14px); animation: menuIn .5s var(--ease) forwards; }
.menu a:nth-child(2) { animation-delay: .05s; } .menu a:nth-child(3) { animation-delay: .1s; } .menu a:nth-child(4) { animation-delay: .15s; } .menu a:nth-child(5) { animation-delay: .2s; color: var(--emerald); }
@keyframes menuIn { to { opacity: 1; transform: none; } }

/* ---------------- hero ---------------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; background: var(--stone); }
.hero-kick { margin: 0; padding: 104px var(--pad) 0; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); position: relative; z-index: 2; opacity: 0; transition: opacity 1s .3s; }
.hero-art { position: relative; flex: none; height: min(108vw, 64svh); margin-top: auto; }
.bridge { display: block; width: 100%; height: 100%; transform: translate3d(0, calc(var(--p, 0) * 70px), 0); will-change: transform; }
.hero-water { position: relative; z-index: 2; flex: 1 0 auto; display: flex; flex-direction: column; gap: 18px; padding: 8px var(--pad) 36px; background: #0c4a40; color: var(--paper); }
.hero-title { margin: 0; font: 400 clamp(52px, 15vw, 150px)/.92 var(--f-d); letter-spacing: -.02em; }
.hero-title, .hero-side { opacity: 0; transform: translateY(24px); transition: opacity 1.2s var(--ease) 1.5s, transform 1.4s var(--ease) 1.5s; }
.hero-line { margin: 0; max-width: 34ch; font-size: clamp(16px, 1rem + .25vw, 19px); color: rgba(248, 244, 237, .86); text-wrap: pretty; }
.hero-through { margin: 10px 0 0; font-size: 13px; letter-spacing: .04em; color: rgba(248, 244, 237, .6); }
.hero-through a { color: var(--paper); text-decoration: none; border-bottom: 1px solid rgba(248, 244, 237, .4); transition: opacity .4s; }
.hero-through a.is-out { opacity: 0; }
.hero.is-drawn .hero-kick { opacity: 1; }
.hero.is-drawn .hero-title, .hero.is-drawn .hero-side { opacity: 1; transform: none; }

/* svg pieces */
.bridge .ln { fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease-io); }
.bridge .ln-strong { stroke-width: 2.4; }
.bridge .ln-soft { stroke-opacity: .35; }
.bridge .ln-wave { stroke: #a7dccd; stroke-opacity: .45; stroke-width: 2; }
.bridge .fillin { opacity: 0; transition: opacity 1.4s ease 1.2s; }
.bridge .hill { fill: #e3dac9; }
.bridge .roof { fill: #8f877b; }
.bridge .wall { fill: #ebe2d2; }
.bridge .rock { fill: #cbbda4; }
.bridge .body { fill: #dccdb2; }
.bridge .vs { stroke: var(--ink); stroke-opacity: .3; stroke-width: 1.2; }
.bridge .window { opacity: 0; transition: opacity 1.6s ease 1.5s; }
.bridge .refl { opacity: 0; transition: opacity 2s ease 2.2s; }
.bridge .slide { opacity: 0; transform-box: fill-box; transform-origin: 50% 60%; transform: scale(1.02); transition: opacity 1.8s ease, transform 9s linear; }
.bridge .slide.is-on { opacity: 1; transform: scale(1.1); }
.hero.is-drawn .ln { stroke-dashoffset: 0; }
.hero.is-drawn .fillin, .hero.is-drawn .window { opacity: 1; }
.hero.is-drawn .refl { opacity: .9; }
.hero.is-drawn .ln-wave { animation: wave 7s ease-in-out infinite alternate; }
@keyframes wave { from { transform: translateX(-30px); } to { transform: translateX(30px); } }

@media (min-width: 900px) and (min-aspect-ratio: 5/4) {
  .hero-art { position: absolute; inset: 0; height: auto; margin: 0; }
  .hero-kick { padding-top: 112px; }
  .hero-water { position: absolute; left: 0; right: 0; bottom: 0; height: max(30svh, 18.75vw); flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px; padding: 0 var(--pad) clamp(24px, 4svh, 48px); background: none; }
  .hero-title { font-size: min(12.5svh, 7.4vw); }
  .hero-side { max-width: 30ch; text-align: right; }
  .hero-line { margin-left: auto; }
}

/* ---------------- apartments ---------------- */
.apts { padding: var(--sec) 0 calc(var(--sec) * .7); }
.apts-head { margin-bottom: clamp(40px, 6vw, 72px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.chip { min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: 14px; font-weight: 500; transition: background-color .25s, color .25s, border-color .25s; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.apts-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.map-col { position: sticky; top: 84px; }
.map { margin: 0; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; }
.map svg { display: block; width: 100%; height: auto; max-height: calc(100svh - 170px); margin-inline: auto; }
.map figcaption { margin-top: 10px; font-size: 12.5px; color: var(--ink-2); }
.map .streets path { fill: none; stroke: var(--ink); stroke-opacity: .12; stroke-width: 7; stroke-linecap: round; }
.map .river { fill: none; stroke: #2e8c78; stroke-width: 30; stroke-linecap: round; }
.map .river-flow { fill: none; stroke: #bfe8db; stroke-opacity: .7; stroke-width: 2.5; stroke-dasharray: 6 26; animation: flow 3s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -64; } }
.map-river { font: 400 30px var(--f-d); fill: var(--emerald-d); letter-spacing: .08em; }
.map .landmark path, .map .landmark rect { fill: var(--paper); stroke: var(--ink); stroke-width: 3; }
.map .landmark text, .map .zone text { font: 600 24px var(--f-b); fill: var(--ink-2); }
.map .zone circle { fill: rgba(28, 111, 96, .05); stroke: var(--emerald); stroke-opacity: .35; stroke-width: 2; stroke-dasharray: 6 8; transition: fill .4s, stroke-opacity .4s; }
.map .zone text { font-size: 21px; letter-spacing: .14em; text-transform: uppercase; fill: var(--emerald); }
.map .zone.is-on circle { fill: rgba(28, 111, 96, .12); stroke-opacity: .9; }
.map .compass path { fill: var(--ink); } .map .compass text { font: 600 20px var(--f-b); fill: var(--ink); }
.pin { cursor: pointer; transition: opacity .35s; }
.pin .p-body { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .45s var(--ease); }
.pin path { fill: var(--ink); stroke: var(--paper); stroke-width: 3; transition: fill .3s; }
.pin text { font: 600 21px var(--f-b); fill: var(--paper); pointer-events: none; }
.pin .p-ring { fill: none; stroke: var(--copper); stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; }
.pin.is-on path { fill: var(--copper); }
.pin.is-on .p-body { transform: scale(1.28); }
.pin.is-on .p-ring { animation: ring 1.8s var(--ease) infinite; }
.pin.is-dim { opacity: .18; pointer-events: none; }
.pin:hover path { fill: var(--copper-d); }
@keyframes ring { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.2); } }

.apt { padding: clamp(32px, 4vw, 48px) 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.apt:first-child { border-top: 0; padding-top: 0; }
.apt.is-hidden { display: none; }
.apt-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 10px; }
.apt-no { font: 400 18px/1 var(--f-d); color: var(--copper-d); }
.apt-zone { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--emerald); }
.apt-guests { margin-left: auto; font-size: 13px; color: var(--ink-2); }
.apt-name { margin: 0; font: 400 clamp(26px, 1.3rem + 1.1vw, 38px)/1.1 var(--f-d); text-wrap: balance; }
.apt-short { margin: 8px 0 22px; color: var(--ink-2); }
.strip { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; gap: 8px; width: 100%; padding: 0; border: 0; background: none; text-align: left; position: relative; }
.strip .ph { position: relative; overflow: hidden; border-radius: 3px; background: var(--stone-2); aspect-ratio: 4 / 3; }
.strip .ph:first-child { grid-row: 1 / 3; aspect-ratio: auto; }
.strip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.strip:hover img { transform: scale(1.05); }
.strip .more { position: absolute; right: 10px; bottom: 10px; padding: 6px 12px; border-radius: 999px; background: rgba(248, 244, 237, .92); font-size: 13px; font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 20px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--ink-2); }
.tags li { display: inline-flex; align-items: center; gap: 8px; }
.tags li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--emerald-l); }
.apt-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 24px; }
.link { font-weight: 600; font-size: 15px; text-decoration: none; border-bottom: 1px solid var(--copper); padding-bottom: 2px; transition: color .2s; }
.link:hover { color: var(--copper-d); }

/* ---------------- mostar rail ---------------- */
.mostar { padding: calc(var(--sec) * .7) 0 var(--sec); background: var(--stone-2); }
.mostar-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 60px; margin-bottom: clamp(36px, 5vw, 60px); }
.mostar-head .lead { margin: 0; max-width: 40ch; }
.rail { display: flex; gap: clamp(14px, 1.6vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: max(var(--pad), (100% - var(--wrap)) / 2); scroll-padding-inline: max(var(--pad), (100% - var(--wrap)) / 2); cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rail.is-drag img { pointer-events: none; }
.frame { flex: none; width: clamp(250px, 27vw, 380px); margin: 0; scroll-snap-align: start; }
.frame .ph { overflow: hidden; border-radius: 3px; aspect-ratio: 4 / 5; background: var(--stone); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); user-select: none; -webkit-user-drag: none; }
.frame:hover img { transform: scale(1.04); }
.frame figcaption { display: grid; gap: 4px; margin-top: 14px; }
.frame .t { font: 400 19px/1.25 var(--f-d); }
.frame .s { font-size: 14px; color: var(--ink-2); }
.rail-ctl { display: flex; align-items: center; gap: 24px; margin-top: 28px; }
.rail-bar { flex: 1; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.rail-bar span { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--rp, .2)); transition: transform .2s; }
.rail-btns { display: flex; gap: 8px; }

/* ---------------- reviews ---------------- */
.gosti { padding: var(--sec) 0; }
.gosti-g { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px clamp(20px, 3vw, 40px); }
.gosti-head { grid-column: 1 / 5; }
.gosti-src { margin: 18px 0 0; font-size: 14px; color: var(--ink-2); }
.q { margin: 0; }
.q blockquote { margin: 0; font: 400 clamp(20px, 1rem + .6vw, 24px)/1.4 var(--f-d); text-wrap: pretty; }
.q figcaption { margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--copper-d); }
.q figcaption::before { content: '— '; }
.q-big { grid-column: 5 / 13; }
.q-big blockquote { font-size: clamp(26px, 1.2rem + 1.6vw, 42px); line-height: 1.22; }
.q:nth-of-type(2) { grid-column: 5 / 10; padding-top: 28px; border-top: 1px solid var(--line); }
.q:nth-of-type(3) { grid-column: 10 / 13; padding-top: 28px; border-top: 1px solid var(--line); }

/* ---------------- contact ---------------- */
.kontakt { padding: var(--sec) 0; background: var(--emerald-d); color: var(--paper); position: relative; overflow: hidden; }
.kontakt::before { content: ''; position: absolute; left: 50%; bottom: -46vw; width: 120vw; height: 92vw; transform: translateX(-50%); border: 1px solid rgba(248, 244, 237, .12); border-radius: 50% 50% 0 0 / 100% 100% 0 0; pointer-events: none; }
.kontakt .kick { color: #e3a57d; }
.kontakt .lead { color: rgba(248, 244, 237, .78); }
.kontakt-g { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px 80px; align-items: end; }
.phone { display: block; font: 400 clamp(38px, 1.6rem + 3vw, 72px)/1 var(--f-d); text-decoration: none; letter-spacing: -.01em; margin-bottom: 26px; transition: color .25s; }
.phone:hover { color: #a7dccd; }
.kontakt-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-viber { background: #7360f2; color: #fff; }
.btn-viber:hover { background: #5d49e0; }
.btn-wa { background: #25d366; color: #0b2e1a; }
.btn-wa:hover { background: #1fbd5a; }

/* ---------------- footer ---------------- */
.foot { background: var(--stone); padding: 56px 0 28px; font-size: 14.5px; }
.foot-g { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.foot-brand { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; font: 400 20px var(--f-d); }
.foot-brand small { grid-column: 2; font: 400 14px var(--f-b); color: var(--ink-2); }
.foot-brand .brand-mark { grid-row: 1 / 3; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; padding: 0; list-style: none; align-items: center; }
.foot-links a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s; }
.foot-links a:hover { border-color: currentColor; }
.foot-b { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 22px; color: var(--ink-2); font-size: 13px; }
.foot-b a { color: var(--ink); font-weight: 600; text-decoration: none; }
.foot-b a:hover { color: var(--copper-d); }

/* ---------------- apartment sheet ---------------- */
.sheet { width: min(1240px, 100% - 32px); max-width: none; max-height: calc(100svh - 32px); padding: 0; border: 0; border-radius: 6px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgba(20, 18, 15, .3); opacity: 0; transform: translateY(28px) scale(.985); transition: opacity .45s var(--ease), transform .55s var(--ease), overlay .45s allow-discrete, display .45s allow-discrete; }
.sheet[open] { opacity: 1; transform: none; }
@starting-style { .sheet[open] { opacity: 0; transform: translateY(28px) scale(.985); } }
.sheet::backdrop { background: rgba(20, 18, 15, 0); backdrop-filter: blur(0); transition: background-color .45s, backdrop-filter .45s, overlay .45s allow-discrete, display .45s allow-discrete; }
.sheet[open]::backdrop { background: rgba(20, 18, 15, .55); backdrop-filter: blur(6px); }
@starting-style { .sheet[open]::backdrop { background: rgba(20, 18, 15, 0); backdrop-filter: blur(0); } }
.sheet-in { padding: clamp(20px, 3vw, 36px); }
.sheet-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 22px; }
.sheet-top .kick { margin-bottom: 8px; color: var(--emerald); }
.sheet-title { margin: 0; font: 400 clamp(26px, 1.2rem + 1.4vw, 40px)/1.1 var(--f-d); }
.sheet-g { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); align-items: start; }
.gal { container-type: inline-size; min-width: 0; }
.gal-main { position: relative; overflow: hidden; border-radius: 3px; background: var(--stone-2); width: min(100cqw, 62svh * var(--r, 1.5)); height: min(62svh, 100cqw / var(--r, 1.5)); margin-inline: auto; touch-action: pan-y; }
.gal-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.gal-main img.is-loading { opacity: .25; }
.gal-prev, .gal-next { position: absolute; top: 50%; translate: 0 -50%; background: rgba(248, 244, 237, .9); border-color: transparent; }
.gal-prev { left: 12px; } .gal-next { right: 12px; }
.gal-count { position: absolute; left: 12px; bottom: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(20, 18, 15, .6); color: #fff; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.gal-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.gal-thumbs::-webkit-scrollbar { display: none; }
.gal-thumbs button { flex: none; width: 76px; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 3px; overflow: hidden; opacity: .55; outline: 2px solid transparent; outline-offset: -2px; transition: opacity .2s, outline-color .2s; }
.gal-thumbs button.is-on { opacity: 1; outline-color: var(--copper); }
.gal-thumbs button:hover { opacity: 1; }
.gal-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.sheet-short { margin: 0 0 12px; font: 400 21px/1.3 var(--f-d); }
.sheet-text { margin: 0; color: var(--ink-2); }
.sheet-info .tags { margin-bottom: 28px; }

/* ---------------- reveal ---------------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

/* ---------------- responsive ---------------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .nav-end { margin-left: auto; }
}
@media (max-width: 900px) {
  .apts-grid { grid-template-columns: 1fr; }
  .map-col { position: static; }
  .map svg { max-height: 62svh; }
  .gosti-head, .q-big, .q:nth-of-type(2), .q:nth-of-type(3) { grid-column: 1 / -1; }
  .kontakt-g { grid-template-columns: 1fr; }
  .sheet-g { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav { height: 64px; gap: 12px; }
  .nav-cta { display: none; }
  .brand { font-size: 17px; }
  .brand-mark { width: 32px; }
  .hero-kick { padding-top: 88px; font-size: 11.5px; }
  .sheet { width: 100%; max-height: 100svh; height: 100svh; border-radius: 0; }
  .sheet-in { padding: 16px 16px 28px; }
  .gal-main { width: 100cqw; height: calc(100cqw / var(--r, 1.5)); max-height: 70svh; }
  .gal-prev, .gal-next { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .bridge { transform: none; }
}
.nw { white-space: nowrap; }
.nf { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 4px; padding: 40px var(--pad); text-align: center; }
.nf .lead { margin: 14px auto 28px; }
.nf-arch { width: min(320px, 70vw); margin-bottom: 28px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
