/* Real-estate template: one stylesheet for the listing site (home + property detail).
   Theme tokens first; a site can override them in a small inline <style> (the concept does). */

/* Fonts: self-hosted WOFF2 subsets (latin + latin-ext covers Croatian, German and Italian). */
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/newsreader-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/newsreader-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400; font-display: swap; src: url("../assets/fonts/newsreader-400i-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400; font-display: swap; src: url("../assets/fonts/newsreader-400i-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../assets/fonts/hanken-grotesk-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../assets/fonts/hanken-grotesk-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Metric-matched fallbacks (measured with fontTools), so the font swap does not move the layout. */
@font-face { font-family: "Newsreader Fallback"; src: local("Georgia"); size-adjust: 98.67%; ascent-override: 74.49%; descent-override: 26.86%; line-gap-override: 0%; }
@font-face { font-family: "Hanken Grotesk Fallback"; src: local("Arial"), local("ArialMT"), local("Helvetica"); size-adjust: 98.82%; ascent-override: 101.2%; descent-override: 30.66%; line-gap-override: 0%; }

:root {
  --bg: #F6F3EE;
  --bg-2: #EEE9E1;
  --surface: #FFFFFF;
  --ink: #13232B;
  --ink-2: #33444C;
  --muted: #56656C;
  --line: #E1DAD0;
  --line-2: #CFC6B9;
  --accent: #0E5C6B;
  --accent-ink: #FFFFFF;
  --accent-hover: #0B4D5A;
  --link: #0E5C6B;
  --hot: #A64B24;
  --hot-ink: #FFFFFF;
  --new: #0E5C6B;
  --deep: #0F1D24;
  --deep-ink: #F3EFE8;
  --focus: #0E5C6B;
  --pin: #13232B;
  --pin-ink: #FFFFFF;
  --pin-hot: #0E5C6B;
  --star: #C89B3C;

  --serif: "Newsreader", "Newsreader Fallback", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", "Hanken Grotesk Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r-sm: 10px; --r: 16px; --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(19, 35, 43, .06), 0 2px 8px rgba(19, 35, 43, .05);
  --shadow: 0 2px 6px rgba(19, 35, 43, .06), 0 12px 32px rgba(19, 35, 43, .10);
  --shadow-lg: 0 8px 20px rgba(10, 20, 26, .14), 0 30px 70px rgba(10, 20, 26, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --head-h: 72px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1280px;
  color-scheme: light;
}

/* ----------------------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 12px); background: var(--bg); overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); font-feature-settings: "kern", "liga"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; transition: top .2s var(--ease); }
.skip:focus { top: 12px; }
.num { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }

/* type */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.h2 { font: 400 clamp(2rem, 1.35rem + 2.6vw, 3.4rem)/1.04 var(--serif); letter-spacing: -.018em; color: var(--ink); }
.h2 em, .h1 em, .hero__title em { font-style: italic; }
.h3 { font: 600 1.25rem/1.3 var(--sans); letter-spacing: -.01em; }
.lede { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.section { padding: clamp(72px, 9vw, 132px) 0; }
.section--alt { background: var(--bg-2); }
.section--deep { background: var(--deep); color: var(--deep-ink); }
.section__head { display: grid; gap: 16px; margin-bottom: clamp(32px, 4vw, 56px); max-width: 760px; }
.section--deep .eyebrow { color: color-mix(in srgb, var(--deep-ink) 70%, transparent); }
.section--deep .h2 { color: var(--deep-ink); }
.section--deep .lede { color: color-mix(in srgb, var(--deep-ink) 82%, transparent); }

/* buttons */
.btn { --b: var(--accent); --bi: var(--accent-ink); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--b); background: var(--b); color: var(--bi); font: 600 1rem/1.1 var(--sans); letter-spacing: .005em; text-decoration: none; white-space: nowrap; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 30%, transparent); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--surface); border-color: var(--ink); color: var(--ink); box-shadow: none; }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: #f1ede6; border-color: #f1ede6; color: var(--ink); }
.btn--wa { background: #1F7A4D; border-color: #1F7A4D; color: #fff; }
.btn--wa:hover { background: #18663f; border-color: #18663f; box-shadow: 0 6px 18px rgba(31, 122, 77, .28); }
.btn--sm { min-height: 44px; padding: 10px 16px; font-size: .95rem; }
.btn--block { width: 100%; }
.linkbtn { background: none; border: 0; padding: 6px 0; color: var(--link); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; min-height: 44px; }

/* ----------------------------------------------------------------------------- header */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--head-h); color: #fff; transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), height .3s var(--ease); }
.hdr::before { content: ""; position: absolute; inset: 0 0 -40px; background: linear-gradient(180deg, rgba(8, 16, 20, .42), rgba(8, 16, 20, 0)); pointer-events: none; transition: opacity .3s var(--ease); }
.hdr.is-solid, .hdr--solid { background: color-mix(in srgb, var(--bg) 94%, transparent); color: var(--ink); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.hdr.is-solid::before, .hdr--solid::before { opacity: 0; }
.hdr.is-solid { --head-h: 64px; }
.hdr__in { position: relative; height: 100%; display: flex; align-items: center; gap: 18px; }
.logo { display: inline-flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; margin-right: auto; min-height: 44px; }
.logo__mark { width: 34px; height: 34px; flex: none; }
.logo__txt { display: grid; line-height: 1; }
.logo__name { font: 400 1.45rem/1 var(--serif); letter-spacing: -.01em; }
.logo__sub { font: 600 .62rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; opacity: .78; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: inherit; text-decoration: none; font-weight: 500; font-size: .98rem; padding: 10px 12px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; transition: background-color .2s var(--ease); }
.nav a:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.hdr__tools { display: flex; align-items: center; gap: 6px; }
.iconbtn { position: relative; width: 44px; height: 44px; border-radius: 999px; display: inline-grid; place-items: center; border: 0; background: transparent; color: inherit; text-decoration: none; transition: background-color .2s var(--ease); }
.iconbtn:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.iconbtn svg { width: 22px; height: 22px; }
.badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--hot); color: var(--hot-ink); font: 700 .7rem/18px var(--sans); text-align: center; }
.badge.pop { animation: pop .45s var(--ease); }
@keyframes pop { 0% { transform: scale(.4); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
.langsel { position: relative; }
.langsel > button { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); background: transparent; color: inherit; font-weight: 600; font-size: .9rem; letter-spacing: .04em; }
.langsel > button svg { width: 16px; height: 16px; }
.langsel__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; padding: 6px; border-radius: 14px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); border: 1px solid var(--line); list-style: none; opacity: 0; transform: translateY(-6px); visibility: hidden; transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s; }
.langsel.is-open .langsel__menu { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.langsel__menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; color: inherit; text-decoration: none; font-weight: 500; min-height: 44px; }
.langsel__menu a:hover { background: var(--bg); }
.langsel__menu a[aria-current="true"] { font-weight: 700; }
.langsel__menu a[aria-current="true"]::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hdr__cta { margin-left: 6px; }
.hdr .btn--hdr { --b: #fff; --bi: var(--ink); }
.hdr .btn--hdr:hover { background: #f1ede6; border-color: #f1ede6; box-shadow: none; }
.hdr.is-solid .btn--hdr, .hdr--solid .btn--hdr { --b: var(--accent); --bi: var(--accent-ink); }
.hdr.is-solid .btn--hdr:hover, .hdr--solid .btn--hdr:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.burger { display: none; }
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: inline-grid; }
}
@media (max-width: 560px) {
  :root { --head-h: 64px; }
  .logo__sub { display: none; }
  .logo__name { font-size: 1.3rem; }
  .hdr__cta { display: none; }
  .langsel > button { padding: 0 10px; }
}
/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 60; display: grid; grid-template-rows: auto 1fr auto; background: var(--bg); color: var(--ink); padding: 0 var(--gutter) max(24px, env(safe-area-inset-bottom)); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s; }
.drawer.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.drawer__top { height: var(--head-h); display: flex; align-items: center; justify-content: space-between; }
.drawer nav { display: grid; align-content: start; gap: 2px; padding-top: 12px; }
.drawer nav a { font: 400 2rem/1.2 var(--serif); color: var(--ink); text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); }
.drawer__foot { display: grid; gap: 10px; }

/* ----------------------------------------------------------------------------- hero */
.hero { position: relative; min-height: max(640px, 100svh); display: grid; align-items: end; color: #fff; isolation: isolate; overflow: clip; background: #1b2a30; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__media video.is-on { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(8, 16, 20, .30) 0%, rgba(8, 16, 20, 0) 28%, rgba(8, 16, 20, .0) 42%, rgba(8, 16, 20, .55) 78%, rgba(8, 16, 20, .72) 100%),
  linear-gradient(90deg, rgba(8, 16, 20, .45) 0%, rgba(8, 16, 20, 0) 62%); }
.hero__in { padding-top: calc(var(--head-h) + 48px); padding-bottom: clamp(28px, 5vw, 64px); display: grid; gap: clamp(22px, 3vw, 34px); }
.hero__copy { display: grid; gap: 18px; max-width: 880px; }
.hero__eyebrow { color: rgba(255, 255, 255, .86); }
.hero__title { font: 400 clamp(2.7rem, 1.3rem + 5.6vw, 6.1rem)/.98 var(--serif); letter-spacing: -.028em; text-shadow: 0 2px 30px rgba(0, 0, 0, .18); }
.hero__lede { font-size: clamp(1.05rem, .98rem + .4vw, 1.3rem); line-height: 1.55; color: rgba(255, 255, 255, .92); max-width: 52ch; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; font-size: .95rem; color: rgba(255, 255, 255, .9); }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 18px; height: 18px; color: #fff; opacity: .9; }
.vidbtn { position: absolute; right: var(--gutter); bottom: clamp(28px, 5vw, 64px); z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); background: rgba(10, 20, 26, .28); color: #fff; display: grid; place-items: center; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .2s var(--ease); }
.vidbtn:hover { background: rgba(10, 20, 26, .5); }
.vidbtn svg { width: 16px; height: 16px; }
@media (max-width: 860px) { .vidbtn { top: calc(var(--head-h) + 12px); bottom: auto; } }
@media (max-width: 760px) { .hero::after { background: linear-gradient(180deg, rgba(8, 16, 20, .5) 0%, rgba(8, 16, 20, .28) 26%, rgba(8, 16, 20, .5) 52%, rgba(8, 16, 20, .78) 100%); } }

/* entrance (JS adds .is-in on the next frame; without JS everything is visible) */
.js .rise { opacity: 0; transform: translateY(18px); }
.js .is-in .rise { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .is-in .rise:nth-child(2) { transition-delay: .08s; }
.js .is-in .rise:nth-child(3) { transition-delay: .16s; }
.js .is-in .rise:nth-child(4) { transition-delay: .24s; }
.js .is-in .search.rise { transition-delay: .28s; }

/* search panel */
.search { background: var(--surface); color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 8px; max-width: 1120px; }
.search__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 6px 10px 6px; }
.seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.seg button, .seg a { border: 0; background: transparent; color: var(--ink-2); font-weight: 600; font-size: .95rem; min-height: 40px; padding: 8px 18px; border-radius: 999px; text-decoration: none; display: inline-flex; align-items: center; transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease); }
.seg [aria-pressed="true"], .seg [aria-checked="true"], .seg [aria-current="true"] { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.search__hint { font-size: .9rem; color: var(--muted); padding-right: 8px; }
.search__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(138px, .95fr) auto; gap: 0; align-items: stretch; background: var(--bg); border-radius: calc(var(--r-lg) - 8px); border: 1px solid var(--line); }
.field { position: relative; display: grid; gap: 2px; padding: 10px 16px 9px; min-width: 0; }
.field + .field::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: var(--line-2); opacity: .7; }
.field label, .field .lbl { font: 600 .74rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.select { appearance: none; -webkit-appearance: none; width: 100%; min-height: 32px; padding: 2px 26px 2px 0; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 7.75 4.5 4.5 4.5-4.5' fill='none' stroke='%2313232B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 0 center / 18px; font-weight: 600; font-size: 1.02rem; color: var(--ink); text-overflow: ellipsis; cursor: pointer; }
.select:focus-visible { outline-offset: 6px; }
.field:focus-within { background: var(--surface); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line-2); }
.field:focus-within::before, .field:focus-within + .field::before { opacity: 0; }
.search__go { padding: 6px; display: grid; }
.search__go .btn { height: 100%; min-height: 56px; padding: 12px 26px; border-radius: 16px; font-size: 1.02rem; }
.search__more { display: none; }
.maplink { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px; color: var(--link); font-weight: 600; text-decoration: none; white-space: nowrap; }
.maplink svg { width: 18px; height: 18px; flex: none; }
.maplink:hover { text-decoration: underline; }
@media (max-width: 1100px) {
  .search__grid { grid-template-columns: 1fr 1fr 1fr; }
  .field:nth-child(4)::before { display: none; }
  .field:nth-child(n+4) { border-top: 1px solid var(--line); }
  .search__go { grid-column: 1 / -1; padding: 8px; }
}
@media (max-width: 640px) {
  .search { padding: 6px; border-radius: 20px; }
  .search__top { padding: 4px 4px 8px; }
  .search__hint { display: none; }
  .search__top .seg { flex: 1 1 auto; min-width: 0; }
  .search__top .seg button { flex: 1; justify-content: center; padding: 8px 12px; }
  .search__top .maplink { padding: 0 4px; }
  .search__grid { grid-template-columns: 1fr 1fr; border-radius: 16px; }
  .field { padding: 9px 12px 8px; }
  .field:nth-child(3)::before { display: none; }
  .field:nth-child(4)::before { display: block; }
  .field:nth-child(n+3) { border-top: 1px solid var(--line); }
  .field--rooms { grid-column: 1 / -1; }
  .field--rooms::before { display: none !important; }
  .search__go .btn { min-height: 52px; }
}

/* ----------------------------------------------------------------------------- results */
.offer { padding-top: clamp(64px, 7vw, 104px); }
.offer__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 32px; margin-bottom: 22px; }
.offer__title { display: grid; gap: 14px; max-width: 720px; }
.offer__lede { color: var(--ink-2); }
.bar { position: sticky; top: var(--head-h); z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 0; margin-bottom: 18px; background: color-mix(in srgb, var(--bg) 92%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: top .3s var(--ease); }
.bar__count { font-weight: 700; font-size: 1.05rem; margin-right: auto; display: flex; align-items: center; gap: 8px; min-height: 44px; }
.bar__count small { font-weight: 500; color: var(--muted); font-size: .95rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; order: 5; }
.chips:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 8px 6px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: .92rem; font-weight: 500; color: var(--ink); }
.chip svg { width: 16px; height: 16px; opacity: .7; }
.chip:hover { border-color: var(--ink); }
.chip--clear { border-style: dashed; padding-right: 14px; background: transparent; }
.sortsel { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); }
.sortsel label { font-size: .9rem; color: var(--muted); font-weight: 500; }
.sortsel .select { font-size: .95rem; min-height: 40px; width: auto; padding-right: 24px; }
.favtoggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-weight: 600; font-size: .95rem; }
.favtoggle svg { width: 18px; height: 18px; }
.favtoggle[aria-pressed="true"] { background: var(--hot); border-color: var(--hot); color: var(--hot-ink); }
.favtoggle[aria-pressed="true"] svg path { fill: currentColor; }
.bar .seg { background: var(--surface); }
.bar .seg button { min-height: 36px; padding: 6px 14px; gap: 7px; }
.bar .seg svg { width: 17px; height: 17px; }
@media (max-width: 720px) {
  .bar { gap: 8px; }
  .bar__count { width: 100%; min-height: 32px; }
  .sortsel { flex: 1 1 auto; min-width: 0; }
  .sortsel label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
  .sortsel .select { width: 100%; }
  .favtoggle span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
  .favtoggle { padding: 0 12px; }
}

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: clamp(18px, 2vw, 28px); }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow-sm); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card:focus-within { box-shadow: var(--shadow); }
.card__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r) var(--r) 0 0; overflow: hidden; background: var(--bg-2); }
.track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.track > picture, .track > img { flex: 0 0 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.track img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .track img { transform: scale(1.03); }
.cnav { position: absolute; top: 50%; z-index: 3; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-sm); opacity: 0; transition: opacity .2s var(--ease), transform .2s var(--ease); }
.cnav svg { width: 18px; height: 18px; }
.cnav--prev { left: 10px; }
.cnav--next { right: 10px; }
.card__media:hover .cnav, .cnav:focus-visible { opacity: 1; }
.cnav[disabled] { opacity: 0 !important; pointer-events: none; }
@media (hover: none) { .cnav { display: none; } }
.dots { position: absolute; left: 50%; bottom: 10px; z-index: 3; transform: translateX(-50%); display: flex; gap: 5px; padding: 5px 7px; border-radius: 999px; background: rgba(10, 20, 26, .28); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); pointer-events: none; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .55); transition: background-color .2s var(--ease), transform .2s var(--ease); }
.dots i.on { background: #fff; transform: scale(1.15); }
.flags { position: absolute; left: 12px; top: 12px; z-index: 3; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.flag { display: inline-flex; align-items: center; min-height: 26px; padding: 4px 10px; border-radius: 999px; font: 700 .72rem/1 var(--sans); letter-spacing: .07em; text-transform: uppercase; background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.flag--novo { background: var(--new); color: #fff; }
.flag--snizeno { background: var(--hot); color: var(--hot-ink); }
.flag--prilika { background: var(--ink); color: #fff; }
.fav { position: absolute; right: 10px; top: 10px; z-index: 4; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), background-color .2s var(--ease); }
.fav:hover { transform: scale(1.06); }
.fav svg { width: 21px; height: 21px; }
.fav svg path { fill: transparent; stroke: currentColor; stroke-width: 1.7; transition: fill .2s var(--ease); }
.fav[aria-pressed="true"] { color: var(--hot); }
.fav[aria-pressed="true"] svg path { fill: currentColor; }
.fav.bump svg { animation: bump .45s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(1); } }
.card__body { display: grid; gap: 8px; padding: 16px 18px 18px; flex: 1; align-content: start; }
.card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font: 700 1.38rem/1.15 var(--sans); letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.card__price small { font-size: .9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.card__price s { font-size: .95rem; font-weight: 500; color: var(--muted); }
.card__title { font: 400 1.22rem/1.28 var(--serif); letter-spacing: -.005em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: var(--r); }
.card__title a:focus-visible { outline: none; }
.card__title a:focus-visible::after { outline: 2px solid var(--focus); outline-offset: 3px; }
.card__place { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .93rem; }
.card__place svg { width: 15px; height: 15px; flex: none; }
.specs { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); list-style: none; font-size: .93rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.specs li { display: inline-flex; align-items: center; gap: 6px; }
.specs svg { width: 17px; height: 17px; color: var(--muted); flex: none; }
.card__media .track:focus-visible { outline: 2px solid var(--focus); outline-offset: -4px; }

/* skeleton cards */
.card--sk .card__media { background: linear-gradient(100deg, var(--bg-2) 30%, #f5f1ea 50%, var(--bg-2) 70%) 0 0 / 300% 100%; animation: sk 1.4s linear infinite; }
.sk { height: 14px; border-radius: 7px; background: var(--bg-2); }
@keyframes sk { to { background-position: -150% 0; } }

/* empty state */
.empty { display: grid; justify-items: center; text-align: center; gap: 14px; padding: clamp(40px, 6vw, 80px) 20px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); background: color-mix(in srgb, var(--surface) 60%, transparent); }
.empty svg { width: 56px; height: 56px; color: var(--muted); }
.empty h3 { font: 400 1.8rem/1.15 var(--serif); }
.empty p { color: var(--ink-2); max-width: 52ch; }
.empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }

/* map view */
.mapview { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); gap: 20px; align-items: start; }
.map { position: relative; height: min(76vh, 760px); min-height: 460px; border-radius: var(--r-lg); overflow: hidden; background: #dfe6e4; box-shadow: var(--shadow-sm); position: sticky; top: calc(var(--head-h) + 84px); isolation: isolate; }
.map__msg { position: absolute; inset: 0; display: grid; place-items: center; gap: 12px; align-content: center; text-align: center; padding: 24px; color: var(--ink-2); z-index: 1; }
.maplist { display: grid; gap: 12px; }
.maplist__hint { font-size: .9rem; color: var(--muted); }
.mini { position: relative; display: grid; grid-template-columns: 132px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-sm); transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.mini:hover, .mini.is-hot { box-shadow: var(--shadow), inset 0 0 0 2px var(--accent); }
.mini__img { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--bg-2); }
.mini__img img { width: 100%; height: 100%; object-fit: cover; }
.mini__b { display: grid; gap: 4px; min-width: 0; }
.mini__price { font: 700 1.05rem/1.2 var(--sans); font-variant-numeric: tabular-nums; }
.mini__title { font: 400 1.02rem/1.3 var(--serif); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini__title a { color: var(--ink); text-decoration: none; }
.mini__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.mini__meta { font-size: .86rem; color: var(--muted); }
.mini .fav { top: 14px; right: 14px; width: 40px; height: 40px; }
@media (max-width: 960px) {
  .mapview { grid-template-columns: 1fr; }
  .map { position: relative; top: 0; height: 68svh; min-height: 400px; }
  .maplist { grid-auto-flow: column; grid-auto-columns: min(86%, 380px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
  .mini { scroll-snap-align: start; }
  .maplist__hint { display: none; }
}

/* Leaflet skin */
.map .leaflet-container { font: inherit; background: #dfe6e4; }
.map .leaflet-tile-pane { filter: saturate(.55) contrast(.98) brightness(1.04); }
.map .leaflet-control-zoom { border: 0 !important; box-shadow: var(--shadow-sm) !important; border-radius: 12px !important; overflow: hidden; }
.map .leaflet-control-zoom a { width: 44px !important; height: 44px !important; line-height: 44px !important; font-size: 20px !important; color: var(--ink) !important; }
.map .leaflet-control-attribution { font-size: 11px; background: rgba(255, 255, 255, .85) !important; padding: 2px 8px; border-radius: 8px 0 0 0; }
.map .leaflet-control-attribution a { color: var(--ink-2); }
.pin { background: none; border: 0; }
.pin span { position: absolute; left: 50%; bottom: 6px; transform: translate(-50%, 0); display: inline-flex; align-items: center; height: 30px; padding: 0 11px; border-radius: 999px; background: var(--pin); color: var(--pin-ink); font: 700 .84rem/1 var(--sans); white-space: nowrap; box-shadow: 0 2px 8px rgba(10, 20, 26, .28); transition: transform .2s var(--ease), background-color .2s var(--ease); font-variant-numeric: tabular-nums; }
.pin span::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; margin-left: -5px; background: inherit; transform: rotate(45deg); border-radius: 0 0 3px 0; z-index: -1; }
.pin.is-hot span, .pin:hover span, .pin:focus-visible span { background: var(--pin-hot); transform: translate(-50%, -3px) scale(1.06); }
.pin.is-fav span::before { content: "♥"; margin-right: 5px; color: #ffb4a0; }
.leaflet-marker-icon.pin { overflow: visible; }
.clu { background: none; }
.clu div { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--pin) 88%, transparent); color: var(--pin-ink); font: 700 .95rem/1 var(--sans); box-shadow: 0 0 0 6px color-mix(in srgb, var(--pin) 18%, transparent), 0 3px 10px rgba(10, 20, 26, .3); transition: transform .2s var(--ease); }
.clu:hover div { transform: scale(1.08); }
.leaflet-popup-content-wrapper { border-radius: 16px !important; padding: 0 !important; overflow: hidden; box-shadow: var(--shadow-lg) !important; }
.leaflet-popup-content { margin: 0 !important; width: 260px !important; font: inherit; line-height: 1.4; }
.leaflet-popup-close-button { width: 36px !important; height: 36px !important; font-size: 22px !important; line-height: 36px !important; color: #fff !important; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.pop { display: grid; color: var(--ink); text-decoration: none; }
.pop img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.pop__b { padding: 12px 14px 14px; display: grid; gap: 3px; }
.pop__price { font: 700 1.1rem/1.2 var(--sans); font-variant-numeric: tabular-nums; }
.pop__title { font: 400 1.02rem/1.3 var(--serif); }
.pop__meta { font-size: .85rem; color: var(--muted); }
.map .leaflet-popup-content a.pop { color: var(--ink); }

/* ----------------------------------------------------------------------------- about / proof */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about__text { display: grid; gap: 22px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.stat { background: var(--surface); padding: clamp(22px, 3vw, 34px); display: grid; gap: 6px; }
.stat b { font: 400 clamp(2.4rem, 1.8rem + 2vw, 3.6rem)/1 var(--serif); letter-spacing: -.02em; color: var(--ink); font-variant-numeric: lining-nums; }
.stat span { color: var(--muted); font-size: .98rem; }
.trustlist { display: grid; gap: 12px; list-style: none; margin-top: 6px; }
.trustlist li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.trustlist svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--surface); color: var(--accent); box-shadow: var(--shadow-sm); }
.trustlist b { display: block; font-weight: 600; }
.trustlist span { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); list-style: none; counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 10px; align-content: start; padding: 26px 24px 28px; border-radius: var(--r-lg); background: color-mix(in srgb, var(--deep-ink) 6%, transparent); border: 1px solid color-mix(in srgb, var(--deep-ink) 14%, transparent); }
.steps li::before { content: counter(s, decimal-leading-zero); font: 400 2.4rem/1 var(--serif); color: color-mix(in srgb, var(--deep-ink) 55%, transparent); }
.steps b { font: 600 1.12rem/1.3 var(--sans); color: var(--deep-ink); }
.steps span { color: color-mix(in srgb, var(--deep-ink) 80%, transparent); font-size: .98rem; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* sell with us */
.sell { display: grid; grid-template-columns: 1fr minmax(320px, 520px); gap: clamp(32px, 6vw, 96px); align-items: start; }
.sell__copy { display: grid; gap: 22px; }
.ticks { display: grid; gap: 12px; list-style: none; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; font-size: 1.02rem; }
.ticks svg { width: 26px; height: 26px; color: var(--accent); }
@media (max-width: 960px) { .sell { grid-template-columns: 1fr; } }

/* forms */
.formcard { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 34px); display: grid; gap: 16px; }
.formcard h3 { font: 400 1.7rem/1.15 var(--serif); }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .frow { grid-template-columns: 1fr; } }
.f { display: grid; gap: 6px; }
.f label { font-weight: 600; font-size: .95rem; }
.f label small { font-weight: 400; color: var(--muted); }
.f input, .f textarea, .f select { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); font-size: 1rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.f select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 7.75 4.5 4.5 4.5-4.5' fill='none' stroke='%2313232B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; }
.f textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.f input:focus, .f textarea:focus, .f select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.f [aria-invalid="true"] { border-color: #B42318; box-shadow: 0 0 0 3px rgba(180, 35, 24, .12); }
.ferr { color: #B42318; font-size: .9rem; font-weight: 500; }
.ferr:empty { display: none; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: .95rem; color: var(--ink-2); }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); }
.fnote { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); background: var(--bg); border-radius: 12px; padding: 12px 14px; }
.fnote svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--accent); }
.fok { display: grid; gap: 12px; justify-items: start; padding: 8px 0; }
.fok svg { width: 48px; height: 48px; color: var(--accent); }
.fok h3 { font: 400 1.7rem/1.2 var(--serif); }
.fsum { color: #B42318; font-weight: 600; }
.fsum:empty { display: none; }

/* faq */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__list { display: grid; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; font: 600 1.1rem/1.4 var(--sans); min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); background: center / 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%2313232B' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); transition: transform .25s var(--ease), background-color .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--surface); }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 68ch; }
.faq__note { font-size: .92rem; color: var(--muted); }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact__info { display: grid; gap: 22px; }
.cards-c { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cc { display: grid; gap: 4px; padding: 18px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-sm); text-decoration: none; color: var(--ink); min-height: 44px; transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
a.cc:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.cc small { color: var(--muted); font-size: .86rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.cc b { font-weight: 600; font-size: 1.02rem; overflow-wrap: anywhere; }
.hours { display: grid; gap: 6px; padding: 18px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-sm); }
.hours__now { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.hours__now i { width: 9px; height: 9px; border-radius: 50%; background: #1F7A4D; box-shadow: 0 0 0 4px rgba(31, 122, 77, .16); }
.hours__now.is-closed i { background: #B42318; box-shadow: 0 0 0 4px rgba(180, 35, 24, .14); }
.hours dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; margin: 6px 0 0; font-size: .95rem; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.hours .is-today { font-weight: 700; color: var(--ink); }
.minimap { height: 280px; border-radius: var(--r); overflow: hidden; background: #dfe6e4; box-shadow: var(--shadow-sm); position: relative; isolation: isolate; }
.minimap .leaflet-tile-pane { filter: saturate(.55) contrast(.98) brightness(1.04); }
.officepin { background: none; }
.officepin span { position: absolute; left: -18px; top: -44px; width: 36px; height: 44px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .cards-c { grid-template-columns: 1fr; } }

/* closing CTA band */
.band { position: relative; overflow: clip; border-radius: var(--r-lg); background: var(--deep); color: var(--deep-ink); padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; isolation: isolate; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 55%); opacity: .7; }
.band h2 { font: 400 clamp(1.9rem, 1.3rem + 2vw, 3rem)/1.05 var(--serif); letter-spacing: -.015em; }
.band p { color: color-mix(in srgb, var(--deep-ink) 85%, transparent); margin-top: 10px; max-width: 54ch; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } }

/* footer */
.foot { background: var(--deep); color: var(--deep-ink); padding: clamp(56px, 7vw, 88px) 0 calc(28px + env(safe-area-inset-bottom)); margin-top: clamp(64px, 8vw, 120px); }
.foot a { color: inherit; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot h2 { font: 600 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--deep-ink) 66%, transparent); margin-bottom: 14px; }
.foot ul { list-style: none; display: grid; gap: 4px; }
.foot li a { display: inline-flex; min-height: 36px; align-items: center; text-decoration: none; }
.foot li a:hover { text-decoration: underline; }
.foot__brand p { color: color-mix(in srgb, var(--deep-ink) 78%, transparent); margin-top: 14px; max-width: 36ch; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid color-mix(in srgb, var(--deep-ink) 16%, transparent); font-size: .9rem; color: color-mix(in srgb, var(--deep-ink) 74%, transparent); }
.foot__base p { display: inline; }
.foot__langs { display: flex; flex-wrap: wrap; gap: 6px; }
.foot__langs a { min-height: 36px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--deep-ink) 24%, transparent); text-decoration: none; font-size: .9rem; }
.foot__langs a[aria-current="true"] { background: var(--deep-ink); color: var(--deep); }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot__grid { grid-template-columns: 1fr; } }

/* mobile action bar */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 94%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s var(--ease); }
.mbar.is-on { transform: none; }
.mbar .btn { min-height: 48px; padding: 10px 12px; font-size: .95rem; }
@media (max-width: 860px) { .mbar { display: grid; } body { padding-bottom: 0; } .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }

/* language suggestion toast */
.toast { position: fixed; left: 50%; bottom: 20px; z-index: 70; transform: translateX(-50%); width: min(560px, calc(100% - 24px)); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 14px 16px; border-radius: 16px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); font-size: .95rem; animation: toastin .35s var(--ease); }
.toast p { flex: 1 1 220px; }
.toast .btn { min-height: 40px; padding: 8px 14px; }
.toast .linkbtn { color: #fff; min-height: 40px; }
@keyframes toastin { from { opacity: 0; transform: translate(-50%, 12px); } }
@media (max-width: 860px) { .toast { bottom: calc(84px + env(safe-area-inset-bottom)); } }
.snack { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translateX(-50%); padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; box-shadow: var(--shadow-lg); animation: toastin .3s var(--ease); }

/* ----------------------------------------------------------------------------- detail page */
.page { padding-top: calc(var(--head-h) + 18px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; list-style: none; font-size: .92rem; color: var(--muted); padding: 10px 0 18px; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; opacity: .6; }
.crumbs a { color: var(--ink-2); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.crumbs a:hover { text-decoration: underline; }
.dhead { display: grid; grid-template-columns: 1fr auto; gap: 14px 40px; align-items: end; margin-bottom: 22px; }
.dhead__t { display: grid; gap: 10px; }
.dhead .flags { position: static; pointer-events: auto; }
.dhead h1 { font: 400 clamp(2rem, 1.4rem + 2.4vw, 3.3rem)/1.06 var(--serif); letter-spacing: -.02em; }
.dhead__place { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: var(--ink-2); }
.dhead__place span { display: inline-flex; align-items: center; gap: 6px; }
.dhead__place svg { width: 17px; height: 17px; color: var(--muted); }
.dhead__p { display: grid; justify-items: end; gap: 10px; }
.dprice { font: 700 clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem)/1 var(--sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; text-align: right; }
.dprice small { display: block; font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 6px; }
.dprice s { font-size: 1.05rem; font-weight: 500; color: var(--muted); margin-right: 8px; }
.dactions { display: flex; gap: 8px; }
.dactions .btn { min-height: 44px; padding: 10px 16px; }
.dactions .btn svg path.heart { fill: transparent; stroke: currentColor; stroke-width: 1.7; }
.dactions [aria-pressed="true"] { color: var(--hot); border-color: var(--hot); }
.dactions [aria-pressed="true"] svg path.heart { fill: currentColor; }
@media (max-width: 760px) { .dhead { grid-template-columns: 1fr; } .dhead__p { justify-items: start; } .dprice { text-align: left; } }

/* The "all photos" button lies over the gallery from .galwrap, outside the grid, so it is never laid out as a photo tile. */
.galwrap { position: relative; }
.gal { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 8px; height: clamp(360px, 46vw, 600px); border-radius: var(--r-lg); overflow: hidden; }
.gal > button { position: relative; padding: 0; border: 0; background: var(--bg-2); overflow: hidden; cursor: zoom-in; }
.gal > button:first-child { grid-row: 1 / 3; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .3s var(--ease); }
.gal > button:hover img { transform: scale(1.025); }
.gal__all { position: absolute; right: 16px; bottom: 16px; z-index: 2; }
/* Fewer than five photos: 1 = one photo, 2 = two tall tiles, 3 = one large and two stacked, 4 = one large, one wide and two small. */
.gal--n1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.gal--n1 > button:first-child { grid-row: auto; }
.gal--n2 { grid-template-columns: 3fr 2fr; }
.gal--n2 > button { grid-row: 1 / 3; }
.gal--n3 { grid-template-columns: 2fr 1fr; }
.gal--n4 > button:nth-child(2) { grid-column: 2 / 4; }
@media (max-width: 760px) {
  .galwrap { margin: 0 calc(-1 * var(--gutter)); }
  .gal { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; height: auto; aspect-ratio: 4 / 3; border-radius: 0; gap: 0; scrollbar-width: none; }
  .gal::-webkit-scrollbar { display: none; }
  .gal > button { flex: 0 0 100%; scroll-snap-align: start; }
  .gal__all { right: 12px; bottom: 12px; }
}
.gal__count { position: absolute; left: 12px; bottom: 12px; z-index: 2; padding: 6px 10px; border-radius: 999px; background: rgba(10, 20, 26, .55); color: #fff; font: 600 .85rem/1 var(--sans); display: none; }
@media (max-width: 760px) { .gal__count { display: block; } }

.keyfacts { display: flex; flex-wrap: wrap; gap: 1px; margin: 26px 0 0; border-radius: var(--r); overflow: hidden; background: var(--line); border: 1px solid var(--line); list-style: none; }
.keyfacts li { flex: 1 1 138px; background: var(--surface); padding: 16px 18px; display: grid; gap: 4px; align-content: start; }
.keyfacts small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .84rem; font-weight: 600; letter-spacing: .03em; }
.keyfacts small svg { width: 16px; height: 16px; }
.keyfacts b { font: 600 1.2rem/1.2 var(--sans); font-variant-numeric: tabular-nums; }
.energy { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 28px; padding: 0 8px; border-radius: 6px 14px 14px 6px; color: #fff; font: 700 .95rem/1 var(--sans); background: #6b7280; }
.energy[data-e^="A"] { background: #1E7B3F; } .energy[data-e="B"] { background: #5A9A2B; } .energy[data-e="C"] { background: #A0A517; color: #1a1a1a; } .energy[data-e="D"] { background: #E0B41A; color: #1a1a1a; } .energy[data-e="E"] { background: #E58A1F; color: #1a1a1a; } .energy[data-e="F"] { background: #D9541E; } .energy[data-e="G"] { background: #B42318; }
.energy[data-e="?"] { background: var(--bg-2); color: var(--ink-2); font-weight: 600; font-size: .85rem; }

.dgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: clamp(28px, 5vw, 72px); align-items: start; margin-top: clamp(36px, 5vw, 56px); }
.dmain { display: grid; gap: clamp(40px, 5vw, 64px); }
.dsec { display: grid; gap: 18px; }
.dsec > h2 { font: 400 clamp(1.6rem, 1.3rem + 1vw, 2.2rem)/1.1 var(--serif); letter-spacing: -.012em; }
.desc { display: grid; gap: 14px; font-size: 1.07rem; line-height: 1.7; color: var(--ink-2); max-width: 70ch; }
.desc ul { padding-left: 1.2em; display: grid; gap: 4px; }
.desc__note { font-size: .9rem; color: var(--muted); font-style: italic; }
.featlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px 22px; list-style: none; }
.featlist li { display: flex; align-items: center; gap: 12px; font-size: 1rem; padding: 6px 0; }
.featlist svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.ftable { width: 100%; border-collapse: collapse; font-size: 1rem; }
.ftable th, .ftable td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.ftable th { font-weight: 500; color: var(--muted); width: 45%; padding-right: 16px; }
.ftable td { font-weight: 600; font-variant-numeric: tabular-nums; }
.dmap { height: clamp(300px, 34vw, 420px); border-radius: var(--r-lg); overflow: hidden; background: #dfe6e4; box-shadow: var(--shadow-sm); position: relative; isolation: isolate; }
.dmap .leaflet-tile-pane { filter: saturate(.55) contrast(.98) brightness(1.04); }
.dmap__note { font-size: .92rem; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.dmap__note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.nearby { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; list-style: none; }
.nearby li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-sm); }
.nearby svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--bg); color: var(--accent); }
.nearby b { display: block; font-weight: 600; font-variant-numeric: tabular-nums; }
.nearby span { color: var(--muted); font-size: .9rem; }
.dside { position: sticky; top: calc(var(--head-h) + 20px); display: grid; gap: 16px; }
.agent { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 22px; display: grid; gap: 16px; }
.agent__who { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; }
.agent__ph { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--bg-2); display: grid; place-items: center; font: 400 1.5rem/1 var(--serif); color: var(--ink); }
.agent__ph img { width: 100%; height: 100%; object-fit: cover; }
.agent__name { font: 600 1.12rem/1.25 var(--sans); }
.agent__role { color: var(--muted); font-size: .92rem; }
.agent__langs { font-size: .9rem; color: var(--ink-2); }
.agent__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.agent__btns .btn { padding: 10px 12px; }
.agent__btns .btn--block { grid-column: 1 / -1; }
.agent hr { border: 0; border-top: 1px solid var(--line); margin: 2px 0; width: 100%; }
@media (max-width: 1000px) { .dgrid { grid-template-columns: 1fr; } .dside { position: static; } }
.booking { display: grid; gap: 18px; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--head-h) + 16px); }
.booking__head { display: grid; gap: 8px; }
.booking__head h2 { font: 400 clamp(1.6rem, 1.3rem + 1vw, 2.2rem)/1.1 var(--serif); }
.booking__host { min-height: 420px; }
.booking__msg { color: var(--muted); }
.similar { margin-top: clamp(64px, 8vw, 110px); }
.similar .cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.notfound { min-height: 50vh; display: grid; place-items: center; text-align: center; gap: 18px; align-content: center; }
.notfound h1 { font: 400 clamp(2rem, 1.5rem + 2vw, 3rem)/1.1 var(--serif); }

/* lightbox */
.lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 14, 18, .96); color: #fff; }
.lb::backdrop { background: rgba(8, 14, 18, .96); }
.lb[open] { display: grid; grid-template-rows: auto 1fr auto; animation: lbin .25s var(--ease); }
@keyframes lbin { from { opacity: 0; } }
.lb__top { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; gap: 12px; }
.lb__count { font-weight: 600; font-variant-numeric: tabular-nums; padding-left: 6px; }
.lb__stage { position: relative; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.lb__stage::-webkit-scrollbar { display: none; }
.lb__stage figure { flex: 0 0 100%; margin: 0; scroll-snap-align: center; display: grid; place-items: center; padding: 0 clamp(8px, 5vw, 80px); }
.lb__stage img { max-width: 100%; max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.lb__cap { padding: 10px 16px 18px; text-align: center; font-size: .95rem; color: rgba(255, 255, 255, .82); min-height: 48px; }
.lb .iconbtn { color: #fff; }
.lb__nav { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; z-index: 2; }
.lb__nav:hover { background: rgba(255, 255, 255, .18); }
.lb__nav svg { width: 22px; height: 22px; }
.lb__prev { left: 16px; } .lb__next { right: 16px; }
@media (hover: none) { .lb__nav { display: none; } }

/* concept banner (concept sites only) */
.cbanner { position: relative; z-index: 55; background: #14181A; color: #F4EFE7; font-size: .86rem; line-height: 1.35; text-align: center; padding: 9px 44px 9px 16px; }
.cbanner b { font-weight: 700; }
.cbanner a { color: inherit; }

/* reveal on scroll (JS) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .rise, .js .reveal { opacity: 1; transform: none; }
  .card:hover, .card:hover .track img, .gal > button:hover img { transform: none; }
}
@media print {
  .hdr, .mbar, .booking, .agent__btns, .dactions, .gal__all, .foot, .cbanner, .toast { display: none !important; }
  .page { padding-top: 0; }
  .dgrid { grid-template-columns: 1fr; }
}
