/* ==========================================================================
   Studio S Hair & Spa – oblikovni sistem
   Barve iz CGP (devet.design): #F7F5EC, #EEE6D9, #E1D9CA, #C0B6A4, #B18F78
   Kazalo:  1 Žetoni  2 Pisave  3 Osnova  4 Tipografija  5 Gumbi
            6 Liquid glass glava  7 Mobilni meni  8 Hero  9 Sekcije
            10 Komponente domače strani  11 Podstrani  12 Obrazci  13 Noga
            14 Animacije in prehodi  15 Odzivnost
   ========================================================================== */

/* ---------- 1 Žetoni ---------- */
:root {
  --ivory: #FBFAF5;
  --cream: #F7F5EC;
  --sand: #EEE6D9;
  --linen: #E1D9CA;
  --taupe: #C0B6A4;
  --mocha: #B18F78;
  --mocha-deep: #8B6A55;   /* gumbi in poudarki – dovolj kontrasta z belo */
  --ink: #2F2A26;
  --ink-soft: #57514B;
  --mute: #8C8884;
  --espresso: #3A302A;
  --night: #1C1714;
  --night-2: #261F1B;
  --white: #fff;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Cormorant Garamond", "Times New Roman", serif;

  --r-xl: 32px; --r-lg: 24px; --r-md: 18px; --r-sm: 14px; --pill: 999px;
  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1320px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-in-out: cubic-bezier(.7, 0, .3, 1);
  --shadow-soft: 0 30px 60px -30px rgba(58, 48, 42, .28);
  --shadow-card: 0 1px 0 rgba(255,255,255,.6) inset, 0 20px 50px -28px rgba(58, 48, 42, .35);
}

/* ---------- 2 Pisave (gostovane na lastnem strežniku) ---------- */
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url(../fonts/manrope-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url(../fonts/manrope-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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-weight: 500; font-display: swap; src: url(../fonts/manrope-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, 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-weight: 500; font-display: swap; src: url(../fonts/manrope-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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-weight: 600; font-display: swap; src: url(../fonts/manrope-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url(../fonts/manrope-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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-weight: 700; font-display: swap; src: url(../fonts/manrope-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, 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-weight: 700; font-display: swap; src: url(../fonts/manrope-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url(../fonts/cormorant-garamond-latin-500-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url(../fonts/cormorant-garamond-latin-ext-500-italic.woff2) format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/cormorant-garamond-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF; }

/* ---------- 3 Osnova ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--cream); color: var(--ink-soft);
  font: 400 1rem/1.65 var(--font); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, dl, dd, blockquote { margin: 0; }
::selection { background: var(--mocha); color: #fff; }
:focus-visible { outline: 2px solid var(--mocha-deep); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(880px + var(--gutter) * 2); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: var(--pill); transition: top .2s; }
.skip-link:focus { top: 16px; }

/* Fotografija: topel nadomestek, dokler se ne naloži */
.media { position: relative; overflow: hidden; background: var(--linen); border-radius: var(--r-lg); isolation: isolate; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--fill { position: absolute; inset: 0; border-radius: 0; }
.js .media img { opacity: 0; transition: opacity .9s var(--ease); }
.js .media img.is-loaded { opacity: 1; }

/* ---------- 4 Tipografija ---------- */
.display, .h1, .h2, .h3 { color: var(--ink); font-weight: 500; letter-spacing: -.035em; text-wrap: balance; }
.display { font-size: clamp(2.7rem, 1.4rem + 5.6vw, 6.6rem); line-height: .98; letter-spacing: -.045em; }
.h1 { font-size: clamp(2.4rem, 1.4rem + 4vw, 5rem); line-height: 1.02; letter-spacing: -.04em; }
.h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.6rem); line-height: 1.06; }
.h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); line-height: 1.2; letter-spacing: -.02em; }
.display em, .h1 em, .h2 em, .h3 em, .statement em, .serif {
  font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.01em;
  font-size: 1.12em; line-height: .9; color: var(--mocha-deep);
}
.muted { color: var(--mute); }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); line-height: 1.6; color: var(--ink-soft); max-width: 56ch; text-wrap: pretty; }
.body-lg { font-size: 1.075rem; line-height: 1.75; text-wrap: pretty; }
.small { font-size: .875rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em; font-size: .75rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--mocha-deep);
}
.eyebrow svg { width: 12px; height: 12px; flex: none; }
.num { font-variant-numeric: tabular-nums; }
.stack > * + * { margin-top: 1.1rem; }
.stack-lg > * + * { margin-top: 1.75rem; }

/* ---------- 5 Gumbi ---------- */
.btn {
  --bg: var(--mocha-deep); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .9rem;
  min-height: 52px; padding: 6px 7px 6px 26px; border-radius: var(--pill);
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: .95rem; letter-spacing: -.005em;
  white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .3s;
  box-shadow: 0 10px 30px -14px rgba(139, 106, 85, .9);
}
.btn::before { /* svetlobni odsev ob prehodu */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(120px 60px at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.28), transparent 70%);
  opacity: 0; transition: opacity .4s;
}
.btn:hover::before { opacity: 1; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -14px rgba(139, 106, 85, .95); }
.btn:active { transform: translateY(0) scale(.98); }
.btn__icon {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
  transition: transform .5s var(--ease), background-color .3s;
}
.btn__icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover .btn__icon { transform: translateX(3px) rotate(-45deg); background: rgba(255,255,255,.26); }
.btn--sm { min-height: 44px; padding: 4px 5px 4px 20px; font-size: .9rem; gap: .7rem; }
.btn--sm .btn__icon { width: 34px; height: 34px; }
.btn--light { --bg: var(--ivory); --fg: var(--ink); box-shadow: 0 10px 30px -14px rgba(0,0,0,.4); }
.btn--light .btn__icon { background: var(--mocha-deep); color: #fff; box-shadow: none; }
/* steklen gumb – samo na fotografijah */
.btn--glass {
  --bg: rgba(255,255,255,.14); --fg: #fff;
  backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 0 0 1px rgba(255,255,255,.28), 0 10px 30px -16px rgba(0,0,0,.5);
}
.btn--glass:hover { --bg: rgba(255,255,255,.22); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 0 0 1px rgba(255,255,255,.4), 0 16px 36px -16px rgba(0,0,0,.55); }
.btn--outline { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1px rgba(47,42,38,.22); }
.btn--outline .btn__icon { background: var(--mocha-deep); color: #fff; box-shadow: none; }
.btn--outline:hover { box-shadow: inset 0 0 0 1px rgba(47,42,38,.5); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; color: var(--ink); }
.link-arrow svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.link-arrow:hover span { background-size: 100% 1px; }

.arrow-dot { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; flex: none; background: var(--ivory); color: var(--ink); transition: transform .5s var(--ease), background-color .3s, color .3s; }
.arrow-dot svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transform: rotate(-45deg); transition: transform .5s var(--ease); }

/* ---------- 6 Liquid glass glava ---------- */
.site-header {
  position: fixed; inset: 14px 0 auto; z-index: 100; pointer-events: none;
  view-transition-name: glava;
  transition: transform .7s var(--ease);
}
.site-header.is-hidden { transform: translateY(calc(-100% - 80px)); }
.site-header .container { max-width: calc(var(--maxw) + var(--gutter) * 2); transition: max-width .8s var(--ease); }
.site-header.is-scrolled .container { max-width: calc(1120px + var(--gutter) * 2); }

.lg { /* liquid glass površina */
  --lg-tint: rgba(255, 255, 255, .12);
  --lg-rim: rgba(255, 255, 255, .55);
  position: relative; isolation: isolate; border-radius: var(--pill);
}
.lg::before { /* steklo: zamegljeno in ukrivljeno ozadje */
  content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit;
  background: var(--lg-tint);
  backdrop-filter: blur(16px) saturate(175%) brightness(1.04);
  -webkit-backdrop-filter: blur(16px) saturate(175%) brightness(1.04);
  transition: background-color .6s var(--ease);
}
.lg-refract .lg::before { /* Chrome/Edge: prava refrakcija svetlobe skozi SVG filter */
  backdrop-filter: url(#lg-lomljenje) blur(10px) saturate(180%) brightness(1.05);
}
.lg::after { /* robni odsev, notranja senca in sledenje kazalcu */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(260px 90px at var(--px, 30%) -10%, rgba(255,255,255,.38), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0) 45%, rgba(255,255,255,.06));
  box-shadow:
    inset 1.5px 1.5px 0 -0.5px var(--lg-rim),
    inset -1px -1px 0 -0.5px rgba(255,255,255,.28),
    inset 0 0 22px rgba(255,255,255,.12),
    0 1px 1px rgba(0,0,0,.04),
    0 18px 50px -18px rgba(40, 30, 22, .35);
}

.navbar {
  pointer-events: auto; display: flex; align-items: center; gap: 18px;
  height: var(--header-h); padding: 0 10px 0 28px; color: #fff;
  transition: height .6s var(--ease), color .5s var(--ease);
}
.site-header.is-scrolled .navbar, .site-header.on-light .navbar { --lg-tint: rgba(251, 250, 245, .62); --lg-rim: rgba(255,255,255,.9); color: var(--ink); }
.site-header.is-scrolled .navbar { height: 64px; }

.logo { display: flex; align-items: center; flex: none; color: inherit; margin-right: auto; }
.logo svg { width: auto; height: 32px; transition: height .6s var(--ease); }
.site-header.is-scrolled .logo svg { height: 29px; }
.navbar .logo { color: currentColor; }
.site-header.is-scrolled .logo, .site-header.on-light .logo { color: var(--mocha-deep); }

.nav-links { position: relative; display: flex; align-items: center; gap: 2px; }
.nav-links > li > a, .dropdown-toggle {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px;
  height: 42px; padding: 0 16px; border-radius: var(--pill);
  font-size: .9rem; font-weight: 600; letter-spacing: .01em; opacity: .92; transition: opacity .3s;
}
.nav-links > li > a:hover, .dropdown-toggle:hover, .nav-links .is-active { opacity: 1; }
.nav-links .is-active::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.dropdown-toggle svg { width: 10px; height: 10px; transition: transform .4s var(--ease); }
.dropdown-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
/* "Storitve" je povezava na stran, puščica ob njej odpre seznam */
.has-dropdown { display: flex; align-items: center; }
.nav-links > .has-dropdown > a { padding-right: 4px; }
.nav-links .dropdown-toggle { width: 30px; padding: 0 12px 0 4px; box-sizing: content-box; justify-content: center; }
.nav-blob { /* tekoči indikator pod kazalcem */
  position: absolute; z-index: 0; top: 50%; left: 0; height: 42px; width: 60px; margin-top: -21px;
  border-radius: var(--pill); pointer-events: none; opacity: 0;
  background: rgba(255,255,255,.2); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 0 0 1px rgba(255,255,255,.18);
  transition: transform .55s cubic-bezier(.3, 1.4, .5, 1), width .55s cubic-bezier(.3, 1.4, .5, 1), opacity .3s;
}
.site-header.is-scrolled .nav-blob, .site-header.on-light .nav-blob { background: rgba(139,106,85,.1); box-shadow: inset 0 0 0 1px rgba(139,106,85,.12); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%; width: 300px; padding: 10px; border-radius: 22px;
  --lg-tint: rgba(251, 250, 245, .78); --lg-rim: rgba(255,255,255,.95); color: var(--ink);
  opacity: 0; visibility: hidden; transform: translate(-50%, -8px) scale(.97); transform-origin: top center;
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s;
}
.dropdown.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition-delay: 0s; }
.dropdown a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-radius: 14px; font-size: .92rem; font-weight: 500; transition: background-color .25s; }
.dropdown a:hover, .dropdown a:focus-visible { background: rgba(139,106,85,.1); }
.dropdown a small { color: var(--mute); font-size: .75rem; font-weight: 500; }

.navbar__cta { margin-left: 8px; }
.site-header:not(.is-scrolled):not(.on-light) .navbar__cta { --bg: rgba(255,255,255,.92); --fg: var(--ink); box-shadow: 0 8px 24px -12px rgba(0,0,0,.4); }
.site-header:not(.is-scrolled):not(.on-light) .navbar__cta .btn__icon { background: var(--mocha-deep); color: #fff; box-shadow: none; }

.menu-toggle { display: none; position: relative; width: 48px; height: 48px; border-radius: 50%; flex: none; }
.menu-toggle span { position: absolute; left: 15px; right: 15px; height: 1.6px; border-radius: 2px; background: currentColor; transition: transform .5s var(--ease), opacity .3s; }
.menu-toggle span:nth-child(1) { top: 19px; }
.menu-toggle span:nth-child(2) { top: 27px; right: 21px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); right: 15px; }

/* ---------- 7 Mobilni meni ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 40px) var(--gutter) 32px; color: var(--ink);
  background: rgba(247, 245, 236, .82);
  backdrop-filter: blur(28px) saturate(160%); -webkit-backdrop-filter: blur(28px) saturate(160%);
  clip-path: circle(0 at calc(100% - 52px) 52px); visibility: hidden;
  transition: clip-path .8s var(--ease-in-out), visibility 0s .8s;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 52px) 52px); visibility: visible; transition-delay: 0s; }
.mobile-menu nav { flex: 1; overflow-y: auto; }
.mobile-menu ul a { display: flex; align-items: baseline; gap: 14px; padding: 8px 0; font-size: clamp(1.55rem, 6.6vw, 2.25rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.1; color: var(--ink); }
.mobile-menu ul a.is-active { font-family: var(--serif); font-style: italic; color: var(--mocha-deep); }
.mobile-menu li { opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.mobile-menu.is-open li { opacity: 1; transform: none; }
.mobile-menu.is-open li:nth-child(2) { transition-delay: .05s; } .mobile-menu.is-open li:nth-child(3) { transition-delay: .1s; }
.mobile-menu.is-open li:nth-child(4) { transition-delay: .15s; } .mobile-menu.is-open li:nth-child(5) { transition-delay: .2s; }
.mobile-menu.is-open li:nth-child(6) { transition-delay: .25s; } .mobile-menu.is-open li:nth-child(7) { transition-delay: .3s; }
.mobile-menu__foot { display: grid; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(47,42,38,.12); }
.mobile-menu__foot .btn { width: 100%; justify-content: space-between; }
.mobile-menu__foot p { font-size: .9rem; }
body.menu-open .site-header .navbar { color: var(--ink); --lg-tint: rgba(251,250,245,.4); }
body.menu-open .site-header .logo { color: var(--mocha-deep); }

/* ---------- 8 Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: var(--r-xl); color: #fff; overflow: clip; background: var(--night); }
.hero__media { position: absolute; inset: 0; z-index: 0; border-radius: 0; background: var(--espresso); }
.hero__media img { transform-origin: 50% 60%; }
.hero__veil { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(28,23,20,.45) 0%, rgba(28,23,20,0) 26%),
    linear-gradient(100deg, rgba(28,23,20,.74) 0%, rgba(28,23,20,.42) 42%, rgba(28,23,20,.08) 72%),
    linear-gradient(0deg, rgba(28,23,20,.6) 0%, rgba(28,23,20,0) 42%);
}
.hero__inner { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 80px); padding-bottom: clamp(28px, 4vw, 48px); }
.hero__content { max-width: 880px; }
.hero .eyebrow { color: rgba(255,255,255,.88); }
.hero h1 { color: #fff; margin: 22px 0 26px; }
.hero h1 em { color: #F1E3D3; }
.hero__lead { max-width: 52ch; color: rgba(255,255,255,.86); font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem); line-height: 1.6; }
.hero .btn-row { margin-top: 34px; }
.hero__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: clamp(40px, 7vh, 90px); }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.scroll-cue i { position: relative; width: 1px; height: 46px; background: rgba(255,255,255,.3); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: #fff; animation: kapljica 2.4s var(--ease-in-out) infinite; }
@keyframes kapljica { to { top: 110%; } }
.hero-cards { display: flex; flex-direction: column; gap: 10px; width: 360px; max-width: 100%; }
.hero-card { /* steklena kartica (Darilni boni, Studio S Spa) */
  display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border-radius: 22px; color: #fff;
  --lg-tint: rgba(255,255,255,.1);
  transition: transform .5s var(--ease);
}
.hero-card:hover { transform: translateX(-4px); }
.hero-card .media { width: 74px; height: 74px; border-radius: 14px; flex: none; }
.hero-card__text { flex: 1; min-width: 0; }
.hero-card__title { display: block; font-weight: 600; font-size: .95rem; }
.hero-card__desc { display: block; margin-top: 2px; font-size: .82rem; color: rgba(255,255,255,.8); line-height: 1.45; }
.hero-card .arrow-dot { /* krogec s puščico: steklen rob, ob prehodu bel */
  width: 40px; height: 40px; background: rgba(255,255,255,.16); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), inset 0 1px 0 rgba(255,255,255,.45);
}
.hero-card:hover .arrow-dot { background: #fff; color: var(--ink); box-shadow: none; }
.hero-card:hover .arrow-dot svg { transform: rotate(0); }

.marquee { position: relative; z-index: 2; overflow: hidden; display: flex; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; flex: none; align-items: center; gap: 44px; padding-right: 44px; animation: tekoce 38s linear infinite; }
.marquee__track li { display: flex; align-items: center; gap: 44px; white-space: nowrap; font-size: clamp(1.05rem, 1rem + .4vw, 1.35rem); font-weight: 500; letter-spacing: -.02em; color: rgba(255,255,255,.92); }
.marquee__track li:nth-child(even) { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1.1rem + .5vw, 1.55rem); }
.marquee__track li::after { content: ""; width: 12px; height: 12px; background: currentColor; opacity: .7;
  -webkit-mask: url(../brand/sparkle.svg) center / contain no-repeat; mask: url(../brand/sparkle.svg) center / contain no-repeat; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes tekoce { to { transform: translateX(-100%); } }

/* Podstran: naslovni del */
.page-hero { position: relative; padding: calc(var(--header-h) + 90px) 0 clamp(48px, 7vw, 96px); }
.page-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.page-hero h1 { margin: 22px 0 24px; }
.page-hero__media { aspect-ratio: 4 / 4.4; border-radius: var(--r-xl); }
.page-hero--center { text-align: center; }
.page-hero--center .lead { margin-inline: auto; }
.crumbs { display: flex; gap: 8px; font-size: .82rem; color: var(--mute); }
.crumbs a:hover { color: var(--ink); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }

/* ---------- 9 Sekcije ---------- */
.section { position: relative; padding-block: clamp(80px, 11vw, 160px); }
.section--tight { padding-block: clamp(56px, 7vw, 100px); }
.section--sand { background: var(--sand); }
.section--ivory { background: var(--ivory); }
.section--dark { background: var(--night); color: rgba(255,255,255,.74); }
.section--dark .h1, .section--dark .h2, .section--dark .h3, .section--dark .display { color: #fff; }
.section--dark .muted { color: rgba(255,255,255,.45); }
.section--dark em { color: #D9BFA9; }
.section--dark .eyebrow { color: #D9BFA9; }
.section--dark .lead, .section--dark .body-lg { color: rgba(255,255,255,.72); }
.rounded-top { border-radius: var(--r-xl) var(--r-xl) 0 0; margin-top: calc(var(--r-xl) * -1); z-index: 3; }

.split-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.split-head .lead { justify-self: end; }
.center-head { text-align: center; max-width: 900px; margin: 0 auto clamp(40px, 5vw, 72px); }
.center-head .lead { margin: 22px auto 0; }
.center-head .eyebrow { margin-bottom: 20px; }

/* ---------- 10 Komponente domače strani ---------- */
/* Izjava, ki se med drsenjem obarva */
.statement { max-width: 1120px; margin: 0 auto; text-align: center; color: var(--ink); font-size: clamp(1.7rem, 1.1rem + 2.4vw, 3.3rem); font-weight: 500; line-height: 1.18; letter-spacing: -.035em; text-wrap: balance; }
.statement .w { transition: none; }
.statement-mark { display: block; width: 36px; margin: 0 auto 30px; color: var(--mocha); }

/* Vrednote – bento s steklenimi napisi */
.bento { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; grid-template-rows: 380px 380px; gap: 20px; margin-top: clamp(48px, 6vw, 88px); perspective: 1400px; }
.bento > :nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
.bento > :nth-child(2) { grid-column: 3 / 5; }
.photo-card { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--linen); transform-style: preserve-3d; will-change: transform; }
.photo-card .media { position: absolute; inset: 0; border-radius: 0; }
.photo-card .media img { transition: transform 1.4s var(--ease), opacity .9s var(--ease); }
.photo-card:hover .media img { transform: scale(1.05); }
.photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(28,23,20,.45)); pointer-events: none; }
.glass-caption {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; padding: 18px 20px; border-radius: var(--r-sm); color: #fff;
  background: rgba(255,255,255,.12); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: inset 1px 1px 0 rgba(255,255,255,.4), inset 0 0 0 1px rgba(255,255,255,.14);
  transform: translateZ(40px);
}
.glass-caption h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; margin-bottom: 6px; color: #fff; }
.glass-caption p { font-size: .9rem; line-height: 1.55; color: rgba(255,255,255,.9); }

/* Storitve – 3D vrtiljak */
.svc { position: relative; overflow: clip; }
.svc__pin { position: relative; }
.svc__head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: clamp(36px, 4vw, 56px); }
.svc__progress { display: flex; align-items: center; gap: 14px; font-size: .85rem; font-weight: 600; color: var(--ink); }
.svc__arrow {
  display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%;
  color: var(--ink); background: rgba(255,255,255,.6); box-shadow: inset 0 0 0 1px rgba(47,42,38,.16);
  transition: background-color .3s, color .3s, box-shadow .3s, opacity .3s, transform .4s var(--ease);
}
.svc__arrow svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc__arrow:hover:not(:disabled) { background: var(--mocha-deep); color: #fff; box-shadow: none; transform: scale(1.06); }
.svc__arrow:disabled { opacity: .35; cursor: default; }
/* Brez drsenja po strani (telefon, izklopljene animacije): kartice se drsajo vodoravno – puščice, prst, sledilna ploščica, vlečenje */
.svc:not(.is-sticky) .svc__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; scrollbar-width: none; }
.svc:not(.is-sticky) .svc__viewport::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) {
  .svc:not(.is-sticky) .svc__viewport { padding-block: 12px 28px; margin-block: -12px -28px; } /* senca kartic ni odrezana */
  .svc:not(.is-sticky) .svc-card { scroll-snap-align: start; }
}
@media (hover: hover) and (pointer: fine) { .svc:not(.is-sticky) .svc__viewport { cursor: grab; } }
.svc:not(.is-sticky) .svc__viewport.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.svc:not(.is-sticky) .svc__viewport.is-gliding { scroll-snap-type: none; }
.svc__viewport.is-drag a { pointer-events: none; }
.svc__bar { position: relative; width: 140px; height: 2px; background: rgba(47,42,38,.12); overflow: hidden; border-radius: 2px; }
.svc__bar i { position: absolute; inset: 0; background: var(--mocha-deep); transform-origin: left; transform: scaleX(0); }
.svc__viewport { perspective: 1600px; perspective-origin: 50% 40%; }
.svc__track { display: flex; gap: clamp(16px, 2vw, 28px); padding-inline: var(--gutter); transform-style: preserve-3d; will-change: transform; }
/* Računalnik z animacijami: notranjost obstane na zaslonu, kartice drsijo vodoravno */
.svc.is-sticky { padding-block: 0; }
.svc.is-sticky .svc__pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: 40px; }
.spa-band.is-sticky { padding-block: 0; }
.spa-band.is-sticky > .container { position: sticky; top: 0; height: 100vh; align-content: center; }
.svc-card {
  position: relative; flex: none; width: clamp(280px, 30vw, 430px); aspect-ratio: 3 / 4.15; border-radius: var(--r-lg); overflow: hidden;
  color: #fff; background: var(--espresso); transform-style: preserve-3d; will-change: transform; box-shadow: var(--shadow-soft);
}
.svc-card > a:not(.btn) { position: absolute; inset: 0; display: block; color: inherit; border-radius: inherit; }
.svc-card .media { position: absolute; inset: 0; border-radius: 0; }
.subscribe .field__error { margin: 10px 0 0 18px; }
.check + .field__error { margin: 6px 0 0 32px; }
.svc-card .media img { transition: transform 1.4s var(--ease), opacity .9s var(--ease); transform: scale(1.04); }
.svc-card:hover .media img { transform: scale(1.1); }
.svc-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,23,20,.3) 0%, transparent 30%, transparent 45%, rgba(28,23,20,.78) 100%); }
.svc-card__top { position: absolute; z-index: 2; top: 22px; left: 22px; right: 22px; display: flex; justify-content: space-between; align-items: center; }
.svc-card__tag { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 7px 12px; border-radius: var(--pill); background: rgba(255,255,255,.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.svc-card__body { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 24px; }
.svc-card h3 { color: #fff; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 10px; }
.svc-card p { font-size: .92rem; line-height: 1.55; color: rgba(255,255,255,.84); max-width: 34ch; }
.svc-card__more { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.22); font-weight: 600; font-size: .9rem; }
.svc-card__more .arrow-dot { width: 38px; height: 38px; background: rgba(255,255,255,.16); color: #fff; }
.svc-card:hover .arrow-dot { background: #fff; color: var(--ink); }
.svc-card:hover .arrow-dot svg { transform: rotate(0); }
.svc-card--end { display: flex; flex-direction: column; justify-content: space-between; padding: 30px; background: var(--mocha-deep); }
.svc-card--end::after { display: none; }
.svc-card--end .h2 { color: #fff; font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.6rem); }
.svc-card--end em { color: #F1E3D3; }

/* Studio S Spa – temni pas s 3D kupom fotografij */
.spa-band { overflow: clip; }
.spa-band__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.spa-logo { display: block; width: clamp(170px, 18vw, 230px); color: #E9DCCD; margin-bottom: 34px; }
.spa-logo svg, .statement-mark svg, .stamp svg { width: 100%; height: auto; }
.checklist { display: grid; gap: 14px; margin: 30px 0 36px; }
.checklist li { position: relative; padding-left: 34px; line-height: 1.5; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1px currentColor; opacity: .55; }
.checklist li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 8px; height: 8px; background: var(--mocha);
  -webkit-mask: url(../brand/sparkle.svg) center / contain no-repeat; mask: url(../brand/sparkle.svg) center / contain no-repeat; }
.section--dark .checklist li::after { background: #D9BFA9; }
.spa-deck { position: relative; height: min(78vh, 720px); perspective: 1800px; perspective-origin: 50% 30%; }
.spa-deck__card { position: absolute; inset: 0; margin: auto; width: min(100%, 520px); height: 100%; border-radius: var(--r-xl); overflow: hidden; transform-origin: 50% 100%; will-change: transform, opacity; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); background: var(--night-2); }
.spa-deck__card .media { position: absolute; inset: 0; border-radius: 0; background: var(--night-2); }
.spa-deck__card figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; }
.glass-caption--dark { position: static; transform: none; background: rgba(28,23,20,.28); }
.spa-glow { position: absolute; inset: auto -20% -30% auto; width: 70vw; height: 70vw; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(177,143,120,.22), transparent); filter: blur(10px); }

/* Prostor */
.reveal-frame { position: relative; height: clamp(460px, 86vh, 900px); border-radius: var(--r-xl); overflow: hidden; }
.reveal-frame .media { position: absolute; inset: 0; border-radius: 0; }
.reveal-frame__caption { position: absolute; z-index: 2; left: clamp(16px, 3vw, 36px); bottom: clamp(16px, 3vw, 36px); max-width: 440px; padding: 22px 24px; border-radius: var(--r-md); color: #fff; --lg-tint: rgba(28,23,20,.18); }
.reveal-frame__caption .eyebrow { color: #F1E3D3; margin-bottom: 10px; }
.reveal-frame__caption h3 { color: #fff; font-size: 1.35rem; font-weight: 500; letter-spacing: -.02em; margin-bottom: 8px; }
.reveal-frame__caption p { font-size: .93rem; color: rgba(255,255,255,.88); }
.space-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; margin-top: 20px; }
.space-tile { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--linen); }
.space-tile .media { position: absolute; inset: -8% 0; border-radius: 0; height: 116%; }
.space-tile__label { position: absolute; z-index: 2; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: var(--pill); color: #fff; font-size: .85rem; font-weight: 600;
  background: rgba(255,255,255,.14); backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%); box-shadow: inset 1px 1px 0 rgba(255,255,255,.4), inset 0 0 0 1px rgba(255,255,255,.16); }
.space-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(28,23,20,.35)); pointer-events: none; }
.space-tile:nth-child(1) { grid-column: span 5; aspect-ratio: 4 / 4.6; }
.space-tile:nth-child(2) { grid-column: span 7; aspect-ratio: 7 / 5.36; }
.space-tile:nth-child(3) { grid-column: span 4; aspect-ratio: 4 / 5; }
.space-tile:nth-child(4) { grid-column: span 4; aspect-ratio: 4 / 5; }
.space-tile:nth-child(5) { grid-column: span 4; aspect-ratio: 4 / 5; }

/* Postrežba – dve fotografiji v plasteh */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.feature--reverse > :first-child { order: 2; }
.duo { position: relative; aspect-ratio: 1 / 1.08; }
.duo__a { position: absolute; left: 0; top: 0; width: 72%; height: 86%; border-radius: var(--r-xl); box-shadow: var(--shadow-soft); }
.duo__b { position: absolute; right: 0; bottom: 0; width: 48%; height: 56%; border-radius: var(--r-lg); box-shadow: 0 30px 60px -24px rgba(58,48,42,.45); outline: 8px solid var(--cream); }
.section--sand .duo__b { outline-color: var(--sand); }
.stamp { position: absolute; z-index: 3; left: 62%; top: 4%; width: clamp(92px, 9vw, 128px); color: var(--mocha-deep); animation: vrtenje 26s linear infinite; }
@keyframes vrtenje { to { transform: rotate(360deg); } }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; margin: 34px 0 38px; }
.mini svg.icon { width: 30px; height: 30px; fill: none; stroke: var(--mocha-deep); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.mini h3 { color: var(--ink); font-size: 1.05rem; font-weight: 600; letter-spacing: -.015em; margin-bottom: 6px; }
.mini p { font-size: .94rem; line-height: 1.6; }

/* Številke */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(47,42,38,.14); }
.stat { padding: 30px 24px 6px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid rgba(47,42,38,.14); }
.stat dd { color: var(--ink); font-size: clamp(2.6rem, 1.8rem + 3vw, 4.6rem); font-weight: 500; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat dd small { font-size: .45em; letter-spacing: -.02em; color: var(--mocha-deep); margin-left: 4px; }
.stat dt { margin-top: 12px; font-size: .92rem; }

/* Ekipa */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; perspective: 1400px; }
.member { position: relative; }
.member__photo { aspect-ratio: 4 / 5.2; border-radius: var(--r-lg); transform-style: preserve-3d; will-change: transform; }
.member__photo img { object-position: 50% 30%; transition: transform 1.2s var(--ease), opacity .9s var(--ease); }
.member:hover .member__photo img { transform: scale(1.04); }
.member h3 { margin-top: 18px; color: var(--ink); font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; }
.member p { font-size: .9rem; color: var(--mute); }
.member__soon { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 7px 12px; border-radius: var(--pill); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(28,23,20,.3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* E-novice */
.newsletter { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(28px, 5vw, 72px); border-radius: var(--r-xl); background: var(--sand); overflow: hidden; }
.newsletter__fan { position: relative; height: clamp(300px, 34vw, 440px); perspective: 1200px; }
.newsletter__fan .media { position: absolute; top: 50%; left: 50%; width: 52%; aspect-ratio: 3 / 4; border-radius: var(--r-md); box-shadow: var(--shadow-soft); transition: transform .9s var(--ease); }
.newsletter__fan .media:nth-child(1) { transform: translate(-105%, -46%) rotate(-9deg); }
.newsletter__fan .media:nth-child(2) { transform: translate(-50%, -54%) rotate(0deg); z-index: 2; }
.newsletter__fan .media:nth-child(3) { transform: translate(5%, -46%) rotate(9deg); }
.newsletter:hover .newsletter__fan .media:nth-child(1) { transform: translate(-118%, -44%) rotate(-13deg); }
.newsletter:hover .newsletter__fan .media:nth-child(3) { transform: translate(18%, -44%) rotate(13deg); }

/* Zaključni pas s fotografijo */
.cta-banner { position: relative; min-height: clamp(520px, 90vh, 860px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; border-radius: var(--r-xl); margin-inline: clamp(8px, 1.4vw, 20px); }
.cta-banner .media { position: absolute; inset: -10% 0; height: 120%; border-radius: 0; background: var(--night); }
.cta-banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(20,16,14,.75), rgba(20,16,14,.1) 60%); }
.cta-banner__inner { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; width: 100%; padding-bottom: clamp(32px, 5vw, 72px); }
.cta-banner h2 { color: #fff; max-width: 14ch; }
.cta-banner h2 em { color: #F1E3D3; }

/* ---------- 11 Podstrani ---------- */
/* Lepljiva navigacija po kategorijah */
.subnav {
  --subnav-top: 92px;
  position: sticky; top: var(--subnav-top); z-index: 20; display: flex; justify-content: center;
  margin: 0 auto clamp(30px, 4vw, 50px); width: max-content; max-width: calc(100% - var(--gutter) * 2);
  transition: transform .7s var(--ease); /* enako hitro in mehko kot skrivanje glave */
}
/* Glava se ob drsenju dol skrije -> podmeni zdrsne na vrh; ob drsenju gor se glava vrne in podmeni se spusti pod njo.
   Premik s transform (gladko na grafični kartici), ne s spreminjanjem »top«, ki na iPhonu trza. */
body:has(.site-header.is-hidden) .subnav.is-stuck { transform: translateY(calc(12px + env(safe-area-inset-top, 0px) - var(--subnav-top))); }
/* Steklo je na nepremičnem ovoju; seznam drsi v njem (sicer bi ozadje drsalo skupaj z gumbi) */
.subnav__glass { min-width: 0; max-width: 100%; overflow: hidden; border-radius: var(--pill); --lg-tint: rgba(251,250,245,.8); --lg-rim: rgba(255,255,255,.95); box-shadow: 0 12px 30px -20px rgba(47,42,38,.4); }
.subnav ul { position: relative; display: flex; gap: 4px; padding: 6px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; border-radius: inherit; }
/* drsna oznaka trenutne kategorije (main.js jo premika za aktivno povezavo) */
.subnav .subnav__thumb {
  position: absolute; z-index: 0; top: 6px; left: 0; height: calc(100% - 12px); width: 0; border-radius: var(--pill);
  background: var(--mocha-deep); box-shadow: 0 6px 16px -8px rgba(91,62,45,.7); opacity: 0; pointer-events: none;
  transition: transform .6s cubic-bezier(.22, 1, .36, 1), width .6s cubic-bezier(.22, 1, .36, 1), opacity .3s;
}
.subnav li { position: relative; z-index: 1; }
.subnav ul::-webkit-scrollbar { display: none; }
@media (max-width: 760px) { /* mehko zbledenje na robovih: vidi se, da je kategorij več */
  .subnav ul { -webkit-mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent); mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent); }
}
.subnav a { display: block; padding: 10px 16px; border-radius: var(--pill); font-size: .86rem; font-weight: 600; color: var(--ink-soft); white-space: nowrap; transition: color .45s var(--ease); }
.subnav a:hover { color: var(--ink); }
.subnav a.is-current { color: #fff; }
.subnav:not(.has-thumb) a.is-current { background: var(--mocha-deep); } /* brez JavaScripta */

.service-block { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 100px); align-items: start; padding-block: clamp(56px, 7vw, 110px); border-top: 1px solid rgba(47,42,38,.1); }
.service-block:nth-of-type(even) .gallery-3 { order: 2; }
.service-block__body { position: sticky; top: 170px; }
.service-block h2 { margin: 10px 0 20px; }
.gallery-3 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gallery-3 .media:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 11; }
.gallery-3 .media { aspect-ratio: 4 / 5; }
.price-list { margin-top: 30px; border-radius: var(--r-md); background: var(--ivory); padding: 8px 22px; box-shadow: var(--shadow-card); }
.price-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 15px 0; }
.price-list li + li { border-top: 1px dashed rgba(47,42,38,.16); }
.price-list span { color: var(--ink); font-weight: 500; }
.price-list small { display: block; color: var(--mute); font-size: .82rem; }
.price-list b { color: var(--ink); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.includes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.includes li { padding: 8px 14px; border-radius: var(--pill); background: var(--sand); color: var(--ink); font-size: .85rem; font-weight: 500; }

/* Spa stran: ritual (lepljiva fotografija + koraki) */
.theme-dark { background: var(--night); color: rgba(255,255,255,.74); }
.theme-dark .display, .theme-dark .h1, .theme-dark .h2, .theme-dark .h3 { color: #fff; }
.theme-dark .lead { color: rgba(255,255,255,.72); }
.theme-dark .muted { color: rgba(255,255,255,.42); }
.theme-dark em { color: #D9BFA9 !important; }
.theme-dark .eyebrow { color: #D9BFA9; }
.spa-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: clip; }
.spa-hero .media { position: absolute; inset: 0; border-radius: 0; background: var(--night); }
.spa-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--night) 0%, rgba(28,23,20,.4) 45%, rgba(28,23,20,.35) 100%); }
.spa-hero__inner { position: relative; z-index: 2; padding-bottom: clamp(48px, 8vw, 110px); }
.spa-hero .spa-logo { width: clamp(200px, 24vw, 320px); }
.ritual { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); }
.ritual__media { position: sticky; top: 110px; height: calc(100vh - 150px); border-radius: var(--r-xl); overflow: hidden; background: var(--night-2); }
.ritual__media .media { position: absolute; inset: 0; border-radius: 0; opacity: 0; transform: scale(1.08); transition: opacity 1s var(--ease), transform 1.6s var(--ease); background: var(--night-2); }
.ritual__media .media.is-active { opacity: 1; transform: scale(1); }
.ritual__steps { padding-block: 10vh 30vh; }
.ritual-step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .32; transition: opacity .6s var(--ease); }
.ritual-step.is-active { opacity: 1; }
.ritual-step h3 { margin: 18px 0 14px; }
.ritual-step .media-inline { display: none; }
.spa-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.spa-gallery .media { aspect-ratio: 4 / 5; }
.spa-gallery .media:nth-child(2) { transform: translateY(40px); }

/* O nas */
.story { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.story__media { aspect-ratio: 4 / 5; border-radius: var(--r-xl); }
.values-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { padding: 28px; border-radius: var(--r-lg); background: var(--ivory); box-shadow: var(--shadow-card); }
.value h3 { margin: 18px 0 10px; color: var(--ink); font-size: 1.15rem; font-weight: 600; }
.value p { font-size: .94rem; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-card { padding: 24px; border-radius: var(--r-md); background: var(--ivory); box-shadow: var(--shadow-card); }
.contact-card dt { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mocha-deep); margin-bottom: 10px; }
.contact-card dd { color: var(--ink); line-height: 1.6; }
.contact-card a:hover { color: var(--mocha-deep); }
.contact-card--wide { grid-column: 1 / -1; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; }
.hours dd { text-align: right; font-variant-numeric: tabular-nums; }
.map-card { position: relative; margin-top: 14px; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; }
.map-card .media { position: absolute; inset: 0; border-radius: 0; }
.map-card .btn { position: absolute; left: 16px; bottom: 16px; z-index: 2; }

/* Pravne strani */
.prose { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.8; }
.prose h2 { color: var(--ink); font-size: 1.45rem; font-weight: 600; letter-spacing: -.02em; margin: 2.4em 0 .7em; }
.prose h3 { color: var(--ink); font-size: 1.1rem; font-weight: 600; margin: 1.8em 0 .5em; }
.prose p, .prose ul { margin: 0 0 1em; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose a { color: var(--mocha-deep); text-decoration: underline; text-underline-offset: 3px; }
.note { padding: 16px 20px; border-radius: var(--r-sm); background: var(--sand); color: var(--ink); font-size: .92rem; }

/* ---------- 12 Obrazci ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: .85rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 18px; border-radius: var(--r-sm); border: 1px solid rgba(47,42,38,.14);
  background: var(--ivory); color: var(--ink); font: inherit; transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 10 10'%3E%3Cpath d='M2 3.5 5 6.5 8 3.5' fill='none' stroke='%2357514B' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mocha-deep); box-shadow: 0 0 0 4px rgba(139,106,85,.14); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #A4483A; }
.field__error { font-size: .82rem; color: #A4483A; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--mocha-deep); }
.check a { text-decoration: underline; text-underline-offset: 3px; }
.form-msg { font-size: .92rem; min-height: 1.4em; }
.form-msg.is-ok { color: #3F6B4A; }
.form-msg.is-err { color: #A4483A; }
.subscribe__row { display: flex; gap: 8px; padding: 6px; border-radius: var(--pill); background: var(--ivory); box-shadow: var(--shadow-card); }
.subscribe__row input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 18px; font: inherit; color: var(--ink); min-height: 48px; }
.subscribe__row input:focus { outline: none; }
.subscribe__row:focus-within { box-shadow: 0 0 0 3px rgba(139,106,85,.2), var(--shadow-card); }
.subscribe .check { margin-top: 16px; }
.steps-form fieldset { border: 0; padding: 0; margin: 0 0 8px; }
.steps-form legend { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--ink); font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; }
.steps-form legend span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--mocha-deep); color: #fff; font-size: .85rem; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: block; padding: 11px 16px; border-radius: var(--pill); background: var(--ivory); box-shadow: inset 0 0 0 1px rgba(47,42,38,.14); font-size: .9rem; font-weight: 500; color: var(--ink); transition: background-color .25s, color .25s, box-shadow .25s; }
.chip input:checked + span { background: var(--mocha-deep); color: #fff; box-shadow: none; }
.chip input:focus-visible + span { outline: 2px solid var(--mocha-deep); outline-offset: 2px; }
.booking { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.booking__aside { position: sticky; top: 110px; display: grid; gap: 14px; }
.panel { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: var(--ivory); box-shadow: var(--shadow-card); }

/* ---------- 13 Noga ---------- */
.site-footer { position: relative; padding: clamp(80px, 9vw, 130px) 0 28px; overflow: hidden; background: var(--cream); color: var(--ink-soft); }
.theme-dark .site-footer { border-radius: var(--r-xl) var(--r-xl) 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 64px); }
.footer__intro p { max-width: 34ch; margin: 18px 0 26px; }
.footer__title { font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--mocha-deep); margin-bottom: 18px; }
.footer__list { display: grid; gap: 10px; }
.footer__list a { position: relative; color: var(--ink); }
.footer__list a:hover { color: var(--mocha-deep); }
.footer__contact { display: grid; gap: 14px; color: var(--ink); }
.footer__contact dt { font-size: .8rem; color: var(--mute); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(47,42,38,.16); color: var(--ink); transition: background-color .3s, color .3s, transform .4s var(--ease); }
.socials a:hover { background: var(--mocha-deep); color: #fff; transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.socials .fill { fill: currentColor; stroke: none; }
.footer__mark { display: flex; justify-content: center; margin-top: clamp(56px, 7vw, 96px); color: var(--mocha); opacity: .9; }
.footer__mark svg { width: clamp(200px, 26vw, 360px); height: auto; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 22px; margin-top: 28px; border-top: 1px solid rgba(47,42,38,.12); font-size: .84rem; color: var(--mute); }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__bottom a:hover { color: var(--ink); }

/* ---------- 14 Animacije in prehodi ---------- */
/* Začetna stanja veljajo samo, ko JS teče in gibanje ni izklopljeno */
.motion [data-reveal] { opacity: 0; transform: translateY(36px); }
.motion [data-reveal="fade"] { transform: none; }
.motion [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(14% 10% 14% 10% round var(--r-xl)); }
.motion [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .08em .26em; margin: 0 -.08em -.26em; } /* prostor za repke črk g, j, p in pisano pisavo */
.motion [data-split].is-revealed .w { overflow: visible; }
.motion [data-split] .wi { display: inline-block; }
.motion [data-split]:not(.is-split) { opacity: 0; }
.motion .statement[data-scrub] .w { opacity: .16; }

/* Prehod med stranmi (View Transitions API – Chrome, Edge, Safari 18+) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: stran-odhod .65s var(--ease-in-out) both; transform-origin: 50% 30%; }
::view-transition-new(root) { animation: stran-prihod .9s var(--ease) .1s both; transform-origin: 50% 0; }
::view-transition-group(glava) { animation-duration: .6s; }
@keyframes stran-odhod { to { opacity: 0; transform: perspective(1400px) translateZ(-160px) rotateX(5deg); filter: blur(4px); } }
@keyframes stran-prihod { from { opacity: 0; transform: perspective(1400px) translateY(80px) rotateX(-7deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .stamp { animation: none; }
  /* majhni premiki, ki jih sproži obiskovalec, ostanejo mehki (sicer so videti kot trzaj) */
  .subnav .subnav__thumb { transition-duration: .5s !important; }
  .subnav a { transition-duration: .35s !important; }
}

/* ---------- 15 Odzivnost ---------- */
@media (max-width: 1180px) {
  .nav-links > li > a, .dropdown-toggle { padding: 0 12px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1023px) {
  :root { --header-h: 66px; }
  .navbar { padding: 0 6px 0 22px; }
  .nav-links, .navbar__cta { display: none; }
  .menu-toggle { display: block; }
  .logo svg { height: 27px; }
  .site-header.is-scrolled .logo svg { height: 25px; }
  .split-head, .page-hero__grid, .spa-band__grid, .feature, .story, .contact-grid, .booking, .newsletter { grid-template-columns: 1fr; }
  .split-head .lead { justify-self: start; }
  .feature--reverse > :first-child { order: 0; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .bento > * { min-height: 400px; }
  .bento > :nth-child(1), .bento > :nth-child(2) { grid-column: 1 / -1; grid-row: auto; }
  .bento > :nth-child(1) { min-height: 520px; }
  .team-grid, .values-list { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(47,42,38,.14); }
  .svc__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
  .svc__viewport::-webkit-scrollbar { display: none; }
  .svc-card { scroll-snap-align: center; width: min(78vw, 400px); }
  .spa-deck { height: auto; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; perspective: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .spa-deck::-webkit-scrollbar { display: none; }
  .spa-deck__card { position: relative; inset: auto; flex: none; width: min(76vw, 380px); height: auto; aspect-ratio: 3 / 4; scroll-snap-align: center; }
  .service-block { grid-template-columns: 1fr; }
  .service-block:nth-of-type(even) .gallery-3 { order: 0; }
  .service-block__body { position: static; }
  .ritual { grid-template-columns: 1fr; }
  .ritual__media { display: none; }
  .ritual__steps { padding: 0; }
  .ritual-step { min-height: 0; opacity: 1; padding-block: 28px; }
  .ritual-step .media-inline { display: block; aspect-ratio: 4 / 3; margin-bottom: 22px; }
  .booking__aside { position: static; }
  .subnav { --subnav-top: 84px; }
}
@media (max-width: 760px) {
  .space-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .space-tile:nth-child(n) { grid-column: span 1; aspect-ratio: 4 / 5; }
  .space-tile:nth-child(1) { grid-column: 1 / -1; aspect-ratio: 4 / 3.4; }
  .gallery-3 { gap: 10px; }
  .spa-gallery { grid-template-columns: 1fr 1fr; }
  .spa-gallery .media:nth-child(2) { transform: none; }
  .spa-gallery .media:nth-child(3) { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .cta-banner__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .hero .btn-row .btn, .page-hero .btn-row .btn { width: 100%; justify-content: space-between; }
  .hero__foot { flex-direction: column; align-items: stretch; }
  /* telefon: kartici druga ob drugi, kompaktni (slika in naslov) */
  .hero-cards { width: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-card { gap: 10px; padding: 8px 12px 8px 8px; border-radius: 18px; }
  .hero-card .media { width: 46px; height: 46px; border-radius: 11px; }
  .hero-card__title { font-size: .86rem; line-height: 1.25; }
  .hero-card__desc, .hero-card .arrow-dot { display: none; }
  .scroll-cue { display: none; }
  .bento, .team-grid, .values-list, .mini-grid, .contact-cards, .form__row, .footer__grid { grid-template-columns: 1fr; }
  .bento > * { grid-column: auto !important; min-height: 440px; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .member h3 { font-size: 1.05rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 12px 4px 0; }
  .stat + .stat { padding-left: 12px; }
  .duo { aspect-ratio: 1 / 1.2; }
  .svc__head { flex-direction: column; align-items: flex-start; }
  .subscribe__row { flex-direction: column; border-radius: var(--r-md); }
  .subscribe__row input { min-height: 50px; }
  .subscribe__row .btn { width: 100%; }
  .newsletter__fan { height: 260px; }
  .cta-banner .btn-row .btn { width: 100%; justify-content: space-between; }
  .glass-caption { padding: 16px; }
  .footer__bottom { flex-direction: column; }
}

/* ---------- Dodatki ---------- */
.team-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .team-grid--3 { grid-template-columns: 1fr; } }
.error-page { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 60px) var(--gutter) 80px; }
.error-page .stamp { position: static; display: block; margin: 0 auto 28px; width: 120px; }
@media (max-width: 640px) {
  .hero__veil { background: linear-gradient(0deg, rgba(28,23,20,.78) 0%, rgba(28,23,20,.42) 55%, rgba(28,23,20,.5) 100%); }
}
.price-list .price-list__group { display: block; padding: 18px 0 6px; border-top: 0; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mocha-deep); }
.price-list .price-list__group + li { border-top: 0; }
.price-list li + .price-list__group { border-top: 1px solid rgba(47,42,38,.12); margin-top: 6px; }
.price-list b { text-align: right; }
/* Cenik S SPA (temna stran) */
.spa-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.theme-dark .price-list { background: var(--night-2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.theme-dark .price-list span, .theme-dark .price-list b { color: #fff; }
.theme-dark .price-list small { color: rgba(255,255,255,.55); }
.theme-dark .price-list li + li { border-top-color: rgba(255,255,255,.12); }
.theme-dark .price-list .price-list__group { color: #D9BFA9; }
@media (max-width: 760px) { .spa-prices { grid-template-columns: 1fr; } }

/* ---------- Instagram (domača stran) ---------- */
/* Šest ploščic 3:4; v vrsti na računalniku (sode malo nižje), 3 × 2 na tablici, vodoravni drsnik na telefonu.
   Ploščice napolni main.js iz vira objav (data-ig-feed); brez vira ostanejo fotografije salona. */
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(12px, 1.4vw, 20px); align-items: start; margin-top: clamp(36px, 4vw, 56px); perspective: 1400px; }
.ig-post:nth-child(even) { margin-top: 44px; }
.ig-post__link { position: relative; display: block; border-radius: var(--r-md); color: #fff; }
.ig-post__link:focus-visible { outline-offset: 4px; }
.ig-post__media { aspect-ratio: 3 / 4; border-radius: var(--r-md); }
.ig-post__media img, .ig-post__media video { width: 100%; height: 100%; object-fit: cover; }
.ig-post__media img { transition: transform 1.2s var(--ease), opacity .9s var(--ease); }
.ig-post__media video { position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity .5s var(--ease); }
.ig-post__media video.is-playing { opacity: 1; }
.ig-post__link:hover .ig-post__media img { transform: scale(1.06); }
.ig-post__badge {
  position: absolute; z-index: 3; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: var(--pill); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(28,23,20,.34); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28);
}
.ig-post__badge[hidden] { display: none; }
.ig-post__badge svg { width: 11px; height: 11px; fill: currentColor; }
.ig-post__veil {
  position: absolute; z-index: 2; inset: 0; display: flex; align-items: flex-end; padding: 16px; border-radius: inherit;
  background: linear-gradient(180deg, transparent 35%, rgba(28,23,20,.78) 100%); opacity: 0; transition: opacity .45s var(--ease);
}
.ig-post__link:focus-visible .ig-post__veil { opacity: 1; }
@media (hover: hover) { .ig-post__link:hover .ig-post__veil { opacity: 1; } }
.ig-post__caption { font-size: .84rem; line-height: 1.45; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; transform: translateY(8px); transition: transform .5s var(--ease); }
.ig-post__link:hover .ig-post__caption, .ig-post__link:focus-visible .ig-post__caption { transform: none; }
.ig__foot { display: flex; justify-content: center; margin-top: clamp(40px, 4vw, 64px); }
.ig__icon { width: 19px; height: 19px; margin-right: -4px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ig__icon .fill { fill: currentColor; stroke: none; }
@media (max-width: 1023px) {
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .ig-post:nth-child(even) { margin-top: 0; }
  .ig-post:nth-child(3n+2) { margin-top: 32px; }
}
@media (max-width: 640px) {
  .ig-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 64%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; scrollbar-width: none; padding-bottom: 4px; }
  .ig-grid::-webkit-scrollbar { display: none; }
  .ig-post { scroll-snap-align: start; }
  .ig-post:nth-child(n) { margin-top: 0; }
  .ig__foot .btn { width: 100%; }
}

/* ---------- Darilni bon: 3D kartica (_deli/darilni-bon.html) ---------- */
/* Velikosti besedila v cqw (širina kartice), da se bon pomanjša kot prava tiskovina. */
.gift { position: relative; margin: 0; display: grid; justify-items: center; gap: clamp(26px, 3vw, 40px); }
.gift__stage { position: relative; width: min(100%, 580px); perspective: 1700px; container-type: inline-size; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.gift__card {
  --rx: 0deg; --ry: 0deg; --flip: 0deg;
  position: relative; aspect-ratio: 2.1 / 1; transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(calc(var(--ry) + var(--flip)));
  transition: transform 1s cubic-bezier(.2, .8, .2, 1);
}
.gift.is-flipped .gift__card { --flip: 180deg; }
.gift__face {
  position: absolute; inset: 0; overflow: hidden; border-radius: 1.6cqw;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 30px 60px -30px rgba(28,23,20,.55), 0 12px 24px -14px rgba(28,23,20,.35);
}
.gift__face--front { display: grid; place-items: center; background: radial-gradient(130% 150% at 18% 0%, #3B2F3A 0%, #231B24 46%, #161118 100%); }
.gift__logo { width: 72%; height: auto; filter: drop-shadow(0 1px 0 rgba(0,0,0,.35)); }
.gift__logo path { fill: url(#bon-zlato); }
.gift__face--back { transform: rotateY(180deg); color: #3B3236; background: linear-gradient(140deg, #F8F1EC 0%, #F1E6DF 60%, #ECDFD7 100%); }
.gift__watermark { position: absolute; left: 53%; top: 10%; width: 15%; height: auto; opacity: .08; }
.gift__spark { position: absolute; height: auto; color: #D8C2BA; }
.gift__spark--a { left: 7%; top: 10%; width: 15%; }
.gift__spark--b { right: 5%; bottom: 10%; width: 6%; }
.gift__body { position: absolute; inset: 15% 6% 7% 25%; display: flex; flex-direction: column; align-items: center; }
.gift__title { font-family: var(--serif); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; font-size: 5.4cqw; line-height: 1; color: #2F2A2C; }
.gift__line { width: 100%; height: 1px; margin: 9cqw 0 3.2cqw; background: currentColor; opacity: .55; }
.gift__fields { display: flex; gap: 12cqw; padding: 1.2cqw 3.6cqw; border: 1px solid rgba(59,50,54,.5); border-radius: 99px; font-size: 2.3cqw; font-weight: 500; }
.gift__terms { margin-top: 2.4cqw; font-size: 1.55cqw; font-style: italic; text-align: center; color: #574D50; }
.gift__addr { margin-top: .6cqw; font-size: 1.4cqw; text-align: center; color: #6E6366; }
.gift__sheen {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: .55;
  background: linear-gradient(115deg, transparent 32%, rgba(255,240,205,.45) 47%, transparent 62%) no-repeat;
  background-size: 260% 100%; background-position: var(--sx, 30%) 0; transition: background-position .9s cubic-bezier(.2, .8, .2, 1);
}
.gift__face--back .gift__sheen { opacity: .35; }
.gift__shadow { position: absolute; z-index: -1; left: 10%; right: 10%; bottom: -12%; height: 20%; border-radius: 50%; background: radial-gradient(closest-side, rgba(47,42,38,.28), transparent); filter: blur(10px); }
.motion .gift__stage { animation: gift-plava 7s ease-in-out infinite; }
@keyframes gift-plava { 50% { transform: translateY(-12px); } }
html:not(.motion) .gift__card, html:not(.motion) .gift__sheen { transition-duration: .01s; }
.gift__flip {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 20px 0 16px; border-radius: var(--pill);
  font-size: .9rem; font-weight: 600; color: var(--ink); background: rgba(255,255,255,.55); box-shadow: inset 0 0 0 1px rgba(47,42,38,.16);
  transition: background-color .3s, box-shadow .3s;
}
.gift__flip:hover { background: #fff; box-shadow: inset 0 0 0 1px rgba(47,42,38,.3); }
.gift__flip svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .8s var(--ease); }
.gift.is-flipped .gift__flip svg { transform: rotate(180deg); }

/* Domača stran: napovednik darilnih bonov */
.gift-teaser { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.gift-teaser .gift__stage { width: min(100%, 620px); }
.gift-facts { display: grid; gap: 12px; margin: 28px 0 34px; }
.gift-facts li { display: flex; align-items: baseline; gap: 12px; color: var(--ink-soft); }
.gift-facts svg { flex: none; width: 13px; height: 13px; color: var(--mocha); transform: translateY(1px); }

/* Stran Darilni boni */
.gift-show { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.gift-terms { display: grid; gap: 0; margin-top: 30px; border-top: 1px solid rgba(47,42,38,.12); }
.gift-terms div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid rgba(47,42,38,.12); }
.gift-terms dt { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mocha-deep); padding-top: 3px; }
.gift-terms dd { color: var(--ink); }
.gift-ideas { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.gift-ideas .svc-card { width: auto; }
.gift-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.gift-step { padding: clamp(26px, 2.6vw, 36px); border-radius: var(--r-lg); background: var(--ivory); box-shadow: var(--shadow-card); }
.gift-step__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; border-radius: 50%; background: var(--sand); color: var(--mocha-deep); }
.gift-step__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.gift-step h3 { margin-bottom: 10px; color: var(--ink); font-size: 1.15rem; font-weight: 600; }
.gift-step p { font-size: .95rem; }
@media (max-width: 1023px) {
  .gift-teaser, .gift-show { grid-template-columns: 1fr; }
  .gift-teaser .gift { order: -1; }
  .gift-ideas, .gift-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .gift-ideas, .gift-steps, .gift-terms div { grid-template-columns: 1fr; }
  .gift-terms div { gap: 4px; }
  .gift-ideas .svc-card { aspect-ratio: 4 / 4.4; }
}

/* ---------- Rezervacija: vstavljeno spletno naročanje (Lime Booking) ---------- */
.page-hero--tight { padding-bottom: clamp(28px, 4vw, 48px); }
.booking-frame {
  position: relative; height: min(900px, calc(100svh - 130px)); min-height: 620px;
  border-radius: var(--r-xl); overflow: hidden; background: #fff; box-shadow: var(--shadow-card);
}
.booking-frame iframe { position: relative; z-index: 1; display: block; width: 100%; height: 100%; border: 0; }
.booking-frame__loading { /* vidi se, dokler se obrazec ne naloži (obrazec ga prekrije) */
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px;
  color: var(--mute); font-size: .9rem; font-weight: 500;
}
.booking-frame__loading span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--linen); border-top-color: var(--mocha-deep); animation: nalagam 1s linear infinite; }
@keyframes nalagam { to { transform: rotate(360deg); } }
.booking-frame__alt { margin-top: 16px; text-align: center; font-size: .9rem; color: var(--mute); }
.booking-frame__alt a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .booking-frame { height: calc(100svh - 110px); min-height: 560px; border-radius: var(--r-lg); margin-inline: calc(var(--gutter) * -.5); }
}

/* ---------- Akcije (WordPress: meni Akcije) ---------- */
/* Kartica v uvodu domače strani */
.hero-card--promo .media { position: relative; }
.promo-chip { position: absolute; left: 5px; bottom: 5px; padding: 3px 7px; border-radius: var(--pill); background: var(--mocha-deep); color: #fff; font-size: .66rem; font-weight: 700; letter-spacing: .02em; line-height: 1.3; }
@media (max-width: 640px) { .hero-card--promo { grid-column: 1 / -1; } }
/* Pas pod uvodom */
.promo-band {
  position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(24px, 4vw, 64px);
  padding: clamp(12px, 1.4vw, 18px); border-radius: var(--r-xl); background: var(--ivory); color: inherit; box-shadow: var(--shadow-card);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.promo-band:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 30px 60px -30px rgba(58,48,42,.45); }
.promo-band__media { aspect-ratio: 16 / 11; border-radius: calc(var(--r-xl) - 10px); }
.promo-band__media img { transition: transform 1.4s var(--ease); }
.promo-band:hover .promo-band__media img { transform: scale(1.05); }
.promo-badge {
  position: absolute; z-index: 2; top: 16px; left: 16px; display: grid; place-items: center; min-width: 86px; height: 86px; padding: 0 14px;
  border-radius: 50%; background: var(--mocha-deep); color: #fff; font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; text-align: center;
  box-shadow: 0 16px 32px -16px rgba(0,0,0,.55);
}
.promo-band__body { padding: clamp(6px, 2vw, 28px) clamp(6px, 2.4vw, 40px) clamp(6px, 2vw, 28px) 0; }
.promo-band__body .h2 { margin: 16px 0 14px; }
.promo-band__body .lead { margin-bottom: 26px; }
.promo-date { display: inline-flex; align-items: center; gap: 8px; color: var(--mocha-deep); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.promo-date svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
@media (max-width: 860px) {
  .promo-band { grid-template-columns: 1fr; }
  .promo-band__body { padding: 4px 10px 14px; }
  .promo-badge { min-width: 70px; height: 70px; font-size: 1rem; }
}
/* Pristajalna stran akcije */
.promo-hero .page-hero__media { position: relative; }
.promo-ended { display: inline-block; margin-top: 18px; padding: 10px 16px; border-radius: var(--pill); background: var(--sand); color: var(--ink); font-size: .9rem; font-weight: 500; }

/* Kartice v uvodu na širokih zaslonih rastejo navzgor ob besedilu (tretja kartica – akcija – ne podaljša uvoda) */
@media (min-width: 1280px) {
  .hero__foot { position: relative; }
  .hero-cards { position: absolute; right: 0; bottom: 0; }
}

/* ---------- Naša nega: KEMON in Actyva (kemon.html) ---------- */
.velian-media { aspect-ratio: 4 / 5; background: #fff; }
.velian-media img { object-fit: contain; }
.plants { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.plants li { display: grid; gap: 2px; padding: 18px 20px; border-radius: var(--r-md); background: var(--ivory); box-shadow: var(--shadow-card); }
.plants__ime { color: var(--ink); font-weight: 600; }
.plants__lat { font-family: var(--serif); font-style: italic; font-size: .98rem; color: var(--mute); }
.plants__ucinek { margin-top: 6px; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mocha-deep); }

/* Prerez lasu: poškodovan -> Bond Creator -> zdrav */
.hair-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 36px); }
.hair-step { position: relative; padding: clamp(18px, 2vw, 26px); border-radius: var(--r-lg); background: rgba(255,255,255,.55); text-align: center; }
.hair-step--focus { background: var(--ivory); box-shadow: var(--shadow-card); }
.hair-step__img { display: block; height: clamp(200px, 22vw, 300px); margin-bottom: 18px; }
.hair-step__img img { display: block; width: auto; height: 100%; max-width: 100%; margin: 0 auto; object-fit: contain; mix-blend-mode: multiply; }
.hair-step h3 { margin-bottom: 8px; color: var(--ink); font-size: 1.15rem; font-weight: 600; }
.hair-step p { font-size: .95rem; max-width: 30ch; margin-inline: auto; }
.hair-step + .hair-step::before { /* puščica med koraki */
  content: ""; position: absolute; top: calc(clamp(18px, 2vw, 26px) + clamp(100px, 11vw, 150px)); left: calc(clamp(16px, 2.4vw, 36px) / -2 - 9px);
  width: 18px; height: 18px; border-top: 1.6px solid var(--mocha); border-right: 1.6px solid var(--mocha); transform: rotate(45deg);
}
.tech-cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); margin-top: clamp(40px, 5vw, 72px); }
.tech-card { display: grid; grid-template-columns: .8fr 1.2fr; overflow: hidden; border-radius: var(--r-lg); background: var(--ivory); box-shadow: var(--shadow-card); }
.tech-card__img { height: 100%; min-height: 260px; border-radius: 0; }
.tech-card__body { padding: clamp(22px, 2.4vw, 34px); }
.tech-card__body .h3 { margin: 14px 0 10px; }
.tech-card__body p { font-size: .95rem; }

/* Temni pas z barvami */
.duo--dark .duo__b { outline-color: var(--night); }

/* Shine & Smooth */
.shine-media { aspect-ratio: 16 / 12; }
.product-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 24px); margin-top: clamp(40px, 5vw, 72px); }
.product-card { padding: 12px 12px 22px; border-radius: var(--r-lg); background: var(--ivory); box-shadow: var(--shadow-card); }
.product-card__img { aspect-ratio: 4 / 4.6; border-radius: calc(var(--r-lg) - 6px); margin-bottom: 18px; }
.product-card h3 { margin: 0 10px 6px; color: var(--ink); font-size: 1.08rem; font-weight: 600; }
.product-card p { margin: 0 10px; font-size: .93rem; }
.product-card__meta { display: block; margin: 14px 10px 0; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mocha-deep); }

/* Actyva za domov */
.duo-wide { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 20px); margin-bottom: clamp(28px, 3.4vw, 48px); }
.duo-wide .media { aspect-ratio: 16 / 11; }
.line-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.line-card { display: flex; flex-direction: column; padding: 22px 22px 24px; border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-card); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.line-card:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 26px 50px -28px rgba(58,48,42,.45); }
.line-card__tag { align-self: flex-start; padding: 6px 11px; border-radius: var(--pill); background: var(--sand); color: var(--mocha-deep); font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.line-card h3 { margin: 16px 0 8px; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.55rem; letter-spacing: -.01em; color: var(--ink); }
.line-card p { font-size: .92rem; }
.gift-steps--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1023px) {
  .line-grid, .gift-steps--4 { grid-template-columns: 1fr 1fr; }
  .tech-cards { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hair-steps, .product-trio { grid-template-columns: 1fr; }
  .hair-step + .hair-step::before { top: calc(clamp(16px, 2.4vw, 36px) / -2 - 14px); left: calc(50% - 9px); transform: rotate(135deg); }
  .hair-step__img { height: 220px; }
  .tech-card { grid-template-columns: 1fr; }
  .tech-card__img { min-height: 0; aspect-ratio: 16 / 10; }
  .duo-wide { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .plants, .line-grid, .gift-steps--4 { grid-template-columns: 1fr; }
}

/* ---------- Izbira jezika (SL / EN / DE) ---------- */
.lang { position: relative; flex: none; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px; border-radius: var(--pill);
  color: inherit; font-size: .8rem; font-weight: 700; letter-spacing: .08em; opacity: .92; transition: opacity .3s, background-color .3s;
}
.lang__btn:hover, .lang.is-open .lang__btn { opacity: 1; background: rgba(255,255,255,.16); }
.site-header.is-scrolled .lang__btn:hover, .site-header.on-light .lang__btn:hover,
.site-header.is-scrolled .lang.is-open .lang__btn, .site-header.on-light .lang.is-open .lang__btn { background: rgba(139,106,85,.1); }
.lang__btn svg { width: 10px; height: 10px; transition: transform .4s var(--ease); }
.lang.is-open .lang__btn svg { transform: rotate(180deg); }
.lang__list {
  position: absolute; top: calc(100% + 14px); right: 0; min-width: 190px; padding: 8px; border-radius: 18px;
  --lg-tint: rgba(251, 250, 245, .82); --lg-rim: rgba(255,255,255,.95); color: var(--ink);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.97); transform-origin: top right;
  transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s .4s;
}
.lang.is-open .lang__list { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.lang__list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 12px; font-size: .92rem; font-weight: 500; transition: background-color .25s; }
.lang__list a:hover, .lang__list a:focus-visible { background: rgba(139,106,85,.1); }
.lang__list a[aria-current]::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mocha-deep); }
.lang-row { display: flex; gap: 8px; }
.mobile-menu .lang-row a, .lang-row a { display: inline-flex; align-items: center; gap: 0; min-height: 40px; padding: 0 16px; line-height: 1; color: var(--ink); border-radius: var(--pill); border: 1px solid rgba(47,42,38,.16); font-size: .82rem; font-weight: 700; letter-spacing: .08em; }
.mobile-menu .lang-row a[aria-current], .lang-row a[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
@media (max-width: 1023px) { .navbar .lang { display: none; } }
@media (min-width: 1024px) and (max-width: 1180px) { .lang__btn { padding: 0 8px; } }

/* ---------- Izbira jezika v nogi ---------- */
.lang-foot { display: inline-flex; align-items: center; gap: 10px; }
.lang-foot svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.lang-foot ul { display: flex; flex-wrap: wrap; gap: 4px 2px; }
.lang-foot a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border-radius: var(--pill); transition: background-color .25s, color .25s; }
.lang-foot a:hover { color: var(--ink); background: rgba(139,106,85,.08); }
.lang-foot a[aria-current] { color: var(--ink); font-weight: 600; background: rgba(139,106,85,.12); }
@media (max-width: 760px) { .lang-foot a { min-height: 44px; } }

/* ---------- KEMON za domov: zavihki, filter potreb, kartice linij, okna, Yo Cond ---------- */
.page-flow > .subnav { margin-bottom: 0; }
.ktabs { margin-top: clamp(36px, 4.5vw, 64px); }
.ktabs__bar { display: flex; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto clamp(28px, 3.5vw, 48px); padding: 5px; border-radius: var(--pill); background: var(--sand); overflow-x: auto; scrollbar-width: none; }
.ktabs__bar::-webkit-scrollbar { display: none; }
.ktabs__tab { flex: none; min-height: 46px; padding: 0 22px; border-radius: var(--pill); font: inherit; font-size: .92rem; font-weight: 600; color: var(--ink-soft); background: transparent; border: 0; cursor: pointer; transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease); white-space: nowrap; }
.ktabs__tab:hover { color: var(--ink); }
.ktabs__tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 8px 20px -14px rgba(47,42,38,.5); }
.ktabs__panel:focus-visible { outline: 2px solid var(--mocha-deep); outline-offset: 8px; border-radius: var(--r-md); }
.ktabs__panel[hidden] { display: none; }
.js .ktabs__panel.is-in { animation: kpanel .6s var(--ease); }
@keyframes kpanel { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.kintro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(22px, 3.5vw, 56px); align-items: center; margin-bottom: clamp(32px, 4vw, 56px); }
.kintro__img { aspect-ratio: 1 / .96; border-radius: var(--r-lg); background: #fff; }
.kintro__title { margin: 0 0 14px; font-size: clamp(1.45rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.kintro__title em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--mocha-deep); font-size: 1.12em; }
.kfacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.kfacts li { padding: 16px 16px 14px; border-radius: var(--r-sm); background: var(--ivory); box-shadow: var(--shadow-card); font-size: .84rem; line-height: 1.35; }
.kfacts strong { display: block; margin-bottom: 4px; font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }

.kfilter { display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; margin-bottom: 22px; }
.kfilter__label { margin: 0; font-size: .9rem; font-weight: 600; color: var(--ink); }
.kfilter__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.kchip { min-height: 40px; padding: 0 16px; border-radius: var(--pill); border: 1px solid rgba(47,42,38,.16); background: transparent; font: inherit; font-size: .86rem; font-weight: 500; color: var(--ink-soft); cursor: pointer; transition: background-color .3s, border-color .3s, color .3s; }
.kchip:hover { border-color: var(--mocha); color: var(--ink); }
.kchip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }

.klines { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); }
.kline, .kgroup { position: relative; display: flex; flex-direction: column; padding: 10px 10px 20px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-card); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.kline[hidden] { display: none; }
.kline:hover, .kgroup:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 30px 60px -30px rgba(58,48,42,.5); }
.kline__img { aspect-ratio: 1 / 1; border-radius: calc(var(--r-lg) - 6px); background: color-mix(in srgb, var(--k, var(--sand)) 22%, #fff); margin-bottom: 16px; }
.kline__img img { object-fit: contain; padding: 8% 6% 4%; mix-blend-mode: multiply; transition: transform 1s var(--ease), opacity .9s var(--ease); }
.kline:hover .kline__img img { transform: scale(1.04); }
.kline__tag { align-self: flex-start; margin: 0 10px 10px; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mocha-deep); }
.kline h3, .kgroup h3 { margin: 0 10px 6px; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.6rem; letter-spacing: -.01em; line-height: 1.1; color: var(--ink); }
.kline > p:not(.kline__tag), .kgroup > p:not(.kline__tag) { margin: 0 10px; font-size: .9rem; line-height: 1.5; }
.kline__more { align-self: flex-start; margin: auto 10px 0; padding: 16px 0 0; display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: .86rem; font-weight: 600; color: var(--mocha-deep); background: none; border: 0; cursor: pointer; }
.kline__more::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* cela kartica je klikljiva */
.kline__more::before { content: "\2192"; order: 2; transition: transform .4s var(--ease); }
.kline:hover .kline__more::before, .kgroup:hover .kline__more::before { transform: translateX(4px); }
.kline__more:focus-visible { outline: none; }
.kline:has(.kline__more:focus-visible), .kgroup:has(.kline__more:focus-visible) { outline: 2px solid var(--mocha-deep); outline-offset: 3px; }

/* Styling: temna plošča kot v katalogu */
.kstyle { padding: clamp(18px, 3vw, 44px); border-radius: var(--r-xl); background: var(--night); color: rgba(255,255,255,.74); }
.kintro--dark .kintro__img { background: #0d0b0a; }
.kintro--dark .kintro__title { color: #fff; }
.kintro--dark .kfacts li { background: rgba(255,255,255,.06); box-shadow: none; color: rgba(255,255,255,.7); }
.kintro--dark .kfacts strong { color: #fff; }
.kgroups { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.kgroup { background: var(--night-2); box-shadow: none; }
.kgroup:hover { box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.kgroup__img { aspect-ratio: 4 / 5; border-radius: calc(var(--r-lg) - 6px); margin-bottom: 16px; background: #0d0b0a; }
.kgroup .kline__tag { color: var(--taupe); }
.kgroup h3 { color: #fff; font-size: 1.35rem; }
.kgroup > p:not(.kline__tag) { color: rgba(255,255,255,.62); font-size: .84rem; }
.kgroup .kline__more { color: #fff; }

/* Okno s podrobnostmi */
.kdialog { width: min(760px, calc(100% - 24px)); max-height: min(88svh, 900px); margin: auto; padding: 0; border: 0; border-radius: var(--r-xl); background: var(--cream); color: var(--ink-soft); box-shadow: 0 40px 120px -40px rgba(0,0,0,.6); overflow: auto; overscroll-behavior: contain; }
.kdialog::backdrop { background: rgba(28,23,20,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.kdialog[open] { animation: kdlg .5s var(--ease); }
@keyframes kdlg { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.kdialog__in { position: relative; padding: clamp(20px, 3.5vw, 40px); }
.kdialog__x { position: sticky; top: 0; float: right; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; margin: -6px -6px 0 12px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); cursor: pointer; box-shadow: 0 8px 20px -12px rgba(0,0,0,.4); }
.kdialog__x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.kdialog__head { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(18px, 3vw, 32px); align-items: start; margin-bottom: 28px; }
.kdialog__img { aspect-ratio: 1 / 1.1; border-radius: var(--r-md); background: color-mix(in srgb, var(--k, var(--sand)) 22%, #fff); }
.kdialog__img img { object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.kdialog__img--photo img { object-fit: cover; padding: 0; mix-blend-mode: normal; }
.kdialog__head .kline__tag { margin: 4px 0 10px; display: block; }
.kdialog__head h3 { margin: 0 0 12px; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.9rem, 3.4vw, 2.5rem); line-height: 1.05; color: var(--ink); }
.kdialog__head p { font-size: .95rem; }
.kdialog__key { margin-top: 12px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--sand); font-size: .9rem !important; }
.kdialog__key strong, .kprod__use strong, .kprod__tip strong { color: var(--ink); font-weight: 600; }
.kprod { display: grid; gap: 12px; }
.kprod li { padding: 18px 20px; border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-card); }
.kprod h4 { margin: 0; font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.kprod__meta { margin: 2px 0 8px; font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: var(--mocha-deep); }
.kprod p { font-size: .92rem; line-height: 1.55; }
.kprod__use, .kprod__tip { margin-top: 8px; }
.kprod__tip { padding-left: 12px; border-left: 2px solid var(--mocha); }
.kdialog__foot { margin-top: 22px; font-size: .9rem; }
.kdialog__foot a { font-weight: 600; color: var(--mocha-deep); text-decoration: underline; text-underline-offset: 3px; }
.kdialog--dark { background: var(--night); color: rgba(255,255,255,.72); }
.kdialog--dark .kdialog__head h3, .kdialog--dark .kprod h4 { color: #fff; }
.kdialog--dark .kline__tag, .kdialog--dark .kprod__meta { color: var(--taupe); }
.kdialog--dark .kprod li { background: var(--night-2); box-shadow: none; }
.kdialog--dark .kprod__use strong, .kdialog--dark .kprod__tip strong { color: #fff; }
.kdialog--dark .kdialog__foot a { color: #fff; }
.kdialog--dark .kdialog__x { background: var(--night-2); color: #fff; }
html:has(.kdialog[open]) { overflow: hidden; }

/* Yo Cond */
.yo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.yo__stage { position: sticky; top: 150px; aspect-ratio: 4 / 4.9; }
.yo__photo { position: absolute; inset: 0; border-radius: var(--r-xl); }
.yo__photo[hidden] { display: none; }
.yo__photo:not([hidden]) { animation: yofade .6s var(--ease); }
@keyframes yofade { from { opacity: 0; transform: scale(1.02); } to { opacity: 1; transform: none; } }
.yo__body > p { font-size: 1rem; }
.yo__picker { margin: 26px 0 0; padding: 0; border: 0; min-width: 0; }
.yo__picker legend { margin-bottom: 14px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.yo__swatches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px 8px; }
.yo-sw { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; text-align: center; }
.yo-sw input { position: absolute; top: 0; left: 50%; opacity: 0; width: 1px; height: 1px; }
.yo-sw__dot { position: relative; display: block; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--linen); box-shadow: 0 0 0 2px var(--cream), 0 0 0 3px rgba(47,42,38,.1); transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.yo-sw__dot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.yo-sw:hover .yo-sw__dot { transform: scale(1.06); }
.yo-sw input:checked + .yo-sw__dot { box-shadow: 0 0 0 3px var(--cream), 0 0 0 5px var(--mocha-deep); }
.yo-sw input:focus-visible + .yo-sw__dot { outline: 2px solid var(--mocha-deep); outline-offset: 6px; }
.yo-sw.is-new::after { content: ""; position: absolute; top: 2px; left: calc(50% + 18px); width: 10px; height: 10px; border-radius: 50%; background: var(--mocha-deep); box-shadow: 0 0 0 2px var(--cream); }
.yo-sw__name { font-size: .76rem; font-weight: 500; line-height: 1.2; color: var(--ink-soft); }
.yo-sw input:checked ~ .yo-sw__name { color: var(--ink); font-weight: 600; }
.yo__info { margin-top: 26px; padding: 20px 22px; border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-card); min-height: 150px; }
.yo__info h4 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 8px; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.6rem; color: var(--ink); }
.yo__new { font-family: var(--font); font-style: normal; font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: var(--pill); background: var(--sand); color: var(--mocha-deep); }
.yo__lvl { margin-top: 10px; font-size: .86rem; font-weight: 600; color: var(--mocha-deep); }
.yo__legend { margin-top: 14px; font-size: .84rem; color: var(--mute); }
.kstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: clamp(36px, 4.5vw, 64px) 0; }
.kstats li { padding: 22px 20px; border-radius: var(--r-md); background: var(--sand); }
.kstats strong { display: block; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 600; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
.kstats span { font-size: .86rem; }
.yo-more { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.yo-steps { counter-reset: k; display: grid; gap: 10px; margin: 0 0 16px; }
.yo-steps li { counter-increment: k; display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--r-sm); background: #fff; box-shadow: var(--shadow-card); font-size: .94rem; }
.yo-steps li::before { content: counter(k); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--mocha-deep); color: #fff; font-size: .85rem; font-weight: 600; }
.yo-clear { padding: 10px 10px 22px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-card); }
.yo-clear__img { aspect-ratio: 4 / 3.4; border-radius: calc(var(--r-lg) - 6px); margin-bottom: 16px; }
.yo-clear h4, .yo-clear p { margin-inline: 10px; }
.yo-clear h4 { margin-top: 0; margin-bottom: 8px; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.5rem; color: var(--ink); }
.yo-clear p { font-size: .92rem; }
.yo-faq { max-width: 820px; margin: clamp(40px, 5vw, 72px) auto 0; }
.yo-faq details { border-bottom: 1px solid rgba(47,42,38,.12); }
.yo-faq summary { position: relative; display: block; padding: 18px 44px 18px 0; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.yo-faq summary::-webkit-details-marker { display: none; }
.yo-faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .35s var(--ease); }
.yo-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.yo-faq details p { padding: 0 0 18px; }
.kcta { display: flex; align-items: center; justify-content: space-between; gap: 20px 36px; flex-wrap: wrap; margin-top: clamp(44px, 5vw, 72px); padding: clamp(22px, 3vw, 36px); border-radius: var(--r-xl); background: var(--sand); }
.kcta > p { max-width: 560px; font-size: 1.12rem; font-weight: 500; color: var(--ink); }

@media (max-width: 1180px) { .kgroups { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1023px) {
  .klines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yo { grid-template-columns: 1fr; }
  .yo__stage { position: relative; top: 0; max-width: 520px; width: 100%; margin: 0 auto; aspect-ratio: 4 / 4.4; }
  .yo-more { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .kintro { grid-template-columns: 1fr; }
  .kfacts { gap: 8px; }
  .kfacts li { padding: 12px 10px; font-size: .76rem; }
  .kfacts strong { font-size: 1.05rem; }
  .kgroups { grid-template-columns: 1fr 1fr; }
  .kstats { grid-template-columns: 1fr 1fr; }
  .kdialog { width: 100%; max-width: none; max-height: 92svh; margin: auto 0 0; border-radius: var(--r-xl) var(--r-xl) 0 0; }
  .kdialog__head { grid-template-columns: 1fr; }
  .kdialog__img { width: min(220px, 60%); }
  .kfilter__chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter); scrollbar-width: none; }
  .kfilter__chips::-webkit-scrollbar { display: none; }
  .kchip { flex: none; min-height: 44px; }
  .yo__swatches { gap: 14px 4px; }
}
@media (max-width: 520px) {
  .klines { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kline { padding: 8px 8px 16px; }
  .kline h3 { font-size: 1.3rem; margin-inline: 6px; }
  .kline__tag, .kline > p:not(.kline__tag), .kline__more { margin-inline: 6px; }
  .kline > p:not(.kline__tag) { font-size: .84rem; }
  .kgroups { gap: 10px; }
  .kgroup { padding: 8px 8px 16px; }
  .kgroup h3 { font-size: 1.15rem; margin-inline: 6px; }
  .kgroup > p:not(.kline__tag), .kgroup .kline__tag, .kgroup .kline__more { margin-inline: 6px; }
  .yo-sw__dot { width: 50px; height: 50px; }
  .ktabs__tab { padding: 0 16px; font-size: .86rem; }
}
@media (prefers-reduced-motion: reduce) {
  .js .ktabs__panel.is-in, .kdialog[open], .yo__photo:not([hidden]) { animation: none; }
}
.kline--wide { grid-column: span 2; }
.kline--wide .kline__img { aspect-ratio: auto; flex: 1; min-height: 220px; }
.kline--wide .kline__img img { object-fit: cover; padding: 0; mix-blend-mode: normal; }
.ktabs__panel:target { outline: none; }
/* Yo Cond na telefonu/tablici: fotografija odtenka takoj pod izbirnikom, da se menjava vidi */
@media (max-width: 1023px) {
  .yo { gap: 0; }
  .yo__body { display: contents; }
  .yo__body > * { order: 1; }
  .yo__picker { order: 2; }
  .yo__stage { order: 3; margin-top: 22px; aspect-ratio: 4 / 3.8; }
  .yo__photo img { object-position: 50% 30%; }
  .yo__info { order: 4; margin-top: -40px; position: relative; z-index: 1; margin-inline: 12px; }
  .yo__legend { order: 5; }
}

/* Glavni meni na sredini glave (računalnik) */
/* Mreža s tremi stolpci: logotip | meni | gumb. Meni je na sredini, dokler je prostor, nikoli se ne prelomi ali prekrije gumba. */
@media (min-width: 1024px) {
  .navbar { display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); }
  .logo { margin-right: 0; justify-self: start; }
  .nav-links { justify-self: center; flex-wrap: nowrap; white-space: nowrap; }
  .navbar__cta { justify-self: end; margin-left: 0; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .navbar { gap: 8px; padding-left: 22px; }
  .nav-links > li > a { padding: 0 11px; }
  .nav-links > .has-dropdown > a { padding-right: 2px; }
  .nav-links .dropdown-toggle { padding: 0 8px 0 2px; }
}
@media (min-width: 1024px) and (max-width: 1179px) {
  .nav-links > li > a { padding: 0 8px; font-size: .85rem; }
  .nav-links > .has-dropdown > a { padding-right: 2px; }
  .navbar__cta { font-size: .86rem; }
}
