/*
 * Casa Montana boje: antracit, bronza/zlato i topla krem (kao na njihovom Instagramu).
 * Planinka - izgled. Boje obje sezone su varijable ispod (:root[data-season=...]).
 * Za drugu vikendicu obično dovoljno je promijeniti boje u ova dva bloka.
 */

@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../assets/fonts/fraunces-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: 'Fraunces'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../assets/fonts/fraunces-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: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../assets/fonts/manrope-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: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../assets/fonts/manrope-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; }

/* ---------- boje: zima ---------- */
:root,
:root[data-season='winter'] {
  --bg: #f6f4f0; --bg-alt: #ebe7df; --card: #ffffff; --ink: #1f1d1a; --muted: #645f57; --line: rgba(31, 29, 26, 0.1);
  --accent: #946628; --accent-ink: #7a531f; --accent-2: #2b2926; --on-accent: #fff;
  --sky-top: #8fbde0; --sky-bot: #eaf3fa; --sun: #fff8e6; --sun-glow: rgba(255, 248, 230, 0.55);
  --mtn-3: #bfd1df; --mtn-2: #94adc2; --snow-op: 1; --summer-op: 0;
  --pine: #21443a; --pine-far: #6c8a96; --trunk: #4a3426;
  --ground: #f3f7fa; --ground-2: #e2ecf3; --path: #d8e3ec;
  --wood: #8a5a36; --wood-dark: #6b4428; --roof: #2f3236; --glass: #24323c; --glass-light: #ffc56b; --deck: #6b4428;
  --smoke: rgba(255, 255, 255, 0.75); --shade: rgba(9, 22, 32, 0.62);
  color-scheme: light;
}
/* ---------- boje: ljeto ---------- */
:root[data-season='summer'] {
  --bg: #fbf8f2; --bg-alt: #f1ebe0; --card: #fffdf8; --ink: #1f1d1a; --muted: #645f57; --line: rgba(31, 29, 26, 0.1);
  --accent: #946628; --accent-ink: #7a531f; --accent-2: #2b2926; --on-accent: #fff;
  --sky-top: #6fb2e6; --sky-bot: #fdf1d6; --sun: #ffd25e; --sun-glow: rgba(255, 210, 94, 0.45);
  --mtn-3: #a9c0a2; --mtn-2: #7f9f6c; --snow-op: 0; --summer-op: 1;
  --pine: #2b552a; --pine-far: #678b5a; --trunk: #5a3f2a;
  --ground: #93c25c; --ground-2: #7aaf48; --path: #d9c49a;
  --wood: #9a6740; --wood-dark: #7a4f2f; --roof: #2f3236; --glass: #2b3a33; --glass-light: #ffe2a6; --deck: #7a4f2f;
  --smoke: rgba(255, 255, 255, 0.45); --shade: rgba(22, 30, 14, 0.55);
}

/* prelaz između sezona */
.season-anim *, .season-anim *::before, .season-anim *::after {
  transition: fill 1.2s ease, stop-color 1.2s ease, background-color 1.2s ease, color 1.2s ease, opacity 1.2s ease, border-color 1.2s ease !important;
}

/* ---------- osnovno ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -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; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.locked { overflow: hidden; }
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.center { text-align: center; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.ic { width: 22px; height: 22px; flex: none; }
.scene { width: 100%; height: 100%; display: block; }

/* ---------- ilustracije: boje iz varijabli ---------- */
.sky-top { stop-color: var(--sky-top); }
.sky-bot { stop-color: var(--sky-bot); }
.sun-disc { fill: var(--sun); }
.sun-glow { fill: var(--sun-glow); }
.mtn-3 { fill: var(--mtn-3); }
.mtn-2 { fill: var(--mtn-2); }
.snowcap { fill: #fff; opacity: var(--snow-op); }
.pine-body { fill: var(--pine); }
.far-pine .pine-body { fill: var(--pine-far); }
.pine-snow { fill: #fff; opacity: calc(var(--snow-op) * 0.92); }
.trunk { fill: var(--trunk); }
.ground { fill: var(--ground); }
.ground-2 { fill: var(--ground-2); }
.path { fill: var(--path); }
.flowers { opacity: var(--summer-op); }
.fl-0 { fill: #f6d04d; } .fl-1 { fill: #ffffff; } .fl-2 { fill: #e9799a; }
.wood { fill: var(--wood); }
.wood-dark { fill: var(--wood-dark); }
.planks { stroke: rgba(0, 0, 0, 0.12); stroke-width: 3; fill: none; }
.roof { fill: var(--roof); }
.roof-snow { fill: #fff; opacity: var(--snow-op); }
.glass { fill: var(--glass); }
.glass-light { fill: var(--glass-light); opacity: 0.85; animation: glow 4s ease-in-out infinite; }
.win { fill: var(--glass-light); opacity: 0.85; }
.win-bar { stroke: var(--wood-dark); stroke-width: 6; fill: none; }
.chimney { fill: #6f6a66; } .chimney-top { fill: #555; }
.smoke circle { fill: var(--smoke); animation: smoke 6s ease-in infinite; transform-box: fill-box; transform-origin: center; }
.smoke circle:nth-child(2) { animation-delay: -2s; } .smoke circle:nth-child(3) { animation-delay: -4s; }
.deck, .deck-floor { fill: var(--deck); }
.rail, .rail-front { stroke: var(--wood-dark); stroke-width: 8; fill: none; stroke-linecap: round; }
.rail-post { fill: var(--wood-dark); }
.lantern rect { fill: #ffd27a; } .lantern-glow { fill: #ffd27a; opacity: 0.25; animation: glow 3s ease-in-out infinite; }
.cabin-shadow { fill: rgba(0, 0, 0, 0.12); }
.h-wall { fill: #f6f4ef; } .h-side { fill: #dcd8d0; } .h-base { fill: #b9b4aa; }
.h-frame { fill: none; stroke: #f6f4ef; stroke-width: 4; } .h-bar { stroke: #f6f4ef; stroke-width: 3; }
.h-fascia { fill: none; stroke: var(--roof); stroke-width: 22; stroke-linejoin: miter; }
.h-fascia-snow { fill: none; stroke: #fff; stroke-width: 8; stroke-linejoin: miter; opacity: var(--snow-op); }
.solar { fill: #1d2a3d; stroke: #5b6f8a; stroke-width: 1.5; }
.h-step { fill: #c9c4ba; stroke: #b1ab9f; stroke-width: 2; } .h-rail { stroke: #2a2a2a; stroke-width: 4; fill: none; stroke-linecap: round; }
.h-knob { fill: #d9b46a; }
.led-glow { animation: glow 5s ease-in-out infinite; }
.mug rect { fill: #c9573a; } .mug-handle { stroke: #c9573a; stroke-width: 10; fill: none; } .steam { stroke: #fff; stroke-width: 5; fill: none; stroke-linecap: round; opacity: 0.7; animation: steam 3s ease-in-out infinite; }
.fire { animation: flicker 0.9s ease-in-out infinite alternate; transform-origin: 570px 478px; }
.fireglow { animation: glow 2s ease-in-out infinite; }
.steam-group circle { animation: smoke 5s ease-in infinite; transform-box: fill-box; transform-origin: center; }
@keyframes glow { 50% { opacity: 0.6; } }
@keyframes flicker { from { transform: scaleY(1) skewX(0deg); } to { transform: scaleY(1.08) skewX(-2deg); } }
@keyframes smoke { 0% { transform: translateY(20px) scale(0.6); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(-60px) scale(1.4); opacity: 0; } }
@keyframes steam { 50% { transform: translateY(-8px); opacity: 0.3; } }

/* ---------- zaglavlje ---------- */
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top); transition: background-color 0.35s, box-shadow 0.35s, color 0.35s; color: #fff; }
.scrolled .topbar { background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.topbar-in { display: flex; align-items: center; gap: 16px; height: 64px; width: min(1180px, 100% - 32px); margin-inline: auto; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.25rem; }
.brand-mark svg { width: 28px; height: 28px; color: currentColor; }
.topbar:not(.x) .brand-mark svg path:last-child { fill: transparent; }
.topnav { display: none; gap: 26px; margin-left: auto; font-weight: 600; font-size: 0.9375rem; }
.topnav a { text-decoration: none; opacity: 0.85; } .topnav a:hover { opacity: 1; }
.toggles { display: flex; gap: 8px; margin-left: auto; }
.seg { position: relative; display: flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.28); }
.scrolled .seg { background: color-mix(in srgb, var(--ink) 6%, transparent); border-color: var(--line); }
.seg button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 40px; min-height: 40px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-weight: 700; font-size: 0.8125rem; transition: color 0.3s; }
.seg button .ic { width: 18px; height: 18px; }
.seg button span { display: none; }
.seg-thumb { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.2, 1.1); }
.seg button[aria-pressed='true'] { color: var(--ink); }
.seg-season button[data-season='summer'][aria-pressed='true'] ~ .seg-thumb { transform: translateX(100%); }
.seg-lang button { flex: 1 1 0; }
.seg-lang .seg-thumb { width: calc((100% - 6px) / var(--n, 2)); transform: translateX(calc(var(--k, 0) * 100%)); }
.scrolled .seg-thumb { background: var(--ink); }
.scrolled .seg button[aria-pressed='true'] { color: var(--bg); }

/* ---------- prvi ekran ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; isolation: isolate; }
.hero-art { position: absolute; inset: -4% 0 0; z-index: -3; transform: scale(1.04); will-change: transform; }
.hero-art .scene, .hero-img { width: 100%; height: 100%; object-fit: cover; }
.fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, transparent 22%, transparent 40%, var(--shade) 100%); }
.hero-in { padding: 120px 0 calc(110px + env(safe-area-inset-bottom)); }
@media (max-width: 959px) {
  .hero { align-items: stretch; }
  .hero-in { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 100vh; min-height: 100svh; padding: calc(84px + env(safe-area-inset-top)) 0 calc(84px + env(safe-area-inset-bottom)); }
  .hero-shade { background: linear-gradient(180deg, rgba(4, 14, 22, 0.55) 0%, rgba(4, 14, 22, 0.2) 34%, transparent 48%, transparent 68%, var(--shade) 100%); }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.6rem); margin-top: 14px; }
  .hero-tag { margin-top: 12px; }
  .hero-ctas { margin-top: 0; }
  .hero-ctas .btn { flex: 1 1 100%; }
}
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.02em; }
.badge .ic { width: 16px; height: 16px; }
.hero h1 { margin-top: 18px; font-size: clamp(3.2rem, 15vw, 7.5rem); font-weight: 600; letter-spacing: -0.03em; line-height: 0.95; text-shadow: 0 6px 40px rgba(0, 0, 0, 0.25); }
.h1-small { display: block; font-size: 0.32em; font-weight: 500; letter-spacing: 0.02em; font-style: italic; opacity: 0.92; margin-bottom: 6px; }
.h1-place { display: block; font-family: 'Manrope', sans-serif; font-size: 0.2em; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; margin-top: 14px; opacity: 0.9; }
.hero-tag { margin-top: 18px; max-width: 30ch; font-size: clamp(1.05rem, 1rem + 0.6vw, 1.3rem); opacity: 0.95; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- dugmad ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform 0.2s, box-shadow 0.25s, background-color 0.25s; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-primary:hover { box-shadow: 0 14px 36px -8px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn-ghost { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.45); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-small { min-height: 42px; padding: 0 16px; font-size: 0.875rem; }
.btn-viber { background: #7360f2; color: #fff; }
.btn-wa { background: #25d366; color: #08331b; }

/* ---------- sekcije ---------- */
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec-alt { background: var(--bg-alt); }
.sec-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 48px); }
.eyebrow { font-weight: 800; font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 10px; }
.sec h2 { font-size: clamp(2rem, 1.4rem + 3vw, 3.2rem); }
.lead { margin-top: 12px; color: var(--muted); font-size: 1.0625rem; }

/* pojavljivanje */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--d, 0) * 70ms); }
.reveal.in { opacity: 1; transform: none; }

/* činjenice */
.facts { position: relative; z-index: 2; margin-top: -56px; }
.fact-list { list-style: none; margin: 0; padding: 18px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 10px; background: var(--card); border-radius: 24px; box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.3); border: 1px solid var(--line); }
.fact { display: flex; align-items: center; gap: 10px; padding: 10px 6px; font-size: 0.9375rem; }
.fact .ic { color: var(--accent-ink); width: 24px; height: 24px; }
.fact b { font-family: 'Fraunces', serif; font-size: 1.15rem; }

/* galerija */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.g-wide { grid-column: span 2; }
.g-last { grid-column: span var(--span-m, 1); }
.g-pano-m .g-btn { aspect-ratio: 16 / 9; }
.g-btn { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 20px; overflow: hidden; cursor: zoom-in; background: var(--bg-alt); aspect-ratio: 4 / 3; }
.g-wide .g-btn { aspect-ratio: 16 / 9; }
.g-art { position: absolute; inset: 0; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.g-art img { width: 100%; height: 100%; object-fit: cover; }
.g-btn:hover .g-art { transform: scale(1.05); }
.g-cap { position: absolute; left: 10px; bottom: 10px; padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.45); color: #fff; font-size: 0.8125rem; font-weight: 700; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(10, 10, 12, 0.97); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: grid; grid-template-rows: 1fr auto; opacity: 0; transition: opacity 0.25s; touch-action: pan-y; }
.lightbox.open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lb-stage { display: grid; place-items: center; padding: 70px 12px 12px; overflow: hidden; }
.lb-art { width: min(100%, 1100px); aspect-ratio: 4 / 3; max-height: 72vh; border-radius: 16px; overflow: hidden; animation: lbIn 0.35s ease; }
/* prave fotografije: cijela slika, bez rezanja */
.lb-art:has(img) { width: auto; aspect-ratio: auto; max-width: 100%; display: grid; place-items: center; background: transparent; }
.lb-art img { display: block; max-width: min(100%, 1100px); max-height: calc(100vh - 190px); max-height: calc(100svh - 190px); width: auto; height: auto; object-fit: contain; border-radius: 14px; }
.lb-art.from-r { animation-name: lbR; } .lb-art.from-l { animation-name: lbL; }
@keyframes lbIn { from { opacity: 0; transform: scale(0.96); } }
@keyframes lbR { from { opacity: 0; transform: translateX(40px); } }
@keyframes lbL { from { opacity: 0; transform: translateX(-40px); } }
.lb-cap { text-align: center; color: #fff; font-weight: 700; padding: 12px 16px 4px; }
.lb-count { position: absolute; top: 22px; left: 0; right: 0; pointer-events: none; text-align: center; color: rgba(255, 255, 255, 0.7); font-size: 0.875rem; font-weight: 700; padding-top: env(safe-area-inset-top); }
.lb-btn { position: absolute; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.08); color: #fff; cursor: pointer; }
.lb-close { top: calc(12px + env(safe-area-inset-top)); right: 12px; }
.lb-prev { left: 12px; bottom: calc(24px + env(safe-area-inset-bottom)); } .lb-next { right: 12px; bottom: calc(24px + env(safe-area-inset-bottom)); }

/* o vikendici */
.about-grid { display: grid; gap: 36px; }
.about-text p { font-size: 1.125rem; margin-bottom: 18px; }
.about-text p:first-child::first-letter { font-family: 'Fraunces', serif; float: left; font-size: 3.6em; line-height: 0.85; margin: 6px 10px 0 0; color: var(--accent-ink); }
.about-art { position: relative; padding-bottom: 18%; }
.frame { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.45); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame-2 { position: absolute; width: 52%; right: -4px; bottom: 0; border: 6px solid var(--bg); aspect-ratio: 1 / 1; }

/* sadržaji */
.amen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.amen-i { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; font-weight: 600; font-size: 0.9375rem; line-height: 1.3; }
.amen-ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent-ink); }

/* cijene */
.price-grid { display: grid; gap: 14px; }
.price-card { padding: 24px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); position: relative; overflow: hidden; }
.price-card::after { content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; opacity: 0.16; }
.price-winter::after { background: #6fb2e6; } .price-summer::after { background: #f2c14e; }
[data-season='winter'] .price-winter, [data-season='summer'] .price-summer { border-color: color-mix(in srgb, var(--accent) 55%, transparent); box-shadow: 0 16px 40px -24px color-mix(in srgb, var(--accent) 70%, transparent); }
.price-top { display: flex; gap: 14px; align-items: center; }
.price-top .ic { width: 34px; height: 34px; color: var(--accent-ink); }
.price-top h3 { font-size: 1.35rem; } .price-top p { color: var(--muted); font-size: 0.875rem; }
.price-num { margin-top: 18px; font-weight: 700; } .price-num b { font-family: 'Fraunces', serif; font-size: 3rem; line-height: 1; } .price-num span { color: var(--muted); font-weight: 600; }
.price-sub { margin-top: 8px; color: var(--muted); font-size: 0.875rem; }
.price-inc { padding: 24px; border-radius: 24px; background: var(--accent-2); color: #f4f1e8; }
.price-inc h3 { font-size: 1.35rem; margin-bottom: 12px; }
.price-inc ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.price-inc li { display: flex; gap: 10px; align-items: center; } .price-inc .ic { width: 20px; height: 20px; color: #ffd27a; }
.price-note { font-size: 0.875rem; opacity: 0.85; }

/* kalkulator i upit */
.calc-grid { display: grid; gap: 16px; }
.calc-card { position: relative; z-index: 3; }
.calc-card, .inq-card { padding: 22px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 20px 50px -34px rgba(0, 0, 0, 0.4); }
.inq-card h3 { font-size: 1.5rem; } .inq-card > .muted { margin: 6px 0 12px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: grid; gap: 6px; margin-bottom: 12px; min-width: 0; }
.field span { font-weight: 700; font-size: 0.8125rem; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-width: 0; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); font-size: 1rem; -webkit-appearance: none; appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px; background-size: 6px 6px; background-repeat: no-repeat; }
.field textarea { resize: vertical; min-height: 70px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.calc-out { margin-top: 6px; padding: 18px; border-radius: 18px; background: var(--bg-alt); }
.calc-line { color: var(--muted); font-size: 0.9375rem; } .calc-line.is-err { color: #b3261e; font-weight: 600; }
.calc-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; font-weight: 700; }
.calc-total b { font-family: 'Fraunces', serif; font-size: 2.4rem; line-height: 1; color: var(--accent-ink); }
.calc-total.bump b { animation: bump 0.5s ease; }
@keyframes bump { 40% { transform: scale(1.06); } }
.calc-dep { margin-top: 6px; font-size: 0.875rem; color: var(--muted); min-height: 1.2em; }
.inq-btns { display: grid; gap: 10px; margin: 6px 0 10px; }
.form-err { color: #b3261e; font-weight: 600; font-size: 0.9rem; min-height: 0; }
.form-err:empty { display: none; } .form-err:not(:empty) { margin-bottom: 10px; }

/* lokacija */
.loc-grid { display: grid; gap: 18px; }
.map { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); }
.map-svg { display: block; width: 100%; height: auto; }
.map-bg { fill: var(--bg-alt); }
.map-hill { fill: color-mix(in srgb, var(--mtn-3) 60%, var(--bg-alt)); } .map-hill-2 { fill: color-mix(in srgb, var(--mtn-2) 45%, var(--bg-alt)); }
.map-contour { fill: none; stroke: var(--line); stroke-width: 2; }
.map-road { fill: none; stroke: var(--card); stroke-width: 12; stroke-linecap: round; }
.map-road-dash { fill: none; stroke: var(--accent); stroke-width: 3; stroke-dasharray: 10 12; stroke-linecap: round; animation: dash 3s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -44; } }
.map-label text { fill: var(--muted); font: 700 16px 'Manrope', sans-serif; }
.map-ski path { stroke: var(--ink); stroke-width: 3; stroke-dasharray: 2 8; stroke-linecap: round; } .map-ski circle { fill: var(--ink); }
.pin-body { fill: var(--accent); } .pin-dot { fill: #fff; }
.pin-pulse { fill: var(--accent); opacity: 0.2; transform-box: fill-box; transform-origin: center; animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(0.4); opacity: 0.45; } 100% { transform: scale(1.6); opacity: 0; } }
.map-btn { position: absolute; left: 12px; bottom: 12px; background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.signs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sign { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); position: relative; }
.sign::after { content: ''; position: absolute; right: -9px; top: 50%; width: 18px; height: 18px; background: var(--card); border-top: 1px solid var(--line); border-right: 1px solid var(--line); transform: translateY(-50%) rotate(45deg); border-radius: 3px; }
.sign .ic { color: var(--accent-ink); }
.sign-place { font-weight: 700; flex: 1; } .sign-time { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.2rem; position: relative; z-index: 1; }

/* šta raditi */
.act-cols { display: grid; gap: 18px; }
.act-col { padding: 22px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); transition: opacity 0.6s, transform 0.6s; }
.act-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.act-h { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; margin-bottom: 16px; }
.act-h .ic { color: var(--accent-ink); width: 26px; height: 26px; }
[data-season='winter'] .act-summer, [data-season='summer'] .act-winter { opacity: 0.62; }
.act { display: flex; gap: 14px; }
.act-ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--bg-alt); color: var(--accent-2); }
.act h3 { font-family: 'Manrope', sans-serif; font-size: 1rem; font-weight: 800; } .act p { color: var(--muted); font-size: 0.9375rem; }
.food { display: flex; gap: 16px; align-items: flex-start; margin-top: 18px; padding: 22px; border-radius: 24px; background: var(--accent-2); color: #f4f1e8; }
.food .ic { width: 40px; height: 40px; color: #ffd27a; } .food h3 { font-size: 1.3rem; } .food p { opacity: 0.88; margin-top: 4px; }

/* recenzije */
.reviews { list-style: none; margin: 0 -16px; padding: 4px 16px 16px; display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.reviews::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; padding: 22px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.stars { display: flex; gap: 2px; } .stars span { color: color-mix(in srgb, var(--ink) 18%, transparent); } .stars span.on { color: #f2b01e; } .stars .ic { width: 18px; height: 18px; }
.review blockquote { margin: 0; font-family: 'Fraunces', serif; font-size: 1.15rem; line-height: 1.45; flex: 1; }
.who { color: var(--muted); font-size: 0.875rem; } .who b { color: var(--ink); }

/* pitanja */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq-i { border-radius: 18px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.faq-i summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; font-weight: 700; }
.faq-i summary::-webkit-details-marker { display: none; }
.faq-plus { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--bg-alt); transition: transform 0.35s; }
.faq-plus .ic { width: 18px; height: 18px; }
.faq-i[open] .faq-plus { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq-a { padding: 0 20px 18px; color: var(--muted); }
.faq-i[open] .faq-a { animation: faqIn 0.35s ease; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* kontakt */
.contact-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: transform 0.2s, border-color 0.2s; }
.contact-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.contact-card .ic { width: 28px; height: 28px; color: var(--accent-ink); }
.contact-card span { display: grid; } .contact-card small { color: var(--muted); font-size: 0.875rem; }

/* footer */
.foot { background: var(--accent-2); color: #efece2; padding: 40px 0 calc(110px + env(safe-area-inset-bottom)); }
.foot-in { display: grid; gap: 10px; }
.foot-brand { display: flex; align-items: center; gap: 10px; font-family: 'Fraunces', serif; font-size: 1.3rem; }
.foot-brand svg { width: 26px; height: 26px; color: #efece2; } .foot-brand svg path:last-child { fill: transparent; }
.demo-note { display: inline-block; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.1); font-size: 0.875rem; }
.foot .muted { color: rgba(239, 236, 226, 0.7); }
.credit a { font-weight: 700; }

/* donja traka na mobitelu */
.dock { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40; display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 8px; padding: 8px; border-radius: 22px; background: color-mix(in srgb, var(--card) 92%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: 0 16px 40px -14px rgba(0, 0, 0, 0.35); transform: translateY(140%); transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.2, 1); }
.past-hero .dock { transform: none; }
.dock-btn { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; border-radius: 15px; text-decoration: none; font-weight: 800; font-size: 0.875rem; background: var(--bg-alt); }
.dock-btn .ic { width: 20px; height: 20px; }
.dock-viber { background: #7360f2; color: #fff; }
.dock-cta { background: var(--accent); color: #fff; }

/* ---------- veći ekrani ---------- */
@media (min-width: 560px) { .seg-season button span { display: inline; } }
@media (min-width: 640px) {
  .fact-list { grid-template-columns: repeat(4, 1fr); padding: 22px 26px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .g-wide { grid-column: span 2; grid-row: span 2; }
  .g-wide .g-btn { aspect-ratio: auto; height: 100%; }
  .g-last { grid-column: span var(--span-d, 1); }
  .g-last .g-btn { aspect-ratio: calc(var(--span-d, 1) * 4 / 3); }
  .g-pano-d .g-btn { aspect-ratio: 21 / 8; }
  .amen { grid-template-columns: repeat(3, 1fr); }
  .price-grid { grid-template-columns: 1fr 1fr; } .price-inc { grid-column: span 2; }
  .act-cols { grid-template-columns: 1fr 1fr; }
  .reviews { margin: 0; padding: 4px 0 0; grid-auto-flow: row; grid-template-columns: 1fr 1fr; overflow: visible; }
  .contact-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .inq-btns { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .hero-shade { background: linear-gradient(90deg, rgba(4, 14, 22, 0.5) 0%, rgba(4, 14, 22, 0.15) 45%, transparent 60%), linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, transparent 20%, transparent 55%, var(--shade) 100%); }
  .topnav { display: flex; } .toggles { margin-left: 18px; }
  .hero-in { padding-bottom: 150px; }
  .facts { margin-top: -72px; }
  .about-grid { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 60px; }
  .amen { grid-template-columns: repeat(4, 1fr); }
  .price-grid { grid-template-columns: 1fr 1fr 1.1fr; } .price-inc { grid-column: auto; }
  .calc-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .loc-grid { grid-template-columns: 1.4fr 1fr; align-items: center; }
  .reviews { grid-template-columns: repeat(4, 1fr); }
  .dock { display: none; }
  .foot { padding-bottom: 40px; }
}

/* ---------- opcionalno: video na početku, animirani logo, sobe, cijene na upit ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero:has(.hero-logo) .hero-shade { background: linear-gradient(180deg, rgba(18, 14, 10, 0.55) 0%, rgba(18, 14, 10, 0.25) 40%, rgba(18, 14, 10, 0.3) 70%, rgba(18, 14, 10, 0.7) 100%); }
.hero:has(.hero-logo) .hero-in { text-align: center; }
.hero:has(.hero-logo) .hero-top { display: flex; flex-direction: column; align-items: center; }
.hero:has(.hero-logo) .hero-tag { margin-inline: auto; }
.hero:has(.hero-logo) .hero-ctas { justify-content: center; }
.hero-logo { position: relative; display: grid; justify-items: center; gap: clamp(6px, 1.5vw, 14px); width: min(90vw, 600px); margin: 22px auto 0; text-shadow: none; }
.hero-logo::before { content: ''; position: absolute; inset: -18% -10%; z-index: -1; background: radial-gradient(closest-side, rgba(18, 14, 10, 0.45), transparent); }
.hl-mark { width: 70%; height: auto; filter: drop-shadow(0 6px 30px rgba(0, 0, 0, 0.35)); animation: hlMark 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both; }
.hl-word { width: 100%; height: auto; filter: drop-shadow(0 6px 30px rgba(0, 0, 0, 0.35));
  -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 60%); mask-image: linear-gradient(90deg, #000 40%, transparent 60%);
  -webkit-mask-size: 260% 100%; mask-size: 260% 100%; -webkit-mask-position: 100% 0; mask-position: 100% 0;
  animation: hlWrite 2s cubic-bezier(0.45, 0, 0.2, 1) 1.1s forwards; }
@keyframes hlMark { from { opacity: 0; clip-path: circle(0% at 50% 70%); transform: translateY(14px) scale(0.96); } to { opacity: 1; clip-path: circle(80% at 50% 70%); transform: none; } }
@keyframes hlWrite { to { -webkit-mask-position: 0 0; mask-position: 0 0; } }

.rooms { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.room { display: grid; border-radius: 24px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: 0 20px 50px -34px rgba(0, 0, 0, 0.4); }
.room-art { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.room-art img, .room-art .scene { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.room:hover .room-art img { transform: scale(1.05); }
.room-body { padding: 20px 22px 22px; display: grid; gap: 10px; align-content: start; }
.room-body h3 { font-size: 1.45rem; }
.room-beds { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; font-size: 0.9375rem; }
.room-beds .ic { width: 18px; height: 18px; color: var(--accent-ink); }
.room-text { color: var(--muted); }
.btn-outline { justify-self: start; border-color: var(--line); background: transparent; color: var(--ink); }
.btn-outline:hover { border-color: var(--accent); }
.btn-outline .ic { width: 18px; height: 18px; }
.calc-onreq b { font-size: 1.8rem; }
.map-img { display: block; width: 100%; height: auto; }
@media (min-width: 640px) { .rooms { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .hl-word { -webkit-mask-image: none; mask-image: none; } }

/* ---------- kalendar, padajući meniji, obavezna polja ---------- */
.req { color: var(--accent-ink); font-style: normal; font-weight: 800; }
.field-dates { position: relative; }
.dates { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.date-btn { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 8px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); text-align: left; cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s; min-width: 0; }
.date-btn .ic { width: 20px; height: 20px; color: var(--accent-ink); }
.date-btn span { display: grid; min-width: 0; }
.date-btn small { font-size: 0.75rem; font-weight: 700; color: var(--muted); }
.date-btn b { font-size: 0.9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.date-btn:hover, .date-btn.is-active { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }

.pop { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 8px); background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.35); opacity: 0; transform: translateY(-6px) scale(0.98); transform-origin: top center; transition: opacity 0.18s ease, transform 0.22s cubic-bezier(0.2, 0.9, 0.2, 1); }
.pop.open { opacity: 1; transform: none; }
.pop, .dates { scroll-margin: 90px 0 120px; }
@media (min-width: 960px) { .pop, .dates { scroll-margin: 90px 0 24px; } }
.pop[hidden] { display: none; }

.cal-pop { padding: 14px; max-width: 380px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cal-head b { font-family: 'Fraunces', serif; font-size: 1.15rem; text-transform: capitalize; }
.cal-nav { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; }
.cal-nav:disabled { opacity: 0.35; cursor: default; }
.cal-nav .ic { width: 18px; height: 18px; }
.cal-hint { margin: 8px 0 6px; font-size: 0.8125rem; font-weight: 700; color: var(--accent-ink); }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.cal-dow span { font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.04em; color: var(--muted); padding: 4px 0; text-transform: uppercase; }
.cal-day { aspect-ratio: 1; min-height: 38px; border: 0; border-radius: 12px; background: transparent; font-weight: 700; font-size: 0.9rem; cursor: pointer; position: relative; transition: background-color 0.15s, color 0.15s; }
.cal-day:hover:not(:disabled) { background: color-mix(in srgb, var(--accent) 14%, transparent); }
.cal-day:disabled { color: color-mix(in srgb, var(--ink) 25%, transparent); cursor: default; text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--ink) 20%, transparent); }
.cal-day.is-today::after { content: ''; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }
.cal-day.is-range { background: color-mix(in srgb, var(--accent) 16%, transparent); border-radius: 0; }
.cal-day.is-start, .cal-day.is-end { background: var(--accent); color: var(--on-accent); }
.cal-day.is-start::after, .cal-day.is-end::after { background: var(--on-accent); }
.cal-foot { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.cal-foot span { flex: 1; font-weight: 700; font-size: 0.9rem; color: var(--accent-ink); }
.cal-clear { border: 0; background: none; color: var(--muted); font-weight: 700; cursor: pointer; padding: 8px; }

.dd { position: relative; }
.dd-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 50px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); font-size: 1rem; text-align: left; cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s; }
.dd-btn:hover, .dd.is-open .dd-btn { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.dd-chev { width: 18px; height: 18px; color: var(--muted); transition: transform 0.25s; }
.dd.is-open .dd-chev { transform: rotate(180deg); }
.dd-list { list-style: none; margin: 0; padding: 6px; max-height: 280px; overflow-y: auto; }
.dd-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 12px; cursor: pointer; font-weight: 600; outline: none; }
.dd-list li:hover, .dd-list li:focus { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.dd-check { width: 18px; height: 18px; color: var(--accent-ink); opacity: 0; }
.dd-list li[aria-selected='true'] { color: var(--accent-ink); }
.dd-list li[aria-selected='true'] .dd-check { opacity: 1; }
.calc-card .field { margin-bottom: 14px; }

.need { margin: 4px 0 12px; padding: 14px 16px; border-radius: 16px; background: color-mix(in srgb, var(--accent) 9%, var(--card)); border: 1px dashed color-mix(in srgb, var(--accent) 45%, transparent); transition: background-color 0.3s, border-color 0.3s; }
.need > p:first-child { font-weight: 800; font-size: 0.875rem; margin-bottom: 6px; }
.need ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.need li { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--muted); transition: color 0.2s; }
.need li .ic { width: 18px; height: 18px; padding: 2px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--ink) 25%, transparent); color: transparent; transition: all 0.25s; }
.need li.ok { color: var(--ink); }
.need li.ok .ic { background: #2e9d5b; border-color: #2e9d5b; color: #fff; }
.need-why { margin-top: 8px; font-size: 0.8125rem; color: var(--muted); }
.need.all-ok { background: color-mix(in srgb, #2e9d5b 8%, var(--card)); border-color: color-mix(in srgb, #2e9d5b 40%, transparent); border-style: solid; }
.need.all-ok .need-why { display: none; }
.btn.is-locked { filter: grayscale(0.85); opacity: 0.55; box-shadow: none; }

/* ---------- prvi ekran: istaknuto i strelica ---------- */
.hero-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hero-chips li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-weight: 700; font-size: 0.875rem; }
.hero-chips .ic { width: 18px; height: 18px; }
.hero:not(:has(.hero-logo)) .hero-chips { justify-content: flex-start; }
.scroll-cue { position: absolute; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateX(-50%); display: grid; justify-items: center; gap: 2px; color: rgba(255, 255, 255, 0.85); text-decoration: none; font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
.scroll-cue .ic { width: 22px; height: 22px; animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: 0.6; } 50% { transform: translateY(6px); opacity: 1; } }
@media (max-width: 959px) { .hero-in { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } .scroll-cue { display: none; } }
@media (min-width: 960px) { .hero-chips { margin-top: 22px; } .hero-chips + .hero-ctas { margin-top: 26px; } .scroll-cue { bottom: 92px; } }
@media (max-height: 920px) { .scroll-cue { display: none; } }

/* ---------- na vrh ---------- */
.to-top { position: fixed; right: 16px; bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 45; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--card); color: var(--ink); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.35); opacity: 0; transform: translateY(16px) scale(0.9); pointer-events: none; transition: opacity 0.3s, transform 0.35s cubic-bezier(0.2, 0.9, 0.2, 1.2); }
.show-top .to-top { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }
.to-top .ic { width: 22px; height: 22px; position: relative; }
.to-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top-ring circle { fill: none; stroke: var(--line); stroke-width: 3; }
.to-top-ring .to-top-prog { stroke: var(--accent); stroke-dasharray: 138.2; stroke-dashoffset: 138.2; stroke-linecap: round; transition: stroke-dashoffset 0.1s linear; }
@media (min-width: 960px) { .to-top { bottom: 24px; right: 24px; } }

/* ---------- logo u zaglavlju i footeru ---------- */
.brand.has-logo .brand-mark { display: grid; }
.brand-logo { height: 34px; width: auto; display: block; }
.brand-logo-dark { display: none; }
.scrolled .brand-logo-light { display: none; }
.scrolled .brand-logo-dark { display: block; }
.foot-brand .brand-logo { height: 30px; }

/* ---------- vrijeme uživo ---------- */
.wx { --wx-a: #3d5a73; --wx-b: #8fb3cc; --wx-glow: rgba(255, 255, 255, 0.35); position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 22px; margin-bottom: 22px; padding: 22px 22px 26px; border-radius: 28px; color: #fff; background: linear-gradient(160deg, var(--wx-a) 0%, var(--wx-b) 100%); box-shadow: 0 30px 60px -32px rgba(10, 20, 30, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25); animation: wx-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes wx-in { from { opacity: 0; transform: translateY(20px) scale(0.98); } }
.wx-snow, .wx-fog { --wx-a: #4b6378; --wx-b: #b9cfdf; }
.wx-sun { --wx-a: #2f7bbf; --wx-b: #9fd0f0; --wx-glow: rgba(255, 220, 130, 0.65); }
.wx-cloudsun { --wx-a: #4a7397; --wx-b: #b5cfe2; --wx-glow: rgba(255, 220, 140, 0.45); }
.wx-cloud { --wx-a: #56626e; --wx-b: #a3b0bc; }
.wx-rain, .wx-storm { --wx-a: #2e3d4c; --wx-b: #6f8295; }
.wx-night { --wx-a: #101b2d; --wx-b: #34496a; --wx-glow: rgba(200, 215, 255, 0.25); }
.wx-sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.wx-glow { position: absolute; width: 260px; height: 260px; right: -70px; top: -90px; border-radius: 50%; background: radial-gradient(circle, var(--wx-glow), transparent 68%); animation: wx-breathe 6s ease-in-out infinite; }
@keyframes wx-breathe { 50% { transform: scale(1.12); opacity: 0.8; } }
.wx-mtn { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 34%; fill: rgba(255, 255, 255, 0.1); }
.wx-mtn .wx-mtn-2 { fill: rgba(255, 255, 255, 0.12); }
.wx-fall { position: absolute; inset: -100% 0 0; display: none; background-image: radial-gradient(2px 2px at 20px 30px, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 80px 90px, #fff 50%, transparent 51%), radial-gradient(2.5px 2.5px at 140px 50px, rgba(255,255,255,.9) 50%, transparent 51%), radial-gradient(1.5px 1.5px at 190px 140px, #fff 50%, transparent 51%), radial-gradient(2px 2px at 50px 170px, rgba(255,255,255,.8) 50%, transparent 51%); background-size: 220px 200px; animation: wx-fall 9s linear infinite; opacity: 0.85; }
.wx-fall-2 { background-size: 160px 150px; animation-duration: 14s; opacity: 0.5; }
@keyframes wx-fall { to { transform: translateY(50%); } }
.wx-snow .wx-fall { display: block; }
.wx-rain .wx-fall, .wx-storm .wx-fall { display: block; background-image: linear-gradient(transparent 0 60%, rgba(255,255,255,.45) 60% 100%); background-size: 3px 26px; background-position: 0 0; filter: blur(0.3px); animation-duration: 1.2s; transform-origin: center; }
.wx-rain .wx-fall-2, .wx-storm .wx-fall-2 { background-size: 2px 34px; margin-left: 9px; animation-duration: 1.6s; }
.wx-night .wx-glow { width: 44px; height: 44px; right: 30px; top: 26px; background: none; box-shadow: inset -11px 7px 0 0 #f3efdf; filter: drop-shadow(0 0 14px rgba(230, 235, 255, 0.55)); transform: rotate(-12deg); animation: none; }
.wx-night:not(.wx-snow):not(.wx-rain):not(.wx-storm) .wx-fall { display: block; inset: 0; animation: wx-twinkle 3.5s ease-in-out infinite alternate; opacity: 0.7; }
.wx-night:not(.wx-snow):not(.wx-rain):not(.wx-storm) .wx-fall-2 { animation-delay: -1.7s; opacity: 0.45; }
@keyframes wx-twinkle { from { opacity: 0.25; } }
.wx-label { display: inline-flex; align-items: center; gap: 9px; padding: 6px 12px 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.wx-live { width: 8px; height: 8px; border-radius: 50%; background: #6ff0a0; box-shadow: 0 0 0 0 rgba(111, 240, 160, 0.7); animation: wx-pulse 1.8s infinite; }
@keyframes wx-pulse { 70% { box-shadow: 0 0 0 9px rgba(111, 240, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(111, 240, 160, 0); } }
.wx-main { display: flex; align-items: center; gap: 16px; margin: 18px 0 16px; }
.wx-icon { display: grid; place-items: center; width: 78px; height: 78px; flex: none; border-radius: 24px; background: rgba(255, 255, 255, 0.16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.wx-icon .wx-big { width: 46px; height: 46px; stroke-width: 1.5; animation: wx-float 4s ease-in-out infinite; }
.wx-sun .wx-icon .wx-big { animation: wx-spin 24s linear infinite; color: #ffe08a; }
@keyframes wx-float { 50% { transform: translateY(-4px); } }
@keyframes wx-spin { to { transform: rotate(360deg); } }
.wx-temp { display: block; font-family: 'Manrope', system-ui, sans-serif; font-size: 3.6rem; line-height: 0.95; font-weight: 700; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; text-shadow: 0 6px 24px rgba(0, 0, 0, 0.18); }
.wx-temp sup { font-size: 0.38em; vertical-align: 0; position: relative; top: -1.2em; margin-left: 4px; font-weight: 600; letter-spacing: 0; opacity: 0.85; }
.wx-cond { display: block; margin-top: 6px; font-size: 1.05rem; font-weight: 700; }
.wx-feels { display: block; font-size: 0.875rem; opacity: 0.8; }
.wx-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.wx-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 0.8125rem; font-weight: 700; }
.wx-chip .ic { width: 16px; height: 16px; }
.wx-next { padding: 16px; border-radius: 22px; background: rgba(255, 255, 255, 0.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.wx-next-t { font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.8; margin-bottom: 6px; }
.wx-days { list-style: none; margin: 0; padding: 0; display: grid; }
.wx-days li { display: grid; grid-template-columns: 1fr 30px 1.4fr; align-items: center; gap: 12px; padding: 10px 0; animation: wx-in 0.7s calc(0.2s + var(--d, 0) * 0.12s) both; }
.wx-days li + li { border-top: 1px solid rgba(255, 255, 255, 0.16); }
.wx-dn { font-weight: 700; font-size: 0.9375rem; }
.wx-days .ic { width: 26px; height: 26px; }
.wx-range { display: grid; grid-template-columns: 30px 1fr 30px; align-items: center; gap: 8px; font-size: 0.9375rem; }
.wx-range small { opacity: 0.7; text-align: right; font-size: inherit; }
.wx-range i { position: relative; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.18); }
.wx-range i::after { content: ''; position: absolute; top: 0; bottom: 0; left: var(--a); right: var(--b); min-width: 8px; border-radius: 6px; background: linear-gradient(90deg, #a8dcff, #ffd27a); }
@media (min-width: 760px) {
  .wx { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 32px; padding: 32px 34px 36px; }
  .wx-temp { font-size: 4.4rem; }
  .wx-icon { width: 92px; height: 92px; border-radius: 28px; }
  .wx-icon .wx-big { width: 54px; height: 54px; }
}

/* ---------- doručak ---------- */
.bf-grid { display: grid; gap: 22px; align-items: center; }
.bf-art { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--card); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.45); }
.bf-art img, .bf-art .scene { width: 100%; height: 100%; object-fit: cover; }
.bf-lead { font-size: 1.125rem; line-height: 1.6; margin-bottom: 18px; }
.bf-items { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.bf-items li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; font-weight: 600; }
.bf-items .ic { width: 20px; height: 20px; flex: none; color: var(--accent-ink); }
.bf-time { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-ink); font-weight: 700; margin-bottom: 10px; }
.bf-time .ic { width: 20px; height: 20px; }
@media (min-width: 960px) { .bf-grid { grid-template-columns: 1.1fr 1fr; gap: 48px; } }

/* ---------- kako doći ---------- */
.dirs { margin-top: 22px; padding: 22px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.dirs-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.dirs-head h3 { font-size: 1.5rem; }
.dirs-head .btn { min-height: 46px; }
.dirs-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: st; }
.dirs-steps li { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 0 0 16px; }
.dirs-steps li:not(:last-child)::before { content: ''; position: absolute; left: 21px; top: 44px; bottom: 2px; border-left: 2px dashed var(--line); }
.dirs-ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--bg-alt); color: var(--accent-2); }
.dirs-steps p { padding-top: 10px; line-height: 1.5; }
.dirs-tip { display: flex; gap: 12px; align-items: flex-start; margin-top: 4px; padding: 14px 16px; border-radius: 16px; background: color-mix(in srgb, #4a90c2 12%, transparent); color: var(--ink); font-weight: 600; line-height: 1.5; }
.dirs-tip .ic { width: 22px; height: 22px; flex: none; color: #3a7fb0; margin-top: 1px; }
@media (min-width: 960px) { .dirs { padding: 30px; } .dirs-head .btn { flex: none; } }
@media (max-width: 520px) { .dirs-head .btn { width: 100%; } }

/* ---------- Instagram ---------- */
.ig-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ig-grid a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: var(--bg-alt); }
.ig-grid img, .ig-grid .scene { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.ig-hover { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(10, 10, 12, 0.35); opacity: 0; transition: opacity 0.3s; }
.ig-hover .ic { width: 34px; height: 34px; }
.ig-grid a:hover img, .ig-grid a:hover .scene, .ig-grid a:focus-visible img { transform: scale(1.06); }
.ig-grid a:hover .ig-hover, .ig-grid a:focus-visible .ig-hover { opacity: 1; }
.ig-cta { margin-top: 24px; }
@media (min-width: 760px) { .ig-grid { gap: 12px; } .ig-grid a { border-radius: 18px; } }

/* =========================================================
   PREMIUM SLOJ: meni-vodič, animacije, prelazi između sekcija
   ========================================================= */

/* ---------- zaglavlje: traka napretka, aktivni link, dugmad ---------- */
.topbar::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 45%, #ffd27a)); opacity: 0; transition: opacity 0.3s; }
.scrolled .topbar::after { opacity: 1; }
.topnav { position: relative; }
.topnav a { position: relative; padding: 8px 0; transition: opacity 0.25s; }
.topnav a.is-active { opacity: 1; }
.topnav-pill { position: absolute; left: 0; bottom: 0; width: 0; height: 2px; border-radius: 2px; background: var(--accent); opacity: 0; pointer-events: none; transition: transform 0.55s cubic-bezier(0.2, 0.9, 0.2, 1), width 0.55s cubic-bezier(0.2, 0.9, 0.2, 1), opacity 0.3s; }
.top-cta { display: none; min-height: 42px; padding: 0 18px; font-size: 0.875rem; margin-left: 4px; }
.top-cta .ic { width: 18px; height: 18px; }
.menu-btn { display: inline-flex; align-items: center; gap: 10px; flex: none; height: 44px; padding: 0 16px 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: inherit; font-weight: 800; font-size: 0.875rem; cursor: pointer; transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.2s; }
.menu-btn:active { transform: scale(0.96); }
.scrolled .topbar .menu-btn { background: var(--ink); color: var(--bg); border-color: transparent; }
.mb-lines { position: relative; display: block; width: 18px; height: 12px; }
.mb-lines i { position: absolute; left: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.2, 1), width 0.3s, top 0.3s; }
.mb-lines i:first-child { top: 2px; width: 18px; }
.mb-lines i:last-child { top: 8px; width: 11px; }
.menu-btn:hover .mb-lines i:last-child { width: 18px; }
.menu-btn.is-x .mb-lines i:first-child { top: 5px; transform: rotate(45deg); }
.menu-btn.is-x .mb-lines i:last-child { top: 5px; width: 18px; transform: rotate(-45deg); }
@media (max-width: 699px) {
  .topbar .seg-season { display: none; }
  .topbar-in { gap: 10px; }
}
@media (min-width: 960px) {
  .topbar .menu-btn { width: 44px; padding: 0; justify-content: center; }
  .topbar .menu-btn .mb-label { display: none; }
  .topnav { gap: 22px; }
}
@media (min-width: 1180px) { .top-cta { display: inline-flex; } .topnav { gap: 26px; } }
.sec { position: relative; scroll-margin-top: 56px; }

/* ---------- vodič (meni preko cijelog ekrana) ---------- */
.guide { position: fixed; inset: 0; z-index: 80; color: #f3efe6; background: radial-gradient(110% 70% at 100% 0%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 62%), radial-gradient(90% 60% at 0% 100%, color-mix(in srgb, var(--accent-2) 60%, #7fb3d5 0%), transparent 70%), linear-gradient(165deg, color-mix(in srgb, var(--accent-2) 94%, #000) 0%, color-mix(in srgb, var(--accent-2) 62%, #000) 100%); clip-path: circle(0px at var(--ox, 92%) var(--oy, 32px)); transition: clip-path 0.6s cubic-bezier(0.7, 0, 0.25, 1); }
.guide.open { clip-path: circle(170vmax at var(--ox, 92%) var(--oy, 32px)); transition-duration: 0.85s; }
.guide.instant { transition: none; }
.guide[hidden] { display: none; }
.guide-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.guide-bg svg { position: absolute; left: -2%; right: -2%; bottom: 0; width: 104%; height: 30vh; opacity: 0; transform: translateY(40px); transition: opacity 1s 0.2s, transform 1.4s 0.2s cubic-bezier(0.2, 0.8, 0.2, 1); }
.guide.open .guide-bg svg { opacity: 1; transform: none; }
.gb-1 { fill: rgba(255, 255, 255, 0.045); } .gb-2 { fill: rgba(255, 255, 255, 0.07); }
.guide-in { position: relative; height: 100%; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: env(safe-area-inset-top) 0 calc(32px + env(safe-area-inset-bottom)); }
.guide-top { display: flex; align-items: center; justify-content: space-between; height: 64px; width: min(1180px, 100% - 32px); margin-inline: auto; }
.guide-brand { display: flex; align-items: center; gap: 10px; font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.25rem; }
.guide-brand svg { width: 28px; height: 28px; } .guide-brand svg path:last-child { fill: transparent; }
.guide-brand .brand-logo { height: 34px; }
.guide .menu-btn { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.25); color: #fff; }
.guide-grid { display: grid; gap: 24px; width: min(1180px, 100% - 32px); margin: 10px auto 0; }
.guide-side > * { opacity: 0; transform: translateY(18px); transition: opacity 0.6s, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.guide.open .guide-side > * { opacity: 1; transform: none; }
.guide.open .guide-side > :nth-child(2) { transition-delay: 0.08s; } .guide.open .guide-side > :nth-child(3) { transition-delay: 0.14s; }
.guide.open .guide-side > :nth-child(n+4) { transition-delay: 0.2s; }
.guide .eyebrow { color: color-mix(in srgb, var(--accent) 55%, #fff); }
.guide .eyebrow::before { width: 28px; }
.guide-h { font-size: clamp(2.6rem, 11vw, 4.6rem); letter-spacing: -0.03em; line-height: 0.98; }
.guide-lead { margin-top: 12px; max-width: 36ch; opacity: 0.75; }
.guide-extra .guide-label:first-child { margin-top: 4px; }
.guide-label { margin: 24px 0 10px; font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.6; }
.gd-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gd-q { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px; border-radius: 18px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); text-decoration: none; font-weight: 700; font-size: 0.8125rem; transition: background-color 0.25s, transform 0.25s; }
.gd-q:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-2px); }
.gd-q-viber .ic { color: #b9adff; } .gd-q-wa .ic { color: #6fe39b; }
.gd-toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.gd-toggles .seg { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); }
.gd-toggles .seg-thumb { background: #fff; }
.gd-toggles .seg button { color: #f3efe6; }
.gd-toggles .seg button[aria-pressed='true'] { color: var(--ink); }
.gd-toggles .seg button span { display: inline; }
.gd-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.gd-tiles li { opacity: 0; transform: translateY(26px) scale(0.97); transition: opacity 0.5s, transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1); }
.gd-tiles li:first-child { grid-column: 1 / -1; }
.guide.open .gd-tiles li { opacity: 1; transform: none; transition-delay: calc(0.22s + var(--i) * 0.045s); }
.gd-tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; height: 100%; min-height: 132px; padding: 16px; border-radius: 22px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); text-decoration: none; overflow: hidden; transition: background-color 0.3s, border-color 0.3s, transform 0.3s; }
.gd-tile:hover { background: rgba(255, 255, 255, 0.11); transform: translateY(-3px); }
.gd-num { position: absolute; top: 14px; right: 16px; font-family: 'Fraunces', serif; font-style: italic; font-size: 0.95rem; opacity: 0.45; }
.gd-ic { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 14px; background: rgba(255, 255, 255, 0.1); }
.gd-ic .ic { width: 22px; height: 22px; }
.gd-txt { display: grid; gap: 4px; }
.gd-txt b { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.15rem; line-height: 1.15; }
.gd-txt small { font-size: 0.8125rem; line-height: 1.35; opacity: 0.68; }
.gd-here { position: absolute; top: 16px; right: 16px; display: none; align-items: center; gap: 6px; font-size: 0.625rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #c4f5d3; }
.gd-here::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #6ff0a0; box-shadow: 0 0 0 0 rgba(111, 240, 160, 0.6); animation: wx-pulse 1.8s infinite; }
.gd-tile.is-here { background: rgba(255, 255, 255, 0.11); border-color: rgba(196, 245, 211, 0.45); }
.gd-tile.is-here .gd-here { display: inline-flex; }
.gd-tile.is-here .gd-num { display: none; }
.gd-feat { flex-direction: row; align-items: center; min-height: 96px; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 62%, #000)); border-color: transparent; box-shadow: 0 20px 40px -24px color-mix(in srgb, var(--accent) 80%, #000); }
.gd-feat:hover { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 90%, #fff), color-mix(in srgb, var(--accent) 62%, #000)); }
.gd-feat .gd-ic { background: rgba(255, 255, 255, 0.2); }
.gd-feat .gd-txt { flex: 1; }
.gd-feat .gd-txt small { opacity: 0.85; }
.gd-feat .gd-num { display: none; }
.gd-feat .gd-here { top: 12px; }
.gd-go { width: 26px; height: 26px; transition: transform 0.3s; }
.gd-feat:hover .gd-go { transform: translateX(4px); }
.guide-open .dock { transform: translateY(140%); }
.guide-open #to-top-wrap { visibility: hidden; }
@media (min-width: 640px) { .gd-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) {
  .guide-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.6fr); grid-template-areas: 'side tiles' 'extra tiles'; grid-template-rows: auto 1fr; column-gap: 56px; row-gap: 0; align-items: start; margin-top: 36px; }
  .guide-grid > .guide-side { grid-area: side; }
  .guide-grid > .guide-extra { grid-area: extra; padding-top: 12px; }
  .guide-grid > .gd-tiles { grid-area: tiles; }
  .gd-tile { min-height: 150px; padding: 18px; }
  .gd-feat { min-height: 104px; }
}

/* ---------- prvi ekran: slova, zrno, lagani zum ---------- */
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.1; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-art > .scene, .hero-art > .hero-img { animation: kenburns 26s ease-in-out infinite alternate; transform-origin: 60% 60%; }
@keyframes kenburns { to { transform: scale(1.07); } }
.hero-in { will-change: opacity, transform; }
.hero-h1 .h1-name { display: block; }
.hero-h1 .h1-name .h1-word { display: inline-block; white-space: nowrap; animation: none; }
.hero-h1 .h1-name span { display: inline-block; animation: letterIn 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: calc(0.2s + var(--i) * 0.06s); }
.hero-h1 .h1-small { animation: fadeUp 0.9s 0.1s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hero-h1 .h1-place { animation: fadeUp 0.9s 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes letterIn { from { opacity: 0; transform: translateY(0.45em) rotate(6deg); filter: blur(8px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }

/* ---------- naslovi sekcija: riječi izlaze odozdo ---------- */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.split .w > span { display: inline-block; transform: translateY(108%); transition: transform 0.95s cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: calc(0.05s + var(--i) * 0.07s); }
.sec-head.in .split .w > span { transform: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 0; height: 2px; border-radius: 2px; background: currentColor; transition: width 0.8s 0.15s cubic-bezier(0.2, 0.8, 0.2, 1); }
.sec-head.in .eyebrow::before { width: 28px; }
.reveal { filter: blur(4px); transition-property: opacity, transform, filter; }
.reveal.in { filter: none; }
@media (hover: none) { .reveal { filter: none; } }

/* ---------- slike se otkrivaju ---------- */
.g-item .g-btn, .room-art, .about-art .frame, .bf-art { clip-path: inset(10% 10% 10% 10% round 22px); transition: clip-path 1.2s cubic-bezier(0.2, 0.8, 0.2, 1); }
.g-item.in .g-btn, .room.in .room-art, .about-art.in .frame, .bf-art.in { clip-path: inset(0 0 0 0 round 0px); }
.g-item.in .g-btn, .about-art.in .frame { clip-path: inset(0 0 0 0 round 20px); }
.about-art.in .frame-2 { transition-delay: 0.25s; }

/* ---------- činjenice ---------- */
.fact-ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 14px; background: color-mix(in srgb, var(--accent) 12%, transparent); }
.fact b { font-variant-numeric: tabular-nums; }

/* ---------- svjetlo koje prati miš ---------- */
.spot { position: relative; transition-property: opacity, transform, filter, box-shadow, border-color; }
.spot::before { content: ''; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); opacity: 0; transition: opacity 0.35s; }
@media (hover: hover) {
  .spot:hover::before { opacity: 1; }
  .spot:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: 0 26px 50px -30px rgba(0, 0, 0, 0.35); }
}

/* ---------- dugmad: odsjaj ---------- */
.btn-primary { position: relative; overflow: hidden; isolation: isolate; background-image: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 76%, #000)); }
.btn-primary::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.32) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.8s ease; }
.btn-primary:hover::after { transform: translateX(120%); }

/* ---------- traka sa sadržajima ---------- */
.ribbon { position: relative; z-index: 1; overflow: hidden; padding: 20px 0; background: var(--accent-2); color: #f3efe6; opacity: 0; transition: opacity 1s; }
.ribbon.in { opacity: 1; }
.ribbon-track { display: flex; width: max-content; list-style: none; margin: 0; padding: 0; animation: ribbon 45s linear infinite; }
.ribbon li { display: flex; align-items: center; gap: 12px; padding: 0 26px; font-family: 'Fraunces', serif; font-style: italic; font-size: clamp(1.1rem, 1rem + 1vw, 1.6rem); white-space: nowrap; }
.ribbon li .ic { width: 22px; height: 22px; color: #ffd27a; }
.ribbon li::after { content: '✦'; margin-left: 26px; font-style: normal; font-size: 0.7em; opacity: 0.45; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* ---------- planinski greben između sekcija ---------- */
.sec-alt::before, .sec-alt + .sec:not(.sec-alt)::before, .foot::before { content: ''; position: absolute; left: 0; right: 0; top: -36px; height: 38px; pointer-events: none; background: var(--bg-alt); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V27l90-9 70 7 110-17 95 13 80-8 120 16 100-20 85 12 110-9 95 15 130-18 90 11 105-8 90 13 70-6v40z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V27l90-9 70 7 110-17 95 13 80-8 120 16 100-20 85 12 110-9 95 15 130-18 90 11 105-8 90 13 70-6v40z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat; }
.sec-alt + .sec:not(.sec-alt)::before { background: var(--bg); }
.foot { position: relative; }
.foot::before { background: var(--accent-2); }
.sec-alt + .sec-alt::before, .ribbon + .sec-alt::before { display: none; }
#main > .sec:first-of-type::before { display: none; }

/* ---------- uski ekrani i duge riječi (njemački) ---------- */
.amen, .fact-list, .gallery, .gd-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.amen-i, .fact span, .gd-txt b, .gd-txt small, .sign-place, .act h3, .bf-items li, .dirs-steps p, .price-inc li, .contact-card b, .need li { overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }
@media (max-width: 479px) {
  .topbar .menu-btn { width: 44px; padding: 0; justify-content: center; }
  .topbar .menu-btn .mb-label { display: none; }
  .topbar .seg button { min-width: 36px; padding: 0 8px; }
  .brand { font-size: 1.15rem; }
}
@media (min-width: 640px) {
  .amen, .gallery, .gd-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fact-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 960px) { .amen { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gd-quick { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .fx { display: none; }
  .split .w > span, .hero-h1 .h1-name span { transform: none; filter: none; }
  .g-item .g-btn, .room-art, .about-art .frame, .bf-art { clip-path: none; }
  .ribbon { opacity: 1; }
}
.room-beds .nw { white-space: nowrap; }
/* kuća na uskom ekranu: manja i u sredini, da stane cijela */
@media (max-width: 700px) { .scene-ext .house { transform: translate(815px, 675px) scale(0.58); } }

/* ===== Casa Montana: kompaktno na mobitelu i jednostavan meni ===== */
.lbl-short { display: none; }
.wx[hidden] { display: none; }
.brand span, .guide-brand span { white-space: nowrap; }

/* meni: jasna lista umjesto velikih pločica */
.guide-grid { gap: 14px; margin-top: 4px; }
.guide .guide-side .eyebrow, .guide-lead { display: none; }
.guide-h { font-size: clamp(1.9rem, 7vw, 2.6rem); }
.gd-tiles, .amen.gd-tiles { grid-template-columns: 1fr; gap: 6px; }
.gd-tile { flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; min-height: 0; padding: 9px 14px 9px 10px; border-radius: 16px; }
.gd-tile:hover { transform: none; }
.gd-num, .gd-txt small { display: none; }
.gd-ic { width: 38px; height: 38px; border-radius: 12px; }
.gd-txt { flex: 1; }
.gd-txt b { font-size: 1.12rem; }
.gd-here { position: static; }
.gd-tile:not(.gd-feat)::after { content: ''; width: 9px; height: 9px; flex: none; margin-right: 4px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); opacity: 0.45; }
.gd-feat { min-height: 0; padding: 14px 16px; }
.gd-feat .gd-txt small { display: block; }
.guide-label { margin: 18px 0 8px; }
@media (min-width: 640px) { .gd-tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .gd-tile { min-height: 0; padding: 12px 16px 12px 12px; } .gd-feat { min-height: 0; } }

@media (max-width: 700px) {
  .sec { padding: 52px 0; }
  .sec-head { margin-bottom: 22px; }
  /* prvi ekran: dugmad jedno pored drugog, manje oznake */
  .hero-ctas { flex-wrap: nowrap; gap: 10px; margin-top: 22px; }
  .hero-ctas .btn { flex: 1 1 0; min-height: 50px; padding: 0 12px; font-size: 0.9375rem; gap: 8px; }
  .hero-ctas .btn-primary { flex-grow: 1.6; }
  .hero-ctas .btn { white-space: nowrap; }
  .lbl-long { display: none; } .lbl-short { display: inline; }
  .hero-chips li { padding: 6px 11px; font-size: 0.8125rem; gap: 6px; }
  .hero-chips .ic { width: 16px; height: 16px; }
  /* apartmani: listaju se u stranu, vidi se dio sljedećeg */
  .rooms { grid-auto-flow: column; grid-auto-columns: 84%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 4px 16px 18px; scroll-padding-inline: 16px; scrollbar-width: none; }
  .rooms::-webkit-scrollbar { display: none; }
  .room { scroll-snap-align: start; }
  .room-art { aspect-ratio: 16 / 10; }
  .room-body { padding: 16px 18px 18px; gap: 8px; }
  .room-body h3 { font-size: 1.3rem; }
  /* o nama: samo tekst */
  .about-art { display: none; }
  .about-text p { font-size: 1.03rem; margin-bottom: 14px; }
  /* sadržaji: manje pločice */
  .amen { gap: 8px; }
  .amen-i { padding: 10px; gap: 10px; font-size: 0.875rem; border-radius: 14px; }
  .amen-ic { width: 34px; height: 34px; border-radius: 10px; }
  /* lokacija: udaljenosti u dvije kolone */
  .signs { grid-template-columns: 1fr 1fr; gap: 8px; }
  .sign { flex-wrap: wrap; gap: 4px 8px; padding: 10px 12px; }
  .sign::after { display: none; }
  .sign-place { font-size: 0.875rem; line-height: 1.25; }
  .sign-time { width: 100%; font-size: 1.05rem; }
  .map-svg { height: 210px; }
  /* upit: manje praznog prostora */
  .calc-card, .inq-card { padding: 18px; }
  .calc-card .field { margin-bottom: 12px; }
  .calc-out { padding: 14px; }
  .calc-onreq b { font-size: 1.5rem; }
  .need-why { display: none; }
  .field textarea { min-height: 56px; }
  /* aktivnosti: samo trenutna sezona (prekidač zima/ljeto je gore) */
  [data-season='winter'] .act-summer, [data-season='summer'] .act-winter { display: none; }
  .act-col { padding: 18px; }
  .act-col ul { gap: 12px; }
}
@media (max-width: 370px) {
  .brand { font-size: 1.1rem; gap: 8px; }
  .hero-ctas .btn { font-size: 0.875rem; }
  .hero-ctas .btn .ic { display: none; }
}

/* čitljivost na prvom ekranu: oznake i sporedno dugme na tamnom staklu, da se čitaju i preko bijele kuće */
.hero-chips li, .hero .badge { background: rgba(24, 21, 18, 0.46); border-color: rgba(255, 255, 255, 0.26); -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35); }
.hero .btn-ghost { background: rgba(24, 21, 18, 0.4); border-color: rgba(255, 255, 255, 0.4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero-tag, .h1-place, .h1-small { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35); }
/* mobitel: ispod prvog ekrana viri samo čist rub kartice (znak da ima još), bez presječenog teksta */
@media (max-width: 700px) { .facts { margin-top: -22px; } }
/* mobitel: oznake odmah ispod slogana (uz tekst), dugmad ostaju dolje, kuća u sredini slobodna */
@media (max-width: 959px) {
  .hero-in { justify-content: flex-start; }
  .hero-chips { margin-top: -6px; }
  .hero-ctas { margin-top: auto; }
}

/* ===== upit: kraće i preglednije ===== */
.calc-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 10px; }
.calc-row > .field { min-width: 0; }
.calc-out-req { padding: 12px 14px; }
.calc-req { margin-top: 4px; font-size: 0.8125rem; color: var(--muted); line-height: 1.4; }
.calc-req span { color: var(--ink); font-weight: 700; }
.calc-req b { font-family: 'Fraunces', serif; color: var(--accent-ink); font-size: 1rem; }
.msg-more { margin: -2px 0 12px; }
.msg-more summary { display: inline-flex; align-items: center; gap: 6px; padding: 6px 2px; cursor: pointer; list-style: none; font-weight: 700; font-size: 0.875rem; color: var(--accent-ink); }
.msg-more summary::-webkit-details-marker { display: none; }
.msg-more summary .ic { width: 18px; height: 18px; transition: transform 0.25s; }
.msg-more[open] summary .ic { transform: rotate(45deg); }
.msg-more .field { margin: 6px 0 0; }
.need { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 10px 12px; }
.need > p:first-child { margin: 0; font-size: 0.8125rem; }
.need ul { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.need li { font-size: 0.8125rem; gap: 6px; }
.need li .ic { width: 16px; height: 16px; }
.need-why { display: none; }
.inq-btns { grid-template-columns: 1fr 1fr; }
.inq-btns .btn { white-space: nowrap; padding: 0 12px; }
.inq-btns .lbl-long { display: none; } .inq-btns .lbl-short { display: inline; }
.inq-card > .muted { margin: 4px 0 12px; font-size: 0.9375rem; }
.inq-card .field textarea { min-height: 64px; }
@media (max-width: 380px) { .calc-row .dd-btn, .calc-row input { font-size: 0.875rem; } }
/* mobitel: termin i upit kao jedna kartica */
@media (max-width: 959px) {
  .calc-grid { gap: 0; }
  .calc-card { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; padding-bottom: 14px; box-shadow: none; }
  .inq-card { border-top-left-radius: 0; border-top-right-radius: 0; border-top: 1px dashed var(--line); padding-top: 16px; }
  .inq-card h3 { font-size: 1.25rem; }
}
/* bez crte ispred malih naslova (npr. "Dobrodošli") */
.eyebrow::before, .sec-head.in .eyebrow::before, .guide .eyebrow::before { display: none; }
.eyebrow { gap: 0; }

/* mali ćilim ukras uz male naslove sekcija (vidi se i na mobitelu) */
.sec-head .eyebrow::before, .sec-head.in .eyebrow::before { display: inline-block; content: ''; width: 30px; height: 10px; margin-right: 10px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 10'%3E%3Cpath d='M5 0l5 5-5 5-5-5z' fill='%23c4372b'/%3E%3Cpath d='M15 1l4 4-4 4-4-4z' fill='%232d4f8f'/%3E%3Cpath d='M25 0l5 5-5 5-5-5z' fill='%23e8a628'/%3E%3C/svg%3E") no-repeat center / contain; border-radius: 0; transition: none; }

/* ===== brend ukrasi i na mobitelu ===== */
/* 1. blijedi crtež planine i jelki iza naslova sekcija, blago se pomjera dok se lista */
.sec-head { position: relative; }
.sec-head::after { content: ''; position: absolute; right: -4px; top: -18px; width: 200px; height: 118px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 130' fill='none' stroke='%23946628' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 118 L52 58 L74 80 L112 30 L146 72 L168 52 L218 112'/%3E%3Cpath d='M100 44 L106 40 L112 46 L118 41 L124 47' opacity='.8'/%3E%3Ccircle cx='182' cy='22' r='9' opacity='.7'/%3E%3Cpath d='M150.0 74.0 L143.0 93.8 L146.5 93.8 L140.8 110.4 L145.2 110.4 L139.1 122.9 L160.9 122.9 L154.8 110.4 L159.2 110.4 L153.5 93.8 L157.0 93.8 Z M150 122.9 V126'/%3E%3Cpath d='M176.0 56.0 L166.6 82.6 L171.3 82.6 L163.7 105.0 L169.5 105.0 L161.3 121.8 L190.7 121.8 L182.5 105.0 L188.3 105.0 L180.7 82.6 L185.4 82.6 Z M176 121.8 V126'/%3E%3Cpath d='M200.0 82.0 L194.1 98.7 L197.0 98.7 L192.2 112.8 L195.9 112.8 L190.8 123.4 L209.2 123.4 L204.1 112.8 L207.8 112.8 L203.0 98.7 L205.9 98.7 Z M200 123.4 V126'/%3E%3Cpath d='M120 126 Q170 118 220 124'/%3E%3C/svg%3E") no-repeat right bottom / contain; opacity: 0.2; transform: translateY(var(--py, 0px)); pointer-events: none; z-index: -1; }
@media (min-width: 700px) { .sec-head::after { width: 240px; height: 140px; } }
/* na širokom ekranu crtež ide desno od naslova, u prazan prostor */
@media (min-width: 1240px) { .sec-head::after { right: auto; left: calc(100% + 120px); top: 0; width: 260px; height: 150px; } }
/* 3. ćilim rombovi umjesto zvjezdica u traci sa sadržajima */
.ribbon li::after { content: ''; width: 26px; height: 9px; margin-left: 26px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 10'%3E%3Cpath d='M5 0l5 5-5 5-5-5z' fill='%23c4372b'/%3E%3Cpath d='M15 1l4 4-4 4-4-4z' fill='%236f9bf0'/%3E%3Cpath d='M25 0l5 5-5 5-5-5z' fill='%23e8a628'/%3E%3C/svg%3E") no-repeat center / contain; opacity: 0.9; }
/* 4. traka napretka u zaglavlju u ćilim bojama */
.topbar::after { height: 3px; transform: none; clip-path: inset(0 calc(100% - var(--progress, 0) * 100%) 0 0); background: repeating-linear-gradient(90deg, #c4372b 0 16px, #e8a628 16px 22px, #2d4f8f 22px 38px, #e8a628 38px 44px, #3d7d4a 44px 60px, #e8a628 60px 66px); }
/* 5. footer: jedva vidljiv ćilim uzorak u pozadini */
.foot { background-image: linear-gradient(rgba(43, 41, 38, 0.94), rgba(43, 41, 38, 0.94)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M24 4 L44 24 L24 44 L4 24Z' fill='none' stroke='%23c4372b' stroke-width='2'/%3E%3Cpath d='M24 14 L34 24 L24 34 L14 24Z' fill='%232d4f8f'/%3E%3Cpath d='M24 20 L28 24 L24 28 L20 24Z' fill='%23e8a628'/%3E%3Cpath d='M0 0 L6 6 M48 0 L42 6 M0 48 L6 42 M48 48 L42 42' stroke='%233d7d4a' stroke-width='2'/%3E%3C/svg%3E"); background-size: auto, 48px 48px; }

/* jelke koje stoje na valovitoj liniji (grebenu) između sekcija: listaju se sa stranicom, ne preklapaju sadržaj */
.sec-alt::after, .sec-alt + .sec:not(.sec-alt)::after { content: ''; position: absolute; left: 0; right: 0; top: -88px; height: 72px; pointer-events: none; z-index: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80' fill='none' stroke='%23946628' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16.0 30.0 L9.5 48.2 L12.8 48.2 L7.5 63.6 L11.6 63.6 L5.9 75.1 L26.1 75.1 L20.4 63.6 L24.5 63.6 L19.2 48.2 L22.5 48.2 Z M16 75.1 V78'/%3E%3Cpath d='M38.0 12.0 L29.1 37.1 L33.6 37.1 L26.4 58.2 L31.9 58.2 L24.1 74.0 L51.9 74.0 L44.1 58.2 L49.6 58.2 L42.4 37.1 L46.9 37.1 Z M38 74.0 V78'/%3E%3Cpath d='M60.0 38.0 L54.6 53.2 L57.3 53.2 L52.9 66.0 L56.3 66.0 L51.6 75.6 L68.4 75.6 L63.7 66.0 L67.1 66.0 L62.7 53.2 L65.4 53.2 Z M60 75.6 V78'/%3E%3C/svg%3E") no-repeat 7% 100% / auto 100%, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 80' fill='none' stroke='%23946628' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.0 40.0 L8.9 54.4 L11.4 54.4 L7.3 66.6 L10.5 66.6 L6.0 75.7 L22.0 75.7 L17.5 66.6 L20.7 66.6 L16.6 54.4 L19.1 54.4 Z M14 75.7 V78'/%3E%3Cpath d='M34.0 20.0 L26.2 42.0 L30.1 42.0 L23.8 60.6 L28.6 60.6 L21.8 74.5 L46.2 74.5 L39.4 60.6 L44.2 60.6 L37.9 42.0 L41.8 42.0 Z M34 74.5 V78'/%3E%3Cpath d='M56.0 6.0 L46.3 33.4 L51.2 33.4 L43.3 56.4 L49.3 56.4 L40.9 73.7 L71.1 73.7 L62.7 56.4 L68.7 56.4 L60.8 33.4 L65.7 33.4 Z M56 73.7 V78'/%3E%3Cpath d='M78.0 34.0 L72.1 50.7 L75.0 50.7 L70.2 64.8 L73.9 64.8 L68.8 75.4 L87.2 75.4 L82.1 64.8 L85.8 64.8 L81.0 50.7 L83.9 50.7 Z M78 75.4 V78'/%3E%3C/svg%3E") no-repeat 91% 100% / auto 100%; opacity: 0.55; }
.sec-alt + .sec-alt::after, .ribbon + .sec-alt::after, #main > .sec:first-of-type::after { display: none; }
@media (max-width: 700px) { .sec-alt::after, .sec-alt + .sec:not(.sec-alt)::after { top: -66px; height: 50px; background-position: 4% 100%, 96% 100%; } }
/* sekcija iznad grebena sa jelkama dobije malo više prostora dolje, da jelke ne diraju sadržaj */
.sec:not(.sec-alt):has(+ .sec-alt:not(.ribbon + .sec-alt)), .sec-alt:has(+ .sec:not(.sec-alt)) { padding-bottom: clamp(120px, 6vw + 64px, 170px); }
@media (max-width: 700px) { .sec:not(.sec-alt):has(+ .sec-alt), .sec-alt:has(+ .sec:not(.sec-alt)) { padding-bottom: 104px; } }

/* ćilim traka uz ivice na širokim ekranima: dio pozadine sekcija (lista se sa stranicom), ne ide preko trake i footera */
@media (min-width:1360px){ #main > .sec { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='72' viewBox='0 0 36 72' opacity='0.22'%3E%3Cpath d='M18 4 L32 18 L18 32 L4 18Z' fill='none' stroke='%23c4372b' stroke-width='2'/%3E%3Cpath d='M18 11 L25 18 L18 25 L11 18Z' fill='%232d4f8f'/%3E%3Cpath d='M18 40 L32 54 L18 68 L4 54Z' fill='none' stroke='%233d7d4a' stroke-width='2'/%3E%3Cpath d='M18 47 L25 54 L18 61 L11 54Z' fill='%23e8a628'/%3E%3Cpath d='M0 36 H36' stroke='%23c4372b' stroke-width='1' stroke-dasharray='3 3'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='72' viewBox='0 0 36 72' opacity='0.22'%3E%3Cpath d='M18 4 L32 18 L18 32 L4 18Z' fill='none' stroke='%23c4372b' stroke-width='2'/%3E%3Cpath d='M18 11 L25 18 L18 25 L11 18Z' fill='%232d4f8f'/%3E%3Cpath d='M18 40 L32 54 L18 68 L4 54Z' fill='none' stroke='%233d7d4a' stroke-width='2'/%3E%3Cpath d='M18 47 L25 54 L18 61 L11 54Z' fill='%23e8a628'/%3E%3Cpath d='M0 36 H36' stroke='%23c4372b' stroke-width='1' stroke-dasharray='3 3'/%3E%3C/svg%3E"); background-repeat:repeat-y,repeat-y; background-position:left 14px top, right 14px top; background-size:36px 72px,36px 72px; } }
/* brzina: sekcije ispod prvog ekrana preglednik raspoređuje i crta tek kad se približe ekranu */
#main > .sec:not(#gallery) { content-visibility: auto; contain-intrinsic-size: auto 900px; }
/* animacije u dijelu stranice koji nije na ekranu stoje (manje posla za slabije mobitele) */
.anim-off *, .anim-off *::before, .anim-off *::after, .ribbon.anim-off .ribbon-track { animation-play-state: paused !important; }
