@font-face {
  font-family: 'Figtree';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/Figtree-italic-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/Figtree-italic-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: 'Figtree';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/Figtree-normal-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/Figtree-normal-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: 'Young Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/YoungSerif-normal-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Young Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/YoungSerif-normal-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;
}

/* Planina i More · «Rifugio di montagna». Colori dal logo della cliente: verde acqua (more) e sabbia (planina); legno, neve, pino. */
:root {
  --sneg: #f7f4ef;        /* fondo: neve calda */
  --papir: #efe7da;       /* legno chiaro */
  --papir-2: #e6dccb;
  --ink: #1b2a2a;         /* testo */
  --ink-2: #4a5756;
  --bor: #12302f;         /* pino scuro */
  --bor-2: #17403f;
  --more: #2a8d8d;        /* verde acqua del logo */
  --more-d: #1f6e6e;      /* verde acqua leggibile su chiaro */
  --planina: #c9bca9;     /* sabbia del logo */
  --planina-d: #8a7a62;
  --drvo: #a8693a;        /* legno caldo */
  --zar: #e0782f;         /* brace */
  --wa: #1d7a4c;
  --r: 22px;
  --r-s: 14px;
  --sh: 0 1px 2px rgba(18, 48, 47, .06), 0 10px 30px -12px rgba(18, 48, 47, .22);
  --sh-l: 0 2px 6px rgba(18, 48, 47, .08), 0 30px 60px -24px rgba(18, 48, 47, .38);
  --g: clamp(16px, 4vw, 40px);
  --serif: 'Young Serif', 'Iowan Old Style', Georgia, serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--sneg); color: var(--ink); font: 400 17px/1.65 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--more-d); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--bor); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--more); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--more); color: #fff; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: var(--g); padding-right: var(--g); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--bor); color: #fff; padding: .6em 1em; border-radius: 10px; }
.skip:focus { left: 8px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.segno { width: 100%; height: auto; }
.kat-ok .nojs { display: none !important; }   /* solo quando il catalogo completo della home è caricato */
.h1 { font-size: clamp(2.2rem, 5.2vw, 4.4rem); }
.h1--sm { font-size: clamp(1.9rem, 4.2vw, 3.4rem); }
.h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); }
.h3 { font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 46em; }
.kicker { font-weight: 600; font-size: .95rem; color: var(--more-d); margin: 0 0 .6em; }
.link { background: none; border: 0; padding: 0; color: var(--more-d); text-decoration: underline; }

/* ---------- bottoni ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .7em 1.35em; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1.15 var(--sans); text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--more-d); color: #fff; box-shadow: 0 8px 20px -10px rgba(31, 110, 110, .7); }
.btn-primary:hover { background: var(--bor-2); color: #fff; }
.btn-ghost { border-color: rgba(18, 48, 47, .25); color: var(--bor); background: transparent; }
.btn-ghost:hover { border-color: var(--bor); color: var(--bor); background: rgba(255, 255, 255, .5); }
.btn-light { background: var(--sneg); color: var(--bor); }
.btn-light:hover { background: #fff; color: var(--bor); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #155c39; color: #fff; }
.btn-lg { min-height: 56px; padding: .85em 1.6em; font-size: 1.08rem; }

/* ---------- testata ---------- */
.hd { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(18, 48, 47, .08); }
/* sfocatura su uno pseudo-elemento: sul contenitore il backdrop-filter farebbe da riferimento al menu fisso del telefono (menu alto 58 px) */
.hd::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(247, 244, 239, .96); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); pointer-events: none; }
.nav { display: flex; align-items: center; gap: 18px; min-height: 76px; }
.brand { flex: none; margin-right: auto; display: block; }
.brand img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links > li > a { display: block; padding: .55em .8em; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav-links > li > a:hover, .nav-links > li > a[aria-current], .nav-links > li > a.on { background: rgba(42, 141, 141, .12); color: var(--bor); }
.nav > .nav-cta { flex: none; min-height: 44px; padding: .55em 1.15em; }
.nav-links > li > a { white-space: nowrap; }
.has-sub { position: relative; }
.has-sub > a::after { content: ''; display: inline-block; width: .42em; height: .42em; margin-left: .45em; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-.2em) rotate(45deg); }
.sub { position: absolute; top: 100%; left: -8px; min-width: 300px; padding: 10px; background: #fff; border-radius: 18px; box-shadow: var(--sh-l); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: .65em .9em; border-radius: 12px; color: var(--ink); text-decoration: none; font-size: .96rem; }
.sub a:hover, .sub a[aria-current], .sub a.on { background: var(--papir); }
.nav-tel { flex: none; display: inline-flex; align-items: center; gap: .45em; color: var(--bor); text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(42, 141, 141, .12); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--bor); border-radius: 2px; transition: .25s; }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }
@media (max-width: 1320px) { .nav-tel span { display: none; } .nav-tel { width: 46px; height: 46px; justify-content: center; border-radius: 50%; background: rgba(42, 141, 141, .12); } }
@media (max-width: 1240px) {
  .burger { display: block; }
  .nav { min-height: 66px; gap: 10px; }
  .brand img { height: 32px; }
  .js .nav-links { position: fixed; left: 0; right: 0; top: 66px; bottom: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 18px var(--g) 40px; background: var(--sneg); overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility .3s; }
  .js .nav-links.open { transform: none; visibility: visible; }
  .nav-links > li > a { font-size: 1.25rem; font-family: var(--serif); padding: .55em .4em; border-radius: 12px; }
  .has-sub > a::after { display: none; }
  .sub { position: static; opacity: 1; visibility: inherit; transform: none; box-shadow: none; background: transparent; padding: 0 0 6px 14px; min-width: 0; border-left: 2px solid var(--planina); margin-left: 6px; }
  .sub a { font-size: 1.02rem; padding: .5em .7em; }
  .nav > .nav-cta { display: none; }
  /* senza script: niente hamburger, il menu va a capo sotto il logo */
  html:not(.js) .burger { display: none; }
  html:not(.js) .nav { flex-wrap: wrap; padding-bottom: 10px; }
  html:not(.js) .nav-links { order: 3; width: 100%; flex-direction: row; flex-wrap: wrap; }
  html:not(.js) .nav-links > li > a { font-size: 1rem; font-family: var(--sans); }
  html:not(.js) .sub { border-left: 0; padding: 0; margin: 0; }
}
@media (max-width: 380px) { .brand img { height: 27px; } }

/* ---------- apertura: la stufa accesa, la neve alla finestra ---------- */
.hero { position: relative; min-height: min(calc(100svh - 76px), 900px); height: 700px; overflow: hidden; background: var(--sneg); isolation: isolate; }
.hero-scena { position: absolute; top: 0; right: 0; bottom: 0; width: 55%; overflow: hidden; border-bottom-left-radius: 56px; background: #c9c4bc; box-shadow: -30px 30px 80px -50px rgba(18, 48, 47, .5); }
.hero::after { content: ''; position: absolute; right: 55%; bottom: 0; width: 56px; height: 56px; margin-right: -1px; background: radial-gradient(circle at 0 0, transparent 55px, var(--sneg) 56px); display: none; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.js .hero-scena.ok .hero-img { width: 100%; height: 100%; object-fit: fill; }
.hero-sneg, .hero-vatra, .hero-sjaj { position: absolute; pointer-events: none; }
.hero-sneg { left: 5.2%; top: 0; width: 41.6%; height: 60.6%; }
.hero-vatra { left: 68.48%; top: 38.15%; width: 10%; height: 13.92%; border-radius: 3px; }
.hero-sjaj { left: 48%; top: 14%; width: 52%; height: 86%; background: radial-gradient(closest-side at 50% 34%, rgba(255, 150, 60, .5), rgba(255, 120, 40, .16) 48%, transparent 76%); mix-blend-mode: soft-light; opacity: var(--sjaj, .85); }
.hero-veo { display: none; }
.hero-in { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 40px; padding-bottom: 48px; }
.hero-in > * { max-width: min(560px, calc(45vw - var(--g) - 40px)); }
@media (min-width: 1281px) { .hero-in > * { max-width: min(560px, calc(45vw - (100vw - 1280px) / 2 - var(--g) - 40px)); } }
.hero-h { font-size: clamp(2.5rem, 4.6vw, 4.3rem); color: var(--bor); margin-bottom: .35em; }
.hero-pre { display: block; font-family: var(--sans); font-weight: 600; font-size: clamp(1rem, 1.3vw, 1.15rem); letter-spacing: 0; color: var(--more-d); margin-bottom: .55em; line-height: 1.3; }
.hero-sub { font-family: var(--serif); font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.45; color: var(--ink-2); margin-bottom: 1.5em; max-width: 520px; }
.trazi { margin-bottom: 18px; }
.trazi-l { display: block; font-weight: 600; font-size: .92rem; color: var(--ink-2); margin-bottom: 8px; }
.trazi-box { display: flex; align-items: center; gap: 10px; padding: 7px 7px 7px 20px; background: #fff; border-radius: 999px; box-shadow: var(--sh-l); max-width: 540px; }
.trazi-box > .ico { color: var(--more-d); width: 22px; height: 22px; }
.trazi-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 500 1.05rem var(--sans); color: var(--ink); padding: 10px 0; }
.trazi-box input::placeholder { color: #8a9291; }
.trazi-box:focus-within { box-shadow: 0 0 0 3px rgba(42, 141, 141, .35), var(--sh-l); }
.hero-vrata { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 4px 0 0; padding: 0; }
.hero-vrata a { display: inline-flex; padding: .5em 1em; border-radius: 999px; background: rgba(255, 255, 255, .72); border: 1px solid rgba(18, 48, 47, .14); color: var(--bor); font-weight: 600; font-size: .92rem; text-decoration: none; text-transform: none; }
.hero-vrata a:hover { background: #fff; }
@media (max-width: 1000px) {
  .hero { height: auto; min-height: 0; background: var(--sneg); overflow: visible; }
  .hero-in > * { max-width: 640px; }
  .hero-scena { position: relative; width: auto; height: 62svh; min-height: 380px; max-height: 600px; overflow: hidden; border-radius: 0; box-shadow: none; }
  .hero-veo { display: none; }
  .hero-in { height: auto; padding-top: 26px; padding-bottom: 36px; margin-top: -54px; }
  .hero-in::before { content: ''; position: absolute; inset: 0 0 auto; height: 54px; background: linear-gradient(transparent, var(--sneg)); z-index: -1; }
  .hero-h { font-size: clamp(2.05rem, 9vw, 2.6rem); }
  .trazi-box { padding-left: 16px; }
  .trazi-box .btn span { display: none; }
  .trazi-box .btn { min-height: 46px; width: 46px; padding: 0; }
}

/* ---------- sezioni ---------- */
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec--tight { padding: clamp(40px, 6vw, 72px) 0; }
.sec--paper { background: var(--papir); }
.sec-head { margin-bottom: clamp(28px, 4vw, 44px); max-width: 760px; }
.sec-head .lead { margin: 0; }
.sec-head--light .h2, .sec-head--light .lead { color: var(--sneg); }
.sec-head--light .lead { opacity: .88; }

/* ---------- catalogo ---------- */
.kat-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 14px; background: #fff; border-radius: 26px; box-shadow: var(--sh); margin-bottom: 18px; }
.kat-q { display: flex; align-items: center; gap: 10px; flex: 1 1 280px; min-width: 0; padding: 0 16px; min-height: 48px; border-radius: 999px; background: var(--sneg); }
.kat-q .ico { color: var(--more-d); }
.kat-q input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 500 1rem var(--sans); color: var(--ink); padding: 12px 0; }
.kat-q:focus-within { box-shadow: 0 0 0 2px var(--more); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { min-height: 44px; padding: .4em .95em; border-radius: 999px; border: 1.5px solid rgba(18, 48, 47, .14); background: #fff; font-weight: 600; font-size: .9rem; color: var(--ink); transition: .15s; }
.chips button b { font-weight: 600; color: var(--ink-2); margin-left: .25em; }
.chips button:hover { border-color: var(--more); }
.chips button[aria-pressed="true"] { background: var(--bor); border-color: var(--bor); color: #fff; }
.chips button[aria-pressed="true"] b { color: var(--planina); }
.chips--sad button[aria-pressed="true"] { background: var(--more-d); border-color: var(--more-d); }
.kat-sort { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-2); margin-left: auto; }
.kat-sort select { min-height: 44px; border-radius: 999px; border: 1.5px solid rgba(18, 48, 47, .14); background: #fff; padding: 0 30px 0 14px; font: 600 .9rem var(--sans); color: var(--ink); }
.kat-n { font-size: .95rem; color: var(--ink-2); margin: 0 4px 18px; }
.kat-n b { color: var(--bor); }
.kgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 30px); list-style: none; margin: 0; padding: 0; }
.k { display: flex; flex-direction: column; min-width: 0; }
.k[hidden] { display: none; }
.k-a { display: flex; flex-direction: column; color: inherit; text-decoration: none; border-radius: var(--r); }
.k-im { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--papir-2); box-shadow: var(--sh); }
.k-im img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.k-a:hover .k-im img { transform: scale(1.045); }
.k-tx { display: flex; flex-direction: column; gap: 4px; padding: 14px 4px 0; }
.k-t { font-size: .85rem; font-weight: 600; color: var(--more-d); }
.k-n { font-family: var(--serif); font-size: 1.32rem; line-height: 1.2; color: var(--bor); }
.k-a:hover .k-n { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.k-f { display: flex; flex-wrap: wrap; gap: 2px 0; font-size: .95rem; color: var(--ink-2); }
.k-f span:not(:last-child)::after { content: '·'; margin: 0 .5em; color: var(--planina-d); }
.k-s { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.k-s span { font-size: .8rem; font-weight: 600; padding: .2em .7em; border-radius: 999px; background: var(--papir); color: #6f5f47; }
.sec--paper .k-s span { background: #fff; }
.k-o { font-size: .96rem; color: var(--ink-2); margin: 10px 4px 0; }
.k-o strong { font-weight: 500; }
.k-o p { margin: 0 0 .55em; }
.k-o p:last-child { margin-bottom: 0; }
.kat-0 { padding: 40px 0; text-align: center; color: var(--ink-2); }
.kat-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
@media (max-width: 1000px) { .kgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kat-sort { margin-left: 0; } }
@media (max-width: 620px) {
  .kgrid { grid-template-columns: minmax(0, 1fr); }
  .kat-bar { border-radius: 22px; padding: 12px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -12px; padding: 0 12px; width: calc(100% + 24px); }
  .chips::-webkit-scrollbar { display: none; }
  .chips button { flex: none; }
}

/* ---------- home: Zlatibor, video, articolo, porte ---------- */
.otk-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.otk-im .zoom { border-radius: 28px; box-shadow: var(--sh-l); }
.otk-im img { aspect-ratio: 3 / 2.1; object-fit: cover; width: 100%; }
.prose--lead { color: var(--ink-2); border-left: 3px solid var(--planina); padding-left: 1.1em; margin-top: 1.2em; }
.vband { position: relative; min-height: clamp(420px, 72vh, 720px); display: grid; place-items: center; overflow: hidden; background: var(--bor); color: var(--sneg); }
.vband-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vband-veo { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(18, 48, 47, .35), rgba(18, 48, 47, .72)); }
.vband-q { position: relative; margin: 0 auto; text-align: center; max-width: 980px; }
.vband-q p { font-family: var(--serif); font-size: clamp(1.7rem, 4vw, 3.3rem); line-height: 1.2; margin: 0 0 .6em; text-wrap: balance; }
.vband-q cite { font-style: normal; font-weight: 600; letter-spacing: .02em; color: var(--planina); }
.clanak-in { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.clanak-side { position: sticky; top: 100px; display: grid; gap: 16px; }
.clanak-side .zoom { border-radius: 24px; }
.clanak-side .zoom:first-child img { aspect-ratio: 4 / 4.4; object-fit: cover; width: 100%; }
.clanak-side .zoom:last-child img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.vrata-l { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); list-style: none; margin: 0; padding: 0; }
.vrata-a { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 28px; overflow: hidden; color: #fff; text-decoration: none; box-shadow: var(--sh); }
.vrata-a img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.vrata-a:hover img { transform: scale(1.05); }
.vrata-a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(10, 30, 30, .78)); }
.vrata-t { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--serif); font-size: clamp(1.35rem, 2.1vw, 1.8rem); line-height: 1.15; }
.vrata-t .ico { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding: clamp(28px, 5vw, 56px); background: var(--papir); border-radius: 32px; }
.cta-in .lead { margin: 0; }
.cta-in .h2 { margin-bottom: .3em; }
.cta-b { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) {
  .otk-in, .clanak-in { grid-template-columns: minmax(0, 1fr); }
  .clanak-side { position: static; grid-template-columns: 1fr 1fr; }
  .clanak-side .zoom img { aspect-ratio: 1 / 1 !important; }
  .vrata-l { grid-template-columns: minmax(0, 1fr); }
  .vrata-a { aspect-ratio: 16 / 10; }
}
@media (max-width: 520px) { .cta-b, .cta-b .btn { width: 100%; } }

/* ---------- cielo: nuvole, creste, neve ---------- */
.nebo { position: relative; isolation: isolate; color: var(--sneg); background: linear-gradient(180deg, #0f2a2c 0%, #18484a 46%, #2f7473 82%, #3f8a86 100%); overflow: hidden; }
.nebo-bg, .ft-nebo { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.oblak { position: absolute; left: 0; display: block; height: var(--h); width: calc(100% + var(--h) * var(--r)); background: none repeat-x 0 0 / auto 100%; opacity: 0; transition: opacity 1.4s ease; animation: plovi var(--t) linear infinite; will-change: transform; }
.o1 { --h: 230px; --r: 4.2857; --t: 160s; --op: .55; top: -30px; }
.o2 { --h: 200px; --r: 5; --t: 110s; --op: .4; top: 40px; animation-direction: reverse; }
.o3 { --h: 170px; --r: 5.7143; --t: 80s; --op: .32; top: 110px; }
/* le nuvole arrivano quando la fascia si avvicina (app.js mette .on; senza script le mette il <noscript> della pagina) */
.oblak.on { opacity: var(--op); }
.o1.on { background-image: url(img/nuvole-1.webp); }
.o2.on { background-image: url(img/nuvole-2.webp); }
.o3.on { background-image: url(img/nuvole-3.webp); }
@keyframes plovi { to { transform: translateX(calc(var(--h) * var(--r) * -1)); } }  /* --r = larghezza/altezza della striscia: un giro esatto, nessuno scatto */
.creste { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: var(--ch, 210px); }
.creste polygon, .creste path { vector-effect: non-scaling-stroke; }
.creste .c1 { fill: rgba(201, 188, 169, .38); } .creste .c1l { stroke: rgba(247, 244, 239, .2); fill: none; stroke-width: 1.2; }
.creste .c2 { fill: #24605f; } .creste .c2l { stroke: rgba(201, 188, 169, .28); fill: none; stroke-width: 1.2; }
.creste .c3 { fill: var(--sneg); } .creste .c3l { stroke: rgba(18, 48, 47, .1); fill: none; stroke-width: 1.4; }
.sneg { position: absolute; inset: 0; width: 100%; height: 100%; }
.nebo-in { position: relative; padding-top: clamp(56px, 7vw, 96px); padding-bottom: calc(var(--ch, 210px) + 12px); }
.nebo-k { font-weight: 600; color: var(--planina); margin: 0 0 .7em; }
.nebo .h1 { color: var(--sneg); max-width: 15em; margin-bottom: .35em; }
.nebo-p { font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 44em; opacity: .9; margin-bottom: 1.4em; }
.nebo-p a { color: inherit; }
.nebo--m { --ch: clamp(120px, 14vw, 200px); }
.nebo--s { --ch: clamp(110px, 12vw, 170px); }
.nebo--s .nebo-in { padding-top: clamp(36px, 5vw, 64px); padding-bottom: calc(var(--ch) + 80px); }
.nebo--vodic { --ch: clamp(130px, 14vw, 210px); }
.nebo--vodic .nebo-in { padding-bottom: calc(var(--ch) * .55); }
.nebo--cta { --ch: clamp(110px, 12vw, 170px); text-align: left; }
.mrvice { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .92rem; margin-bottom: 18px; color: rgba(247, 244, 239, .75); }
.mrvice a { color: var(--sneg); }
.sm-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 4px 0 0; padding: 0; }
.sm-chips li { padding: .4em 1em; border-radius: 999px; background: rgba(247, 244, 239, .14); border: 1px solid rgba(247, 244, 239, .22); font-weight: 600; font-size: .95rem; }

/* ---------- alloggio ---------- */
.sm-mos { position: relative; z-index: 2; margin-top: -120px; }
.mos { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: clamp(320px, 44vw, 560px); border-radius: 26px; overflow: hidden; box-shadow: var(--sh-l); background: var(--papir-2); }
.mos .zoom { width: 100%; height: 100%; }
.mos .zoom img { width: 100%; height: 100%; object-fit: cover; }
.mos .m0 { grid-row: 1 / 3; }
.mos--1 { grid-template-columns: 1fr; } .mos--1 .m0 { grid-row: auto; }
.mos--2 { grid-template-columns: 2fr 1fr; } .mos--2 .m1 { grid-row: 1 / 3; }
.mos--3 { grid-template-columns: 2fr 1fr; }
.mos--4 { grid-template-columns: 2fr 1fr 1fr; } .mos--4 .m3 { grid-column: 2 / 4; }
.sm-sve-b { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: .5em; min-height: 44px; padding: .5em 1.1em; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .94); color: var(--bor); font-weight: 600; box-shadow: var(--sh); }
.sm-sve-b:hover { background: #fff; }
.sm-body { display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: clamp(32px, 5vw, 72px); align-items: start; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 96px); }
.upit { position: sticky; top: 96px; }
.upit-in { padding: clamp(20px, 3vw, 30px); background: #fff; border-radius: 26px; box-shadow: var(--sh-l); }
.upit-n { font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; color: var(--bor); margin: 0 0 10px; }
.upit-sad { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 18px; padding: 0; }
.upit-sad li { font-size: .82rem; font-weight: 600; padding: .25em .75em; border-radius: 999px; background: var(--papir); color: #6f5f47; }
.upit-h { font-family: var(--sans); font-weight: 700; font-size: 1.05rem; letter-spacing: 0; margin: 0 0 .4em; color: var(--ink); }
.upit-p { font-size: .95rem; color: var(--ink-2); margin-bottom: .8em; }
.upit-tel { font-size: .95rem; color: var(--ink-2); margin: 16px 0 0; }
.sm-sve { padding-bottom: clamp(48px, 7vw, 96px); }
.fgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.fgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.fgrid .zoom { border-radius: var(--r-s); }
.fgrid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.slicni { padding: clamp(56px, 8vw, 100px) 0; background: var(--papir); }
.slicni-all { margin: 30px 0 0; text-align: center; }
@media (max-width: 980px) {
  .sm-body { grid-template-columns: minmax(0, 1fr); }
  .upit { position: static; }
  .fgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .sm-mos { margin-top: -96px; }
  .mos, .mos--3, .mos--4, .mos--5 { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; border-radius: 20px; }
  .mos .m0 { grid-column: 1 / 3; grid-row: auto; aspect-ratio: 4 / 3; }
  .mos .m1, .mos .m2, .mos .m3, .mos .m4 { aspect-ratio: 4 / 3; grid-row: auto; grid-column: auto; }
  .mos--4 .m3 { grid-column: 1 / 3; }
  .mos .m3, .mos .m4 { display: none; }
  .mos--3 .m2 { display: block; }
  .mos--2 { grid-template-columns: 1fr; } .mos--2 .m0 { grid-column: auto; } .mos--2 .m1 { grid-row: auto; }
  .sm-sve-b { right: 10px; bottom: 10px; font-size: .92rem; }
  .fgrid, .fgrid--3 { grid-template-columns: 1fr 1fr; gap: 8px; }
}

/* ---------- testo lungo ---------- */
.prose { font-size: 1.06rem; max-width: 70ch; }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.95rem); margin: 1.6em 0 .55em; color: var(--bor); }
.prose h3 { font-size: clamp(1.2rem, 1.9vw, 1.5rem); margin: 1.4em 0 .5em; color: var(--bor); }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 0; margin: 0 0 1.2em; list-style: none; }
.prose li { position: relative; padding-left: 1.6em; margin-bottom: .5em; }
.prose ul li::before { content: ''; position: absolute; left: .15em; top: .55em; width: .62em; height: .62em; background: var(--more); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; }
.prose ol li::before { content: counter(n) '.'; position: absolute; left: 0; font-weight: 700; color: var(--more-d); }
.prose strong { font-weight: 650; color: var(--bor); }
.prose blockquote { margin: 1.4em 0; padding: .4em 0 .4em 1.2em; border-left: 3px solid var(--planina); font-family: var(--serif); font-size: 1.2rem; }
.prose--drop > p:first-of-type::first-letter { float: left; font-family: var(--serif); font-size: 4.2em; line-height: .84; margin: .06em .12em 0 0; color: var(--more-d); }
.prose--intro { margin-bottom: clamp(36px, 5vw, 56px); font-size: 1.12rem; }
.prose--art { max-width: 760px; }
.fig { margin: 1.8em 0; }
.fig .zoom { border-radius: 22px; box-shadow: var(--sh); }
.fig img { width: 100%; }
.clanak-wrap { display: grid; grid-template-columns: minmax(0, 760px) 280px; gap: clamp(32px, 6vw, 96px); justify-content: space-between; align-items: start; }
.art-side { position: sticky; top: 100px; padding: 24px; background: var(--papir); border-radius: 22px; }
.art-side h2 { font-size: 1.2rem; }
.art-side ul { list-style: none; margin: 0 0 18px; padding: 0; }
.art-side li { margin-bottom: 10px; line-height: 1.35; }
.art-side .btn { width: 100%; white-space: normal; text-align: center; }
@media (max-width: 980px) { .clanak-wrap { grid-template-columns: minmax(0, 1fr); } .art-side { position: static; } }

/* ---------- vodič ---------- */
.gks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); list-style: none; margin: 0; padding: 0; }
.gk { display: flex; flex-direction: column; height: 100%; background: var(--sneg); color: var(--ink); border-radius: 24px; overflow: hidden; text-decoration: none; box-shadow: var(--sh-l); transition: transform .3s; }
.gk:hover { transform: translateY(-3px); color: var(--ink); }
.gk img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.gk-t { font-family: var(--serif); font-size: 1.28rem; line-height: 1.22; padding: 20px 22px 8px; color: var(--bor); }
.gk-m { display: inline-flex; align-items: center; gap: .4em; margin-top: auto; padding: 4px 22px 22px; font-weight: 600; color: var(--more-d); }
.gks--hub .gk { background: #fff; }
@media (max-width: 900px) { .gks { grid-template-columns: minmax(0, 1fr); } }

/* ---------- prodaja / garsonjere ---------- */
.vhero { position: relative; min-height: clamp(460px, 78vh, 760px); display: flex; align-items: flex-end; color: var(--sneg); background: var(--bor); overflow: hidden; }
.vhero-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vhero-veo { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 42, 44, .2), rgba(15, 42, 44, .78)); }
.vhero-in { position: relative; padding-bottom: clamp(40px, 6vw, 80px); }
.vhero .h1 { color: var(--sneg); max-width: 14em; }
.prodaja-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.skica { display: block; background: #fff; border-radius: 28px; overflow: hidden; color: var(--ink); text-decoration: none; box-shadow: var(--sh-l); }
.skica img { width: 100%; }
.skica-t { display: flex; flex-direction: column; gap: 6px; padding: 20px 24px 24px; }
.skica-m { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; color: var(--more-d); }
.gars-in { display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.gars-end { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.35; max-width: 34em; margin: 40px auto 0; text-align: center; color: var(--bor); }
.gars-end strong { font-weight: 400; }
@media (max-width: 980px) { .prodaja-in, .gars-in { grid-template-columns: minmax(0, 1fr); } }

/* ---------- O nama / Usluge ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--rev > :first-child { order: 0; }
.split-im { margin: 0; }
.split-im .zoom { border-radius: 28px; box-shadow: var(--sh-l); }
.split-im img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; }
.split-im--tilt .zoom { transition: transform .4s ease; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.xcta { position: relative; overflow: hidden; border-radius: 32px; min-height: 360px; display: flex; align-items: center; color: var(--sneg); }
.xcta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.xcta::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(15, 42, 44, .9), rgba(15, 42, 44, .5) 60%, rgba(15, 42, 44, .2)); }
.xcta-in { position: relative; z-index: 2; padding: clamp(28px, 5vw, 64px); max-width: 640px; }
.xcta-in .h2 { color: var(--sneg); }
.tabs-l { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 20px; }
.tabs-l button { min-height: 44px; padding: .45em 1.1em; border-radius: 999px; border: 1.5px solid rgba(18, 48, 47, .16); background: transparent; font-weight: 600; }
.tabs-l button[aria-selected="true"] { background: var(--bor); color: #fff; border-color: var(--bor); }
.tabs-p { font-size: 1.06rem; min-height: 9em; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } .split--rev .split-im { order: 2; } }

/* ---------- kontakt ---------- */
.kcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0 0 clamp(36px, 5vw, 56px); padding: 0; }
.kcards li { padding: 24px; background: #fff; border-radius: 22px; box-shadow: var(--sh); min-width: 0; }
.kcards h2 { font-family: var(--sans); font-weight: 700; font-size: 1rem; letter-spacing: 0; margin: 14px 0 6px; }
.kcards p { margin: 0 0 6px; overflow-wrap: anywhere; }
.kcards a { overflow-wrap: normal; }
.kc-i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(42, 141, 141, .12); color: var(--more-d); }
.kc-x { font-size: .95rem; }
.kontakt-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 32px); align-items: stretch; }
.upit--k { position: static; }
.map { min-height: 420px; border-radius: 26px; overflow: hidden; box-shadow: var(--sh); background: var(--papir-2); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }
@media (max-width: 1100px) { .kcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .kontakt-in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .kcards { grid-template-columns: minmax(0, 1fr); } }
.legal { max-width: 760px; margin: 0 auto; }

/* ---------- modulo ---------- */
.form { display: grid; gap: 12px; }
.field { position: relative; }
.field input, .field textarea { width: 100%; padding: 22px 16px 8px; border: 1.5px solid rgba(18, 48, 47, .16); border-radius: 14px; background: var(--sneg); font: 400 1rem var(--sans); color: var(--ink); transition: border-color .15s, background .15s; }
.field textarea { min-height: 116px; resize: vertical; padding-top: 26px; line-height: 1.5; }
.field label { position: absolute; left: 17px; top: 15px; color: #6c7675; pointer-events: none; transition: .15s; font-size: 1rem; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--more); background: #fff; }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field--ta label { top: 6px; font-size: .78rem; font-weight: 600; color: var(--more-d); }
.field textarea::placeholder { color: #8a9291; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-2); line-height: 1.45; }
.consent input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--more-d); }
.f-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.f-actions .btn { flex: 1 1 auto; }
.form-msg { margin: 0; font-size: .95rem; min-height: 0; }
.form-msg:empty { display: none; }
.form-msg.ok { color: #1d6b45; } .form-msg.err { color: #a2381e; }

/* ---------- ingrandimento ---------- */
.zoom { display: block; width: 100%; padding: 0; border: 0; background: var(--papir-2); overflow: hidden; cursor: zoom-in; position: relative; }
.zoom img { transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .3s; }
.zoom:hover img { transform: scale(1.03); }
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(9, 22, 22, .94); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: .25s; }
.lb.on { opacity: 1; visibility: visible; }
.lb img { max-width: calc(100vw - 32px); max-height: calc(100svh - 120px); width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lb-cap { position: absolute; left: 16px; right: 16px; bottom: 18px; text-align: center; color: rgba(247, 244, 239, .85); font-size: .95rem; }
.lb button { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(247, 244, 239, .12); color: #fff; display: grid; place-items: center; font-size: 1.6rem; line-height: 1; }
.lb button:hover { background: rgba(247, 244, 239, .24); }
.lb-x { top: 14px; right: 14px; } .lb-p { left: 14px; top: 50%; transform: translateY(-50%); } .lb-n { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-c { position: absolute; top: 26px; left: 20px; color: rgba(247, 244, 239, .7); font-size: .9rem; }

/* ---------- piede ---------- */
.ft { position: relative; background: var(--bor); color: rgba(247, 244, 239, .85); padding-top: 190px; isolation: isolate; }
.ft-nebo { bottom: auto; height: 260px; background: linear-gradient(180deg, var(--sneg) 0%, #c9dcd8 22%, #4a8c88 60%, var(--bor) 100%); overflow: hidden; }
.ft-nebo .creste { --ch: 150px; }
.ft-nebo .c3 { fill: var(--bor); } .ft-nebo .c3l { stroke: rgba(201, 188, 169, .14); }
.ft-nebo .c2 { fill: #2b6c6a; }
.ft-nebo .o1 { top: 10px; opacity: .7; } .ft-nebo .o2 { top: 50px; opacity: .5; }
.ft-in { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); padding-top: 20px; padding-bottom: 44px; }
.ft-brand img { width: 270px; height: auto; margin-bottom: 16px; }
.ft-brand p { max-width: 24em; }
.ft h2 { font-family: var(--sans); font-weight: 700; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; color: var(--planina); margin: 0 0 14px; }
.ft ul { list-style: none; margin: 0; padding: 0; }
.ft-col li { margin-bottom: 8px; }
.ft a { color: var(--sneg); text-decoration: none; }
.ft a:hover { text-decoration: underline; color: #fff; }
.ft-tel { display: block; font-family: var(--serif); font-size: 1.45rem; margin-bottom: 6px; }
.ft-mail { display: block; margin-bottom: 10px; }
.ft-soc { display: flex; flex-wrap: wrap; gap: 10px; }
.ft-soc a { display: inline-flex; align-items: center; gap: .45em; padding: .45em .9em; border-radius: 999px; border: 1px solid rgba(247, 244, 239, .22); font-size: .92rem; }
.ft-gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ft-gal .zoom { border-radius: 10px; aspect-ratio: 1; }
.ft-gal img { width: 100%; height: 100%; object-fit: cover; }
.ft-copy { border-top: 1px solid rgba(247, 244, 239, .12); padding-top: 22px; padding-bottom: 28px; font-size: .88rem; color: rgba(247, 244, 239, .65); margin: 0 auto; }
@media (max-width: 1000px) { .ft-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ft-in { grid-template-columns: minmax(0, 1fr); } .ft { padding-top: 150px; } .ft-nebo { height: 210px; } .ft-nebo .creste { --ch: 110px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .oblak { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------- aggiunte ---------- */
[hidden] { display: none !important; }
.sm-bar { display: none; }
@media (max-width: 980px) {
  .p-smestaj .sm-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 10px; padding: 10px var(--g) calc(10px + env(safe-area-inset-bottom)); background: rgba(247, 244, 239, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid rgba(18, 48, 47, .1); }
  .sm-bar .btn { flex: 1; min-height: 50px; }
  .sm-bar .btn-ghost { flex: 0 0 auto; padding: 0 1.1em; background: #fff; }
  .p-smestaj .ft-copy { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (max-width: 700px) {
  .sm-mos { padding-left: 0; padding-right: 0; margin-top: -48px; }
  .mos, .mos--3, .mos--4, .mos--5 { border-radius: 0; gap: 4px; }
}
@media (max-width: 520px) { .btn { white-space: normal; text-align: center; line-height: 1.25; } }
.burger { flex: none; }
@media (max-width: 480px) { .brand img { height: 28px; } .nav { gap: 8px; } }
@media (max-width: 370px) { .nav-tel { display: none; } .brand img { height: 27px; } }
@media (max-width: 340px) { .brand img { height: 24px; } }
.nebo--s .nebo-in { padding-top: clamp(32px, 4vw, 52px); padding-bottom: calc(var(--ch) + 64px); }
/* elenco apartmana: testo introduttivo + foto della terrazza (fondo della fascia nell'originale) */
.split--intro { align-items: start; margin-bottom: clamp(36px, 5vw, 56px); }
.split--intro .prose--intro { margin-bottom: 0; }
@media (min-width: 901px) { .split--intro .split-im { position: sticky; top: 112px; } }
/* 404 */
.e404 { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; padding: clamp(8px, 3vw, 24px) 0 clamp(24px, 5vw, 56px); }

/* ---------- giro Codex (12/11) ---------- */
.hd:has(.nav-links.open)::before, .menu-aperto .hd::before { background: var(--sneg); }
/* senza script: niente comandi del catalogo che non funzionerebbero; schede di O nama tutte visibili */
html:not(.js) .kat-bar, html:not(.js) .kat-more { display: none; }
.js [data-tabs]:not(.ok) .tabs-p ~ .tabs-p { display: none; }
/* «Poništi filtere»: area cliccabile da 44 px */
.kat-0 .link { min-height: 44px; padding: 0 .4em; }
/* nuvole ferme quando la fascia non si vede */
.miruje .oblak { animation-play-state: paused; }
/* telefono, pagine alloggio: mentre si scrive nel modulo la barra fissa sparisce (non copre il campo sopra la tastiera) */
@media (max-width: 900px) {
  .p-smestaj:has(.form:focus-within) .sm-bar, .p-smestaj.scrive .sm-bar { display: none; }
  html:has(.p-smestaj) { scroll-padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
}

/* ============ Planina / More (16/11/2026): izbor na vrhu početne, stranica More – Grčka, meni ============ */
/* izbor: dva velika polja na vrhu početne */
.izbor { background: var(--sneg); padding: clamp(12px, 1.6vw, 20px) 0 0; }
.izbor-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.izbor-k { position: relative; display: flex; align-items: flex-end; height: clamp(380px, calc(100svh - 150px), 640px); overflow: hidden; border-radius: var(--r); color: var(--sneg); text-decoration: none; background: #c9c4bc; box-shadow: var(--sh); isolation: isolate; transition: box-shadow .3s; }
.izbor-k:hover, .izbor-k:focus-visible { color: var(--sneg); box-shadow: var(--sh-l); }
.izbor-k .hero-scena { position: absolute; inset: 0; z-index: -2; width: auto; height: auto; min-height: 0; max-height: none; border-radius: 0; box-shadow: none; }
.izbor-f { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.izbor-k .hero-scena, .izbor-f { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.izbor-k:hover .hero-scena, .izbor-k:hover .izbor-f { transform: scale(1.03); }
.izbor-k::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(15, 42, 44, 0) 38%, rgba(15, 42, 44, .82) 100%); }
.izbor-tx { position: relative; display: flex; flex-direction: column; gap: .15em; padding: clamp(22px, 3vw, 40px); text-shadow: 0 1px 18px rgba(10, 30, 31, .35); }
.izbor-m { font-weight: 600; letter-spacing: .02em; opacity: .92; }
.izbor-n { font-family: var(--serif); font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1; }
.izbor-c { display: inline-flex; align-items: center; gap: .45em; margin-top: .6em; font-weight: 600; }
.izbor-c .ico { width: 1.15em; height: 1.15em; transition: transform .25s; }
.izbor-k:hover .izbor-c .ico { transform: translateX(4px); }
@media (max-width: 700px) {
  .izbor-in { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .izbor-k { height: clamp(240px, calc((100svh - 130px) / 2), 380px); }
  .izbor-n { font-size: clamp(2.3rem, 11vw, 3rem); }
}
@media (prefers-reduced-motion: reduce) {
  .izbor-k .hero-scena, .izbor-f, .izbor-c .ico { transition: none; }
  .izbor-k:hover .hero-scena, .izbor-k:hover .izbor-f, .izbor-k:hover .izbor-c .ico { transform: none; }
}
/* sadašnji naslov, pretraga i prečice: ispod dva polja */
.hero--tekst { height: auto; min-height: 0; overflow: visible; }
.hero--tekst .hero-in { height: auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); column-gap: clamp(32px, 5vw, 80px); align-items: end; padding-top: clamp(44px, 6vw, 88px); padding-bottom: clamp(36px, 5vw, 64px); }
.hero--tekst .hero-in > * { max-width: none; }
.hero--tekst .hero-h { grid-column: 1; grid-row: 1 / span 3; align-self: center; margin-bottom: 0; }
.hero--tekst .hero-sub, .hero--tekst .trazi, .hero--tekst .hero-vrata { grid-column: 2; }
@media (max-width: 1000px) {
  .hero--tekst .hero-in { display: flex; align-items: stretch; margin-top: 0; padding-top: 30px; padding-bottom: 36px; }
  .hero--tekst .hero-in::before { display: none; }
  .hero--tekst .hero-in > * { max-width: 640px; }
  .hero--tekst .hero-h { margin-bottom: .35em; }
}
/* stranica More – Grčka */
.more-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: clamp(440px, 66svh, 660px); color: var(--sneg); background: #0f2a2c; border-bottom-left-radius: 56px; }
.more-hero-f { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.more-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 42, 44, .84) 0%, rgba(15, 42, 44, .58) 40%, rgba(15, 42, 44, .06) 76%), linear-gradient(0deg, rgba(15, 42, 44, .5), rgba(15, 42, 44, 0) 45%); }
.more-hero-in { width: 100%; padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(40px, 6vw, 72px); }
.more-hero-in > * { max-width: 620px; }
.more-hero-k { font-weight: 600; color: var(--planina); margin: 0 0 .7em; }
.more-hero .h1 { color: var(--sneg); margin-bottom: .35em; }
.more-hero-p { font-size: clamp(1.05rem, 1.6vw, 1.22rem); opacity: .94; margin-bottom: 1.4em; }
.more-hero .hero-vrata a { background: rgba(255, 255, 255, .92); }
.more-mesta { padding-bottom: 0; }
.more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.more-k { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: clamp(26px, 2.6vw, 38px); background: #fff; border-radius: var(--r); box-shadow: var(--sh); }
.more-k::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--more), var(--planina)); }
.more-r { font-weight: 600; font-size: .92rem; color: var(--more-d); margin: 0 0 .6em; }
.more-k .h2 { margin: 0 0 .35em; }
.more-t { align-self: flex-start; margin: 0 0 1.1em; padding: .3em .85em; border-radius: 999px; background: rgba(42, 141, 141, .1); color: var(--more-d); font-weight: 600; font-size: .88rem; }
.more-p { margin: 0 0 1em; color: var(--ink-2); }
.more-u { margin: auto 0 1em; padding-top: .4em; font-size: .95rem; color: var(--ink-2); }
.more-k .btn { align-self: flex-start; }
@media (max-width: 1000px) { .more-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) {
  .more-hero { min-height: 0; border-bottom-left-radius: 36px; }
  .more-hero::after { background: linear-gradient(0deg, rgba(15, 42, 44, .9) 0%, rgba(15, 42, 44, .62) 52%, rgba(15, 42, 44, .08) 100%); }
  .more-hero-in { padding-top: 220px; padding-bottom: 36px; }
}
/* meni sa stavkom „More – Grčka“: kompaktniji red na desktopu da sve stane u jedan red */
@media (min-width: 1241px) {
  .nav { gap: 12px; }
  .brand img { height: 34px; }
  .nav-links > li > a { padding: .55em .6em; font-size: .94rem; }
  .nav-tel span { display: none; }
  .nav-tel { width: 46px; height: 46px; justify-content: center; border-radius: 50%; background: rgba(42, 141, 141, .12); }
}
/* hamburger: linije u boji teksta, vidljive i u tamnom režimu telefona */
.burger { color: var(--more-d); }
.burger span { height: 0; background: none; border-top: 2px solid currentColor; }

/* ---------- Grčka – More: talasi na vodi i odsjaj sunca ---------- */
.izbor-talasi { position: absolute; left: 0; right: 0; top: 35%; height: 22%; z-index: -1; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.izbor-talasi i { position: absolute; left: 0; top: 0; width: 200%; height: 100%; opacity: .32; mix-blend-mode: soft-light; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='24' viewBox='0 0 240 24'%3E%3Cpath d='M0 12 Q30 4 60 12 T120 12 T180 12 T240 12' fill='none' stroke='%23fff' stroke-width='2.2'/%3E%3C/svg%3E") repeat; background-size: 240px 24px; animation: izbor-talas 14s linear infinite; }
.izbor-talasi i + i { top: 9px; opacity: .22; background-size: 180px 18px; animation-duration: 22s; animation-direction: reverse; }
.izbor-sunce { position: absolute; left: 50%; top: 31%; width: 34%; aspect-ratio: 1; z-index: -1; pointer-events: none; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 236, 170, .55), rgba(255, 200, 120, .18) 45%, rgba(255, 200, 120, 0) 70%); mix-blend-mode: screen; animation: izbor-sunce 6s ease-in-out infinite alternate; }
@keyframes izbor-talas { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes izbor-sunce { from { opacity: .55; transform: translate(-50%, -50%) scale(.92); } to { opacity: 1; transform: translate(-50%, -50%) scale(1.08); } }
.izbor-k--anim .izbor-f { object-position: 50% 45%; }
@media (prefers-reduced-motion: reduce) { .izbor-talasi i, .izbor-sunce { animation: none; } }

/* ---------- početna: istaknuta kartica vile ispod polja Grčka – More ---------- */
.vila-k { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: center; gap: 0; overflow: hidden; border-radius: var(--r); background: #fff; color: var(--bor); text-decoration: none; box-shadow: var(--sh); transition: box-shadow .3s; }
.vila-k:hover, .vila-k:focus-visible { color: var(--bor); box-shadow: var(--sh-l); }
.vila-k img { width: 100%; height: 100%; min-height: 160px; aspect-ratio: 4 / 3; object-fit: cover; }
.vila-k-tx { display: flex; flex-direction: column; align-items: flex-start; gap: .35em; padding: clamp(18px, 2.4vw, 32px); }
.vila-k-m { font-weight: 600; letter-spacing: .02em; color: var(--more-d); font-size: .92rem; }
.vila-k-n { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.9rem); line-height: 1.15; }
.vila-k-c { display: inline-flex; align-items: center; gap: .45em; margin-top: .4em; font-weight: 600; color: var(--more-d); }
.vila-k-c .ico { width: 1.15em; height: 1.15em; }
.vila-k .btn { margin-top: .6em; }
.vila-k--home { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.vila-k--home img { aspect-ratio: 2.4 / 1; min-height: 0; }
.more-k .vila-k { margin: 1em 0 1.2em; grid-template-columns: minmax(0, 1fr); }
.more-k .vila-k img { aspect-ratio: 16 / 10; min-height: 0; }
@media (max-width: 700px) { .vila-k, .vila-k--home { grid-template-columns: minmax(0, 1fr); } .vila-k img { aspect-ratio: 16 / 10; min-height: 0; } }

/* ---------- liste sa ikonicama (kvadovi, vila, Promenada) ---------- */
.ik-lista { list-style: none; margin: 1em 0 1.2em; padding: 0; display: grid; gap: .55em; }
.prose .ik-lista li, .ik-lista li { display: flex; align-items: flex-start; gap: .6em; margin: 0; padding: 0; }
.prose .ik-lista li::before, .ik-lista li::before { content: none; }
.ik-lista .ico { flex: 0 0 auto; width: 1.35em; height: 1.35em; margin-top: .1em; color: var(--more-d); }

/* ---------- početna: kvadovi ---------- */
.kvad-pod { font-family: var(--serif); font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--more-d); margin: -.2em 0 1em; }
.kvad-h { font-family: var(--serif); font-size: clamp(1.2rem, 1.8vw, 1.45rem); margin: 1.3em 0 0; }
.kvad .otk-im img { aspect-ratio: 16 / 9; }
.kvad-kont { margin: 1.4em 0 .6em; font-weight: 600; }
.kvad-b { margin: 0 0 1em; }
.kvad-kraj { font-family: var(--serif); color: var(--ink-2); margin: 0; }

/* ---------- O nama: slika «Neprekidna inovacija» cela i veća ---------- */
.split--slika { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.split-im--cela img { aspect-ratio: auto; height: auto; object-fit: contain; }
@media (max-width: 900px) { .split--slika { grid-template-columns: minmax(0, 1fr); } }

/* ---------- vila: kontakt dugmad ---------- */
.vila-kont { display: grid; gap: 10px; margin-top: 1em; }
.vila-kont .btn { width: 100%; justify-content: center; }

/* ---------- galerija u podnožju: smenjuju se slike jednog smeštaja ---------- */
.ft-gal--giro li { transition: opacity .45s ease; }
.ft-gal--giro li.ft-esce { opacity: 0; }
.ft-gal-a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 10px; }
.ft-gal-a img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ft-gal-a:hover img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .ft-gal--giro li { transition: none; } }
