/* ---------- fontovi (lokalni woff2) ---------- */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/fraunces-latin-ext-600-normal.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: 'Fraunces'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/fraunces-latin-600-normal.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: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/manrope-latin-ext-400-normal.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: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/manrope-latin-400-normal.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: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/manrope-latin-ext-600-normal.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: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/manrope-latin-600-normal.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: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap; src: url('../assets/fonts/manrope-latin-ext-800-normal.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: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap; src: url('../assets/fonts/manrope-latin-800-normal.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; }

/* ---------- boje (jedina tema: ljetna) ---------- */
:root {
  --bg: #fbf8f2;
  --bg-alt: #f1ebe0;
  --card: #fffdf8;
  --ink: #1f2a2e;
  --muted: #5d6a6e;
  --line: rgba(31, 42, 46, 0.1);
  --accent: #0a7a94;
  --accent-ink: #07607a;
  --accent-soft: rgba(10, 122, 148, 0.14);
  --accent-2-soft: rgba(184, 85, 46, 0.1);
  --on-accent: #ffffff;
  --accent-2: #b8552e;
  --olive: #55663a;
  --sand: #e8dcc3;
  --white: #ffffff;
  --shade: rgba(4, 36, 52, 0.86);
  --shade-soft: rgba(4, 36, 52, 0.3);
  --glass: rgba(255, 255, 255, 0.16);
  --glass-line: rgba(255, 255, 255, 0.42);
  --bar-bg: rgba(251, 248, 242, 0.86);
  --lb-bg: rgba(4, 20, 28, 0.94);
  --foot-muted: #b9c4c7;
  --foot-line: rgba(251, 248, 242, 0.18);
  --viber: #7360f2;
  --wa: #25d366;
  --on-wa: #06301a;

  --r-card: 24px;
  --r-field: 14px;
  --shadow: 0 20px 50px -34px rgba(31, 42, 46, 0.35);
  --shadow-pop: 0 30px 70px -30px rgba(31, 42, 46, 0.45);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --sec: clamp(64px, 9vw, 120px);
  --bar-h: 64px;
  --dock-h: 92px;
  --navy: #14264a;
}

/* ---------- osnova ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Manrope', system-ui, sans-serif; font-size: 1rem; line-height: 1.6; overflow-wrap: break-word; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
h3 { font-size: 1.5rem; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.hero :focus-visible, #topbar:not(.solid) :focus-visible, #foot :focus-visible, #lightbox :focus-visible { outline-color: var(--white); }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--card); color: var(--ink); padding: 12px 18px; border-radius: 999px; font-weight: 800; transition: top 0.2s; }
.skip:focus { top: 12px; }
.noscript { padding: 24px; max-width: 40rem; margin: auto; }

/* ---------- sekcije i naslovi ---------- */
.sec { padding-block: var(--sec); }
.sec.alt { background: var(--bg-alt); }
.sec-head { margin-bottom: clamp(28px, 5vw, 48px); }
.sec h2, .why-text h2 { font-size: clamp(2rem, 1.4rem + 3vw, 3.2rem); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; font-weight: 800; color: var(--accent-2); margin-bottom: 12px; }
.eyebrow.on-dark { color: var(--white); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease) var(--d, 0s), transform 0.6s var(--ease) var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- dugmad ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent; font-weight: 800; font-size: 1rem; text-decoration: none; line-height: 1; transition: transform 0.3s var(--ease), background-color 0.3s, box-shadow 0.3s; }
.btn:hover:not(:disabled) { transform: translateY(-2px); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--accent-ink); border-color: currentColor; }
.btn-viber { background: var(--viber); color: var(--white); }
.btn-wa { background: var(--wa); color: var(--on-wa); }
.btn-mail { background: var(--card); color: var(--ink); border-color: var(--line); }
.iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); }

/* ---------- gornja traka ---------- */
#topbar { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--bar-h); color: var(--white); transition: background-color 0.4s, color 0.4s, backdrop-filter 0.4s; }
#topbar.solid { background: var(--bar-bg); color: var(--ink); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.bar-in { width: min(1180px, 100% - 32px); margin-inline: auto; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 1.35rem; letter-spacing: -0.02em; text-decoration: none; }
#topbar nav { display: none; }
#topbar nav ul { display: flex; gap: 4px; }
#topbar nav a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.92rem; white-space: nowrap; transition: background-color 0.3s, color 0.3s; }
#topbar nav a:hover { background: var(--glass); }
#topbar.solid nav a:hover { background: var(--accent-soft); }
#topbar nav a[aria-current] { background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-line); font-weight: 800; }
#topbar.solid nav a[aria-current] { background: var(--accent); color: var(--on-accent); box-shadow: none; }
#topbar.solid nav a[aria-current]:hover { background: var(--accent-ink); }
.lang { display: flex; padding: 3px; border-radius: 999px; border: 1px solid var(--glass-line); background: var(--glass); }
#topbar.solid .lang { border-color: var(--line); background: var(--card); }
.lang button { min-width: 44px; min-height: 44px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; font-weight: 800; text-transform: uppercase; font-size: 0.8rem; }
.lang button[aria-pressed='true'] { background: var(--accent); color: var(--on-accent); }
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; }
.progress i { display: block; height: 100%; background: var(--accent-2); transform: scaleX(0); transform-origin: left; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 560px; height: 100svh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--ink); }
.hero-media { position: absolute; inset: 0; will-change: transform; }
.hero-photo { position: absolute; inset: 0; }
.hero-photo img, .hero-photo video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; animation: slowzoom 26s ease-in-out infinite alternate; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, var(--shade) 0%, var(--shade-soft) 48%, transparent 78%), linear-gradient(to bottom, var(--shade-soft) 0%, transparent 22%); }
.hero-in { position: relative; padding-top: calc(var(--bar-h) + 24px); padding-bottom: calc(var(--dock-h) + 28px + env(safe-area-inset-bottom)); }
.demo-pill { display: inline-block; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px; background: var(--accent-2); color: var(--white); font-weight: 800; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.hero h1 { font-size: clamp(3rem, 14vw, 7rem); line-height: 1.05; margin-bottom: 14px; }
.lead { font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.3rem); max-width: 34rem; margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--glass-line); background: var(--glass); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-weight: 800; font-size: 0.9rem; }
.cta { display: flex; flex-direction: column; gap: 12px; }
.cta .btn-ghost { color: var(--white); }
@keyframes slowzoom { from { transform: scale(1); } to { transform: scale(1.08); } }

/* ---------- traka činjenica ---------- */
.facts { background: var(--card); border-bottom: 1px solid var(--line); }
.facts ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 12px; padding-block: 24px; }
.facts li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; column-gap: 4px; text-align: center; padding: 8px 4px; }
.facts .ic { width: 100%; height: 1.6em; color: var(--accent); margin-bottom: 4px; }
.facts strong { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 2rem; line-height: 1; color: var(--accent-ink); }
.facts .unit { font-weight: 800; color: var(--accent-ink); }
.facts .lbl { flex-basis: 100%; color: var(--muted); font-size: 0.9rem; }

/* ---------- zašto ---------- */
.why { display: grid; gap: 36px; align-items: center; }
.why-text p { color: var(--muted); font-size: 1.1rem; margin-top: 16px; max-width: 34rem; }
.why-text h2 { margin-bottom: 4px; }
.why-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ph { margin: 0; border-radius: var(--r-card); overflow: hidden; background: var(--sand); box-shadow: var(--shadow); aspect-ratio: 1; }
.ph img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- kartice i smještaj ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); }
.units { --gap: 12px; --peek: 35px; display: flex; gap: var(--gap); overflow-x: auto; margin-inline: -16px; padding: 4px 16px 20px; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.units::-webkit-scrollbar { display: none; }
.units > .unit { flex: 0 0 calc(100% + 16px - var(--gap) - var(--peek)); scroll-snap-align: start; }
.unit { overflow: hidden; display: flex; flex-direction: column; }
.unit .media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.unit .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.unit:hover .media img { transform: scale(1.04); }
.unit .body { padding: 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.cap { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: 0.95rem; }
.cap li { display: inline-flex; align-items: center; gap: 6px; }
.am { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px 14px; }
.am li { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; }
.am .ic { color: var(--accent-ink); }
.price { font-weight: 800; color: var(--accent-2); margin-top: auto; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.actions .btn { flex: 1 1 140px; }

/* ---------- bazen ---------- */
.pool { display: grid; gap: 32px; align-items: center; }
.pool-photo { position: relative; margin: 0; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-pop); aspect-ratio: 4 / 3; background: var(--sand); }
.pool-photo img { width: 100%; height: 100%; object-fit: cover; }
.shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 38%, var(--glass) 50%, transparent 62%); background-size: 260% 100%; animation: shine 9s ease-in-out infinite; opacity: 0.55; }
@keyframes shine { from { background-position: 130% 0; } to { background-position: -30% 0; } }
.pool-body { display: grid; gap: 20px; }
.pool-body > p:first-child { font-size: 1.15rem; color: var(--muted); }
.season { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--r-field); background: var(--sand); font-weight: 600; }
.season .ic { color: var(--accent-2); }
.rules { padding: 18px 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.rules h3 { font-size: 1.15rem; margin-bottom: 8px; }
.rules li { padding-left: 18px; position: relative; color: var(--muted); }
.rules li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 7px; height: 7px; border-radius: 999px; background: var(--olive); }

/* ---------- galerija ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(140px, 36vw, 220px); gap: 12px; }
.g-item { padding: 0; border: 0; border-radius: var(--r-card); overflow: hidden; background: var(--sand); box-shadow: var(--shadow); }
.g-item.big { grid-column: 1 / -1; grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.g-item:hover img { transform: scale(1.05); }

/* ---------- sadržaji ---------- */
.am-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.am-grid li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; min-height: 112px; padding: 16px 10px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: 0.95rem; }
.am-grid .ic { width: 1.9rem; height: 1.9rem; color: var(--accent-ink); }
.strip { margin-top: 28px; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, var(--ink) 8%, var(--ink) 92%, transparent); mask-image: linear-gradient(to right, transparent, var(--ink) 8%, var(--ink) 92%, transparent); }
.strip-track { display: flex; width: max-content; animation: strip 40s linear infinite; }
.strip.paused .strip-track { animation-play-state: paused; }
.strip, .rv-row { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.strip-set > ul { display: flex; gap: 12px; padding-right: 12px; }
.strip-set li { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--sand); font-weight: 700; white-space: nowrap; }
@keyframes strip { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- provjeri termin i upit ---------- */
.inquiry { display: grid; gap: 24px; align-items: start; }
.q-card { padding: 22px; display: grid; gap: 16px; }
.dates { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.datebtn, .select-btn { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; width: 100%; min-height: 64px; padding: 10px 16px; border-radius: var(--r-field); border: 1.5px solid var(--line); background: var(--bg); text-align: left; transition: border-color 0.3s, box-shadow 0.3s; }
.datebtn:hover:not(:disabled), .select-btn:hover { border-color: var(--accent); }
.datebtn.set, .datebtn[aria-expanded='true'], .select-btn[aria-expanded='true'] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.datebtn:disabled { opacity: 0.55; cursor: not-allowed; }
.lbl { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.val { font-weight: 800; }
.cal { position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; right: 0; padding: 16px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-pop); }
.cal[hidden] { display: none; }
.cal-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.cal-titles { flex: 1; display: flex; justify-content: space-around; font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 1.1rem; }
.cal-titles .second, .cal-months .second { display: none; }
.cal-months { display: grid; gap: 16px; }
.wds, .days { display: grid; grid-template-columns: repeat(7, 1fr); }
.wds span { text-align: center; font-size: 0.74rem; font-weight: 800; color: var(--muted); padding-bottom: 4px; }
.day { aspect-ratio: 1; min-height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 12px; background: transparent; font-weight: 600; }
.day.empty { pointer-events: none; }
button.day:hover:not(:disabled) { background: var(--sand); }
.day.today { box-shadow: inset 0 0 0 1.5px var(--accent-2); }
.day.mid { background: var(--accent-soft); border-radius: 0; }
.day.start, .day.end { background: var(--accent); color: var(--on-accent); }
.day:disabled { color: var(--muted); opacity: 0.35; cursor: not-allowed; }
.select { position: relative; }
.select-btn { display: grid; grid-template-columns: 1fr auto; column-gap: 8px; align-items: center; }
.select-btn .lbl { grid-column: 1; }
.select-btn .val { grid-column: 1; }
.select-btn .ic { grid-column: 2; grid-row: 1 / span 2; color: var(--accent-ink); transition: transform 0.3s; }
.select-btn[aria-expanded='true'] .ic { transform: rotate(180deg); }
.select-list { position: absolute; z-index: 15; top: calc(100% + 6px); left: 0; right: 0; max-height: 260px; overflow: auto; padding: 6px; border-radius: var(--r-field); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-pop); }
.select-list[hidden] { display: none; }
.select-list:focus-visible { outline-offset: 0; }
.select-list li { padding: 12px 14px; border-radius: 10px; cursor: pointer; }
.select-list li.active, .select-list li:hover { background: var(--sand); }
.select-list li[aria-selected='true'] { font-weight: 800; color: var(--accent-ink); }
.info { display: grid; gap: 10px; }
.info-btn { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 16px; border: 1.5px solid var(--accent-2); border-radius: var(--r-field); background: var(--card); color: var(--ink); text-decoration: none; transition: background-color 0.3s; }
a.info-btn:hover { background: var(--accent-2-soft); }
.info-btn .ic { color: var(--accent-2); }
.price-note { color: var(--muted); font-weight: 600; }
.field { display: grid; gap: 6px; }
.field span { font-size: 0.85rem; font-weight: 800; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--r-field); border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; }
.field textarea { resize: vertical; min-height: 120px; }
.field ::placeholder { color: var(--muted); opacity: 0.85; }
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: 3px solid var(--accent-soft); outline-offset: 0; }
.missing { padding: 12px 16px; border-radius: var(--r-field); background: var(--sand); font-size: 0.95rem; }
.missing.ok { color: var(--olive); font-weight: 800; }
.send { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.send .btn { padding: 0 12px; }
.send .btn-mail { grid-column: 1 / -1; }

/* ---------- recenzije ---------- */
.rv { display: grid; gap: 16px; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, var(--ink) 7%, var(--ink) 93%, transparent); mask-image: linear-gradient(to right, transparent, var(--ink) 7%, var(--ink) 93%, transparent); padding-block: 8px; }
.rv-row { overflow: hidden; }
.rv-track { display: flex; width: max-content; }
.rv-l .rv-track { animation: rv-l 45s linear infinite; }
.rv-r .rv-track { animation: rv-r 55s linear infinite; }
.rv-row.paused .rv-track { animation-play-state: paused; }
.rv-set { display: flex; gap: 16px; padding-right: 16px; }
.rv-card { flex: none; width: min(340px, 82vw); display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.rv-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.rv-top span { color: var(--muted); font-size: 0.88rem; }
.rv-rate { display: flex; align-items: center; gap: 6px; font-weight: 800; color: var(--accent-2); }
.rv-text { flex: 1; }
.rv-src { color: var(--muted); font-size: 0.85rem; font-weight: 600; }
@keyframes rv-l { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes rv-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ---------- lokacija ---------- */
.loc { display: grid; gap: 28px; grid-template-areas: "map" "dirs" "dist"; }
.loc-map { grid-area: map; }
.loc-dirs { grid-area: dirs; }
.loc-dist { grid-area: dist; }
.map { border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--sand); }
.map iframe { display: block; width: 100%; height: 340px; border: 0; }
.map-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 16px; }
.note { color: var(--muted); font-size: 0.9rem; }
.loc-dirs h3, .loc-dist h3 { font-size: 1.3rem; margin-bottom: 14px; }
.signs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 28px; }
.signs li { display: grid; gap: 2px; padding: 14px 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.signs .ic { color: var(--accent-ink); }
.signs b { font-family: 'Fraunces', Georgia, serif; font-size: 1.4rem; font-weight: 600; }
.signs span { color: var(--muted); font-size: 0.92rem; }
.steps { counter-reset: step; display: grid; gap: 12px; }
.steps li { counter-increment: step; display: flex; gap: 12px; align-items: flex-start; }
.steps li::before { content: counter(step); flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: 0.9rem; }
.nearby { margin-top: clamp(36px, 6vw, 56px); }
.nearby h3 { margin-bottom: 18px; }
.nearby ul { display: grid; gap: 14px; }
.nearby li { display: flex; gap: 14px; padding: 18px; }
.nearby li > .ic { width: 1.9rem; height: 1.9rem; color: var(--accent-ink); margin-top: 2px; }
.nearby b { margin-right: 8px; }
.dist { display: inline-block; padding: 1px 10px; border-radius: 999px; background: var(--sand); font-size: 0.8rem; font-weight: 800; }
.nearby p { color: var(--muted); margin-top: 4px; }

/* ---------- footer ---------- */
#foot { background: var(--ink); color: var(--bg); padding-top: clamp(48px, 7vw, 80px); padding-bottom: calc(var(--dock-h) + 24px + env(safe-area-inset-bottom)); }
.foot-cols { display: grid; gap: 32px; }
.foot-brand .brand { display: inline-block; font-size: 1.7rem; margin-bottom: 10px; }
.foot-brand p { color: var(--foot-muted); max-width: 22rem; }
.foot-h { font-family: 'Manrope', system-ui, sans-serif; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--foot-muted); margin-bottom: 14px; }
#foot li + li { margin-top: 10px; }
#foot li a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 28px; }
#foot li a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-line { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--foot-line); color: var(--foot-muted); font-size: 0.9rem; }

/* ---------- dock, na vrh ---------- */
#dock { position: fixed; inset: auto 0 0 0; z-index: 45; pointer-events: none; }
.dock-in { pointer-events: auto; display: flex; gap: 8px; margin: 0 12px calc(12px + env(safe-area-inset-bottom)); padding: 8px; border-radius: 999px; background: var(--bar-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: var(--shadow-pop); }
.dock-btn { flex: 1 1 0; min-width: 0; min-height: 56px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; padding: 0 8px; border-radius: 999px; text-decoration: none; font-weight: 800; font-size: 0.95rem; line-height: 1.1; text-align: center; transition: transform 0.3s var(--ease); }
.dock-btn:active { transform: scale(0.97); }
.dock-wa { flex-direction: column; flex-wrap: nowrap; gap: 2px; }
.dock-call { background: var(--navy); color: var(--white); }
.dock-wa { background: var(--wa); color: var(--on-wa); }
.dock-cta { background: var(--accent-2); color: var(--white); }

/* ---------- lightbox ---------- */
#lightbox { border: 0; padding: 0; max-width: 100vw; max-height: 100dvh; width: 100vw; height: 100dvh; background: transparent; color: var(--white); }
#lightbox[open] { display: flex; align-items: center; justify-content: center; }
#lightbox::backdrop { background: var(--lb-bg); }
#lightbox figure { margin: 0; display: grid; justify-items: center; gap: 12px; padding: 64px 12px 24px; }
#lightbox img { max-width: 94vw; max-height: 78dvh; width: auto; height: auto; object-fit: contain; border-radius: 18px; }
#lightbox figcaption { text-align: center; font-size: 0.95rem; max-width: 40rem; }
.lb-close, .lb-nav { position: absolute; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--glass-line); border-radius: 999px; background: var(--glass); color: var(--white); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lb-close { top: calc(12px + env(safe-area-inset-top)); right: 12px; }
.lb-nav { top: 50%; margin-top: -24px; }
.lb-nav.prev { left: 8px; }
.lb-nav.next { right: 8px; }

/* ---------- responzivnost ---------- */
@media (max-width: 520px) {
  .brand { font-size: 1.15rem; }
  .lang button { min-width: 40px; padding: 0 8px; }
  .chips li { font-size: 0.82rem; padding: 0 12px; }
}
@media (min-width: 560px) {
  .cta { flex-direction: row; }
  .am-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 640px) {
  .cal { right: auto; width: min(560px, 100vw - 32px); }
  .cal-months { grid-template-columns: 1fr 1fr; }
  .cal-titles .second, .cal-months .second { display: block; }
  .cal-titles .second { display: block; }
  .map iframe { height: 420px; }
}
@media (min-width: 760px) {
  .units { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; overflow: visible; margin-inline: 0; padding: 0; scroll-snap-type: none; }
  .units > .unit { flex: none; }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
  .g-item.big { grid-column: span 2; }
  .facts ul { grid-template-columns: repeat(4, 1fr); }
  .foot-cols { grid-template-columns: 1.3fr 1fr 1fr; }
  .nearby ul { grid-template-columns: repeat(2, 1fr); }
  .q-card { padding: 28px; }
}
@media (min-width: 960px) {
  #topbar nav { display: block; }
  #dock { display: none; }
  .hero-in { padding-bottom: 64px; }
  #foot { padding-bottom: 32px; }
  .why { grid-template-columns: 1fr 1fr; gap: 64px; }
  .pool { grid-template-columns: 1.25fr 1fr; gap: 48px; }
  .inquiry { grid-template-columns: 1fr 1fr; gap: 28px; }
  .loc { grid-template-columns: 1.2fr 1fr; grid-template-areas: "map dist" "map dirs"; grid-template-rows: auto 1fr; gap: 28px 40px; align-content: start; }
  .map iframe { height: 100%; min-height: 460px; }
  .units.single .unit { flex-direction: row; }
  .units.single .media { flex: 1.2; aspect-ratio: auto; }
  .units.single .body { flex: 1; }
  .am-grid { grid-template-columns: repeat(5, 1fr); }
  .gallery { grid-auto-rows: 240px; }
}
@media (min-width: 1180px) {
  .units { grid-template-columns: repeat(3, 1fr); }
  .units.single { grid-template-columns: 1fr; }
  .nearby ul { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- smanjeno kretanje ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-media { transform: none !important; }
  .strip, .rv { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .rv-row { overflow-x: auto; }
  .strip-set:last-child, .rv-set[aria-hidden='true'] { display: none; }
  .rv-track { width: auto; }
}

/* ---------- jezici s dužim riječima (njemački): bez prelijevanja udesno ---------- */
.why > *, .pool > *, .inquiry > *, .loc > *, .foot-cols > *, .unit .body, .q-card > * { min-width: 0; }
html[lang='de'] body { hyphens: auto; -webkit-hyphens: auto; }
h1, h2, h3, .btn, .am li span, .info-btn span, .datebtn .val, .rv-text { overflow-wrap: anywhere; }
@media (min-width: 960px) and (max-width: 1179px) {
  #topbar nav a { padding: 8px 9px; font-size: 0.86rem; }
  .brand { font-size: 1.2rem; }
  .bar-in { gap: 8px; }
}

/* ---------- politika privatnosti (privatnost.html) ---------- */
body[data-page='privacy'] { --dock-h: 0px; }
.legal { padding-top: calc(var(--bar-h) + clamp(32px, 6vw, 72px)); }
.legal h1 { font-size: clamp(1.7rem, 7vw, 3.2rem); overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.legal-meta { color: var(--muted); margin-top: 10px; }
.legal-demo { background: var(--accent-2-soft); border: 1px solid var(--accent-2); border-radius: 18px; padding: 14px 18px; font-weight: 700; margin-bottom: 28px; max-width: 46rem; }
.legal-body { max-width: 46rem; }
.legal-sec + .legal-sec { margin-top: 32px; }
.legal-sec h2 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); margin-bottom: 10px; }
.legal-sec p + p, .legal-sec p + ul { margin-top: 12px; }
.legal-sec ul { padding-inline-start: 1.2em; list-style: disc; }
.legal-sec li + li { margin-top: 8px; }
.legal-back { margin-top: 40px; }
.foot-line { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.foot-line a { color: inherit; text-underline-offset: 4px; }
.foot-line a:hover, .foot-line a[aria-current] { color: var(--white); }
