/* ==========================================================================
   Gostilna Potok — main design system
   Warm cream, one wine accent, San Francisco type. Thin rules over heavy
   shadows; springs (in JS) for anything the pointer touches.
   ========================================================================== */

:root {
  --bg: #fbf8f2;
  --bg-alt: #f4efe6;
  --paper: #fffdf9;
  --surface: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #5f5c57;
  --ink-3: #8a867e;
  --line: rgba(60, 45, 25, 0.12);
  --line-strong: rgba(60, 45, 25, 0.2);
  --wine: #8a1f3d;
  --wine-press: #711733;
  --wine-soft: rgba(138, 31, 61, 0.08);
  --open: #2e9b55;
  --max: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --sect: clamp(72px, 9vw, 112px);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, "Helvetica Neue", Arial, sans-serif;
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  --settle: cubic-bezier(0.16, 1, 0.3, 1);
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --card: 0 1px 2px rgba(60, 40, 15, 0.05), 0 16px 30px -22px rgba(60, 40, 15, 0.28);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { font: 100%/1.5 var(--sans); -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); letter-spacing: -0.011em; overflow-x: hidden; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 3px solid rgba(138, 31, 61, 0.45); outline-offset: 3px; border-radius: 8px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Type ---------- */

.h2 { font-family: var(--display); font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 600; line-height: 1.06; letter-spacing: -0.03em; }
.kicker {
  display: flex; align-items: center; gap: 0.45rem;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
}
.kicker::before { content: ""; width: 56px; height: 1px; background: var(--wine); opacity: 0.6; margin-right: 0.6rem; }
.kicker b { color: var(--wine); font-weight: 600; }
.kicker span { opacity: 0.6; }

/* ---------- Controls ---------- */

.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 46px; padding: 0 24px; border-radius: 980px;
  background: var(--wine); color: #fff; font-size: 1rem; font-weight: 500;
  box-shadow: 0 10px 24px -12px rgba(138, 31, 61, 0.65);
  transition: transform 100ms ease-out, background-color 160ms var(--ease), box-shadow 250ms var(--ease);
}
.pill:hover { background: var(--wine-press); }
.pill:active { transform: scale(0.96); }
.pill--sm { min-height: 44px; padding: 0 22px; font-size: 0.92rem; }
.pill--lg { min-height: 58px; padding: 0 32px; font-size: 1.06rem; }
.arr { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform 300ms var(--settle); }
.pill:hover .arr { transform: translateX(3px); }

.more { display: inline-flex; align-items: center; gap: 0.35em; color: var(--wine); font-size: 1.06rem; font-weight: 500; }
.more::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 1.6px 1.6px 0 0; transform: rotate(45deg); transition: transform 300ms var(--settle); }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }
.more:hover::after { transform: translateX(3px) rotate(45deg); }

/* ---------- Menu bar ---------- */

.bar {
  position: fixed; inset: 0 0 auto; z-index: 60;
  background: rgba(251, 248, 242, 0.96); /* solid: a live blur here is recomputed on every scroll frame */
}
.bar::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--line); opacity: 0; transition: opacity 300ms var(--ease); }
.bar.is-scrolled::after { opacity: 1; }
.bar__inner { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; height: 76px; padding: 0 var(--gutter); display: flex; align-items: center; gap: 2.4rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; font-size: 1.18rem; font-weight: 500; letter-spacing: -0.02em; margin-right: auto; }
.brand__mark { width: 30px; height: 30px; }
.bar__links { display: flex; gap: 2.4rem; }
.bar__links a { font-size: 0.9rem; color: var(--ink); opacity: 0.85; transition: opacity 160ms var(--ease); }
.bar__links a:hover { opacity: 1; }
.bar__cta { margin-left: 0.4rem; }
.bar__toggle {
  width: 50px; height: 50px; margin-left: -0.8rem; border: 0; border-radius: 50%;
  background: var(--surface); box-shadow: 0 6px 18px -10px rgba(60, 40, 15, 0.35);
  position: relative; cursor: pointer; transition: transform 100ms ease-out;
}
.bar__toggle:active { transform: scale(0.94); }
.bar__toggle span { position: absolute; left: 15px; right: 15px; top: 50%; height: 1.6px; border-radius: 2px; background: var(--ink); transition: transform 420ms var(--settle); }
.bar__toggle span:first-child { transform: translateY(-4px); }
.bar__toggle span:last-child { transform: translateY(4px); }
.menu-open .bar__toggle span:first-child { transform: rotate(45deg); }
.menu-open .bar__toggle span:last-child { transform: rotate(-45deg); }

/* Menu sheet grows out of the round button it belongs to (anchored origin) */
.sheet {
  position: fixed; z-index: 59; top: 84px; right: max(var(--gutter), calc((100vw - var(--max)) / 2));
  width: min(340px, calc(100vw - 2 * var(--gutter)));
  display: flex; flex-direction: column; gap: 0.1rem;
  padding: 1.2rem 1.6rem 1.6rem; border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 30px 60px -30px rgba(40, 25, 10, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  transform-origin: calc(100% - 25px) -10px;
  opacity: 0; visibility: hidden; transform: scale(0.92);
  transition: opacity 220ms var(--ease), transform 420ms var(--settle), visibility 0s linear 420ms;
}
.menu-open .sheet { opacity: 1; visibility: visible; transform: none; transition: opacity 220ms var(--ease), transform 420ms var(--settle), visibility 0s; }
.sheet a:not(.pill) { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; padding: 0.45rem 0; border-bottom: 1px solid var(--line); }
.sheet a[aria-current="page"] { color: var(--wine); }
.sheet .pill { margin-top: 1.2rem; }
@media (max-width: 1060px) { .bar__links { display: none; } }
@media (max-width: 600px) {
  .bar__inner { height: 64px; gap: 1rem; }
  .bar__cta { display: none; }
  .bar__toggle { width: 44px; height: 44px; margin: 0 -4px 0 0; }
  .bar__toggle span { left: 13px; right: 13px; }
  .sheet { top: 72px; right: 16px; width: calc(100vw - 32px); }
}

/* ---------- Grapevine ---------- */

.grape { position: absolute; z-index: 3; aspect-ratio: 320 / 400; pointer-events: none; contain: layout style; will-change: transform; transform: translateZ(0); }
.grape__svg { display: block; width: 100%; height: 100%; overflow: visible; }
.grape .gp-root, .grape .gp-leaf, .grape .gp-cluster { transform-box: view-box; }
.grape .gp-cluster { pointer-events: visiblePainted; cursor: pointer; }

/* Soft out-of-focus foliage behind the whole page — fixed, so it is never cut off */
.backdrop { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; transform: translateZ(0); contain: strict; } /* static: a moving blurred layer would be re-blurred every frame */
.bd { position: absolute; overflow: visible; filter: blur(10px); opacity: 0.42; transform: translateZ(0); }
.bd--1 { left: -80px; top: 8vh; width: 220px; height: 420px; transform: rotate(-12deg); opacity: 0.3; }
.bd--2 { right: -90px; top: 38vh; width: 320px; height: 600px; transform: rotate(20deg) scaleX(-1); }
.bd--3 { left: -110px; top: 64vh; width: 280px; height: 520px; transform: rotate(14deg); opacity: 0.3; }
.bd--4 { right: -70px; top: -8vh; width: 240px; height: 460px; transform: rotate(-8deg) scaleX(-1); opacity: 0.32; }
main, .foot { position: relative; z-index: 1; }
@media (max-width: 700px) { .bd { opacity: 0.22; } .bd--2 { width: 200px; height: 380px; right: -80px; } }

/* ---------- Hero ---------- */

.hero { position: relative; padding: 110px 0 0; }
.hero::before { /* warm light from the top-left */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(900px 600px at 15% 20%, rgba(255, 255, 255, 0.85), transparent 70%);
}
.hero__inner {
  position: relative; z-index: 1;
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(2rem, 4vw, 4rem); align-items: center;
}
.hero__copy { padding: 2.2rem 0 1rem; }
.hero__title { margin-top: 1.4rem; font-family: var(--display); font-size: clamp(3.4rem, 7.4vw, 6.6rem); font-weight: 500; line-height: 0.98; letter-spacing: -0.045em; }
.hero__title span { color: var(--wine); }
.hero__lead { margin-top: 1.6rem; font-size: clamp(1.15rem, 1.6vw, 1.42rem); line-height: 1.42; letter-spacing: -0.02em; color: var(--ink-2); max-width: 26em; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.4rem; margin-top: 2.4rem; }

.hero__stage { position: relative; padding: 48px 0 0 clamp(24px, 3vw, 44px); margin-right: calc(-1 * clamp(0px, 2vw, 24px)); }
.hero__photo { position: relative; will-change: transform; transform: translateZ(0); aspect-ratio: 1.32; border-radius: 28px; overflow: hidden; background: var(--bg-alt); box-shadow: var(--card); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.grape--hero { left: clamp(-40px, -2vw, -10px); top: -34px; width: clamp(210px, 21vw, 300px); }

.chip {
  position: absolute; left: 22px; bottom: 22px;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 12px 20px; border-radius: 980px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.35);
  font-size: 0.98rem; letter-spacing: -0.01em;
}
.chip b { font-weight: 600; }
.chip span:last-child { color: var(--ink-2); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--open); box-shadow: 0 0 0 3px rgba(46, 155, 85, 0.18); }
.dot.is-closed { background: #c2312d; box-shadow: 0 0 0 3px rgba(194, 49, 45, 0.16); }

.facts {
  position: relative; z-index: 2;
  max-width: var(--max); width: calc(100% - 2 * var(--gutter)); margin: clamp(40px, 5vw, 56px) auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--surface); border-radius: 26px; box-shadow: var(--card);
}
.facts__item { display: flex; align-items: center; gap: clamp(0.9rem, 1.5vw, 1.4rem); padding: 28px clamp(18px, 2.6vw, 38px); }
.facts__item + .facts__item { border-left: 1px solid var(--line); }
.facts__icon { flex: none; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: #f8f1ef; color: var(--wine); }
.facts__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.facts__item > div { display: flex; flex-direction: column; }
.facts__k { font-size: 0.95rem; color: var(--ink-2); }
.facts__v { font-size: clamp(1.15rem, 1.55vw, 1.45rem); white-space: nowrap; font-weight: 600; letter-spacing: -0.025em; line-height: 1.25; }
.facts__s { font-size: 1rem; color: var(--ink-2); margin-top: 0.1rem; }

@media (max-width: 1180px) { .facts__v { white-space: normal; } }
@media (max-width: 980px) {
  .hero { padding-top: 92px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__stage { padding: 40px 0 0 40px; }
  .facts { grid-template-columns: 1fr; }
  .facts__item + .facts__item { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .hero__photo { border-radius: 20px; }
  .hero__stage { padding: 84px 0 0; }
  .grape--hero { left: auto; right: -12px; top: 0; width: 150px; }
  .kicker { font-size: 0.68rem; letter-spacing: 0.1em; }
  .kicker::before { width: 22px; margin-right: 0.3rem; }
  .chip { left: 14px; bottom: 14px; padding: 10px 16px; font-size: 0.9rem; }
  .facts__icon { width: 54px; height: 54px; }
}

/* ---------- Story ---------- */

.story {
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: var(--sect) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center;
}
.story__photo img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; border-radius: 24px; background: var(--bg-alt); }
.story__photo figcaption { margin-top: 0.8rem; font-size: 0.86rem; color: var(--ink-3); }
.story__copy .h2 { max-width: 13em; }
.story__copy p { font-size: 1.1rem; line-height: 1.6; color: var(--ink-2); max-width: 33em; margin-top: 1.1rem; }
.story__facts { margin: 2rem 0 1.8rem; border-top: 1px solid var(--line-strong); max-width: 33em; }
.story__facts div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.story__facts dt { font-weight: 600; }
.story__facts dd { color: var(--ink-2); text-align: right; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story__photo img { aspect-ratio: 4 / 3; } }

/* ---------- Specialties ---------- */

.spec { background: linear-gradient(180deg, rgba(244, 239, 230, 0) 0, rgba(244, 239, 230, 0.78) 160px, rgba(244, 239, 230, 0.78) calc(100% - 160px), rgba(244, 239, 230, 0) 100%); padding: var(--sect) var(--gutter); }
.spec > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.spec__head { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.spec__head p { color: var(--ink-2); font-size: 1.08rem; line-height: 1.6; max-width: 32em; }
.spec__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.spec__photo { position: sticky; top: 100px; }
.spec__photo img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; border-radius: 24px; background: var(--paper); }
.spec__list { border-top: 1px solid var(--line-strong); }
.spec__list li { display: grid; grid-template-columns: 56px 1fr; gap: 0.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.spec__n { font-size: 0.9rem; font-weight: 600; color: var(--wine); padding-top: 0.45rem; font-variant-numeric: tabular-nums; }
.spec__list h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.022em; }
.spec__list p { color: var(--ink-2); margin-top: 0.35rem; }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(3rem, 6vw, 4.5rem); }
.strip figure { overflow: hidden; }
.strip img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-radius: 16px; background: var(--paper); transition: transform 900ms var(--settle), opacity 900ms var(--ease); }
.strip figure:hover img { transform: scale(1.03); }
.strip figcaption { margin-top: 0.6rem; font-size: 0.92rem; color: var(--ink-2); }
@media (max-width: 860px) {
  .spec__head, .spec__grid { grid-template-columns: 1fr; }
  .spec__photo { position: static; }
  .spec__photo img { aspect-ratio: 4 / 3; }
  .strip { grid-template-columns: 1fr 1fr; }
}

/* ---------- Top picks: tall photo cards, native scroll-snap ---------- */

.picks { padding: var(--sect) 0; }
.picks__head { max-width: var(--max); width: calc(100% - 2 * var(--gutter)); margin: 0 auto clamp(1.8rem, 4vw, 2.6rem); display: grid; grid-template-columns: 1fr 1fr auto; gap: 1rem 3rem; align-items: end; }
.picks__head p { color: var(--ink-2); font-size: 1.08rem; line-height: 1.6; max-width: 32em; }
.picks__row {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 24vw, 290px); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
  padding: 4px max(var(--gutter), calc((100vw - var(--max)) / 2)) 12px;
  scroll-padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2));
}
.picks__row::-webkit-scrollbar { display: none; }
.pick { scroll-snap-align: start; }
.pick__img { position: relative; aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; background: var(--bg-alt); box-shadow: var(--card); }
.pick__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--settle), opacity 900ms var(--ease); }
.pick:hover .pick__img img { transform: scale(1.04); }
.pick figcaption { display: flex; flex-direction: column; gap: 0.1rem; margin-top: 0.85rem; padding: 0 0.2rem; }
.pick figcaption b { font-size: 1.06rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.pick figcaption span { font-size: 0.92rem; color: var(--ink-2); }
/* until the photo is added to img/, show a calm placeholder instead of a broken image */
.pick__img.is-missing { background: linear-gradient(160deg, #f4efe6, #ebe3d5); }
.pick__img.is-missing img { display: none; }
.pick__img.is-missing::after { content: "Fotografija bo dodana"; position: absolute; inset: auto 0 18px; text-align: center; font-size: 0.82rem; color: var(--ink-3); }
@media (max-width: 760px) { .picks__head { grid-template-columns: 1fr auto; } .picks__head p { grid-column: 1 / -1; grid-row: 2; } .picks__row { grid-auto-columns: 68%; } }

/* ---------- Carousel controls: round arrow buttons + mouse drag ---------- */

.cnav { display: flex; gap: 10px; }
.cnav__btn {
  display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: var(--surface); color: var(--ink); cursor: pointer;
  box-shadow: 0 1px 2px rgba(60, 40, 15, 0.06), 0 10px 22px -14px rgba(60, 40, 15, 0.45), inset 0 0 0 1px var(--line);
  transition: transform 100ms ease-out, opacity 200ms var(--ease), background-color 160ms var(--ease), color 160ms var(--ease);
}
.cnav__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cnav__btn:hover:not(:disabled) { background: var(--wine); color: #fff; }
.cnav__btn:active:not(:disabled) { transform: scale(0.92); }
.cnav__btn:disabled { opacity: 0.35; cursor: default; }
@media (hover: hover) and (pointer: fine) {
  [data-carousel] { cursor: grab; }
  [data-carousel].is-dragging { cursor: grabbing; user-select: none; -webkit-user-select: none; }
  [data-carousel].is-dragging * { pointer-events: none; }
}
[data-carousel] img { -webkit-user-drag: none; user-select: none; }

/* ---------- Big numbers (O gostilni) ---------- */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.stat { padding: clamp(1.4rem, 3vw, 2.2rem) 1.2rem clamp(1.4rem, 3vw, 2.2rem) 0; display: flex; flex-direction: column; gap: 0.2rem; }
.stat + .stat { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.stat b { font-family: var(--display); font-size: clamp(3rem, 6vw, 5rem); font-weight: 500; line-height: 1; letter-spacing: -0.04em; color: var(--wine); font-variant-numeric: tabular-nums; }
.stat span { color: var(--ink-2); font-size: 1.02rem; }
.stats__cta { margin-top: clamp(2rem, 4vw, 2.8rem); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { padding-left: 0; border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Stay card (O gostilni) ---------- */

.stay { padding: 0 var(--gutter) var(--sect); }
.stay__card { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.1fr 0.9fr; background: var(--surface); border-radius: 28px; overflow: hidden; box-shadow: var(--card); }
.stay__photo { min-height: 360px; }
.stay__photo img { width: 100%; height: 100%; object-fit: cover; }
.stay__copy { padding: clamp(28px, 5vw, 56px); align-self: center; }
.stay__copy .h2 { margin: 1rem 0 0.9rem; }
.stay__copy p:not(.kicker) { color: var(--ink-2); line-height: 1.6; margin-bottom: 1.4rem; max-width: 30em; }
@media (max-width: 860px) { .stay__card { grid-template-columns: 1fr; } .stay__photo { min-height: 0; aspect-ratio: 16 / 10; } }

/* ---------- Rooms (Prenočišča) ---------- */

.rooms-sec { padding: var(--sect) var(--gutter); }
.rooms-sec > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.room { background: var(--surface); border-radius: 26px; padding: clamp(26px, 3vw, 36px); box-shadow: var(--card); }
.room .facts__icon { margin-bottom: 1.2rem; }
.room h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); font-weight: 600; letter-spacing: -0.022em; }
.room__meta { margin-top: 0.3rem; color: var(--ink-2); }
.room__meta b { color: var(--wine); font-weight: 600; }
.room__feat { margin-top: 1.2rem; border-top: 1px solid var(--line); }
.room__feat li { display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); font-size: 0.98rem; }
.room__feat li::before { content: ""; width: 7px; height: 12px; border: solid var(--wine); border-width: 0 1.8px 1.8px 0; transform: rotate(45deg) translateY(-2px); margin: 0 0.3rem 0 0.2rem; }
@media (max-width: 860px) { .rooms { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */

.hero__photo--map iframe { display: block; width: 100%; height: 100%; border: 0; }
a.facts__item { transition: background-color 200ms var(--ease); }
a.facts__item:hover { background: rgba(138, 31, 61, 0.03); }
a.facts__item:hover .facts__v, .facts a.facts__v:hover { color: var(--wine); }
.facts__item:first-child { border-radius: 26px 0 0 26px; }
.facts__item:last-child { border-radius: 0 26px 26px 0; }

.contact {
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: var(--sect) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.contact__hours .h2 { margin-bottom: 1.4rem; }
.contact__note { margin-top: 1.4rem; color: var(--ink-2); line-height: 1.55; }
.contact__legal { margin-top: 1rem; font-size: 0.88rem; color: var(--ink-3); }

.form { background: var(--surface); border-radius: 28px; padding: clamp(26px, 4vw, 44px); box-shadow: var(--card); position: relative; }
.form .h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.form__intro { margin: 0.6rem 0 1.6rem; color: var(--ink-2); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 14px; }
.field span { font-size: 0.88rem; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border-radius: 14px; border: 0;
  background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: box-shadow 160ms var(--ease), background-color 160ms var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--wine), 0 0 0 4px rgba(138, 31, 61, 0.1); }
.field.is-invalid input, .field.is-invalid textarea { box-shadow: inset 0 0 0 2px #c2312d; }
.field.is-invalid span { color: #c2312d; }
.form__end { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 0.6rem; }
.form__end .pill { border: 0; cursor: pointer; }
.form__status { font-size: 0.92rem; color: var(--ink-2); }
.form__status.is-ok { color: var(--open); }
.form__status.is-err { color: #b3261e; }
.pill:disabled { opacity: 0.6; cursor: default; }
/* trap field: moved off-screen (not display:none, which some bots skip) */
.form__trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
@media (max-width: 980px) { .facts__item:first-child { border-radius: 26px 26px 0 0; } .facts__item:last-child { border-radius: 0 0 26px 26px; } }

/* ---------- Galerija ---------- */

.ghero { position: relative; overflow-x: clip; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 130px var(--gutter) 0; }
.ghero__inner { position: relative; z-index: 2; max-width: 760px; }
.ghero .hero__title { font-size: clamp(2.8rem, 6vw, 5.2rem); }
.grape--gallery { right: clamp(-10px, 4vw, 80px); top: 70px; width: clamp(160px, 18vw, 250px); }
.gfilter button {
  font: inherit; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 10px 18px; border-radius: 980px; font-size: 0.92rem; font-weight: 500; color: var(--ink);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: background-color 180ms var(--ease), color 180ms var(--ease), box-shadow 180ms var(--ease), transform 100ms ease-out;
}
.gfilter button span { font-size: 0.8rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.gfilter button:active { transform: scale(0.96); }
.gfilter button.is-on { background: var(--wine); color: #fff; box-shadow: none; }
.gfilter button.is-on span { color: rgba(255, 255, 255, 0.7); }
@media (max-width: 700px) { .grape--gallery { right: -30px; top: 40px; width: 120px; opacity: 0.9; } }

.gallery { padding: clamp(40px, 5vw, 64px) var(--gutter) var(--sect); }
.gallery__grid { max-width: var(--max); margin: 0 auto; columns: 3 300px; column-gap: 18px; }
.shot { break-inside: avoid; margin: 0 0 22px; transition: opacity 400ms var(--ease), transform 500ms var(--settle); }
.shot.is-hidden { display: none; }
.shot__btn { display: block; width: 100%; padding: 0; border: 0; background: var(--bg-alt); border-radius: 20px; overflow: hidden; cursor: zoom-in; box-shadow: var(--card); }
.shot__btn img { width: 100%; height: auto; transition: transform 900ms var(--settle), opacity 900ms var(--ease); }
.shot__btn:hover img { transform: scale(1.03); }
.shot__btn:active { transform: scale(0.985); transition: transform 100ms ease-out; }
.shot figcaption { margin-top: 0.6rem; padding: 0 0.2rem; font-size: 0.92rem; color: var(--ink-2); }

/* Viewer: the photo grows out of its tile; scrim dims to focus */
.lb { position: fixed; inset: 0; z-index: 100; }
.lb[hidden] { display: none; }
.lb__scrim { position: absolute; inset: 0; background: rgba(20, 16, 12, 0.9); opacity: var(--p, 0); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lb__img { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; border-radius: calc(20px * (1 - var(--p, 0)) + 6px); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6); cursor: grab; touch-action: none; user-select: none; -webkit-user-drag: none; }
.lb__img.is-dragging { cursor: grabbing; }
.lb__cap { position: absolute; left: 0; right: 0; bottom: max(18px, env(safe-area-inset-bottom)); text-align: center; color: #f5f1ea; font-size: 0.98rem; opacity: var(--p, 0); display: flex; justify-content: center; gap: 0.8rem; padding: 0 70px; }
.lb__count { color: rgba(245, 241, 234, 0.55); font-variant-numeric: tabular-nums; }
.lb__btn {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, 0.14); color: #fff; opacity: var(--p, 0);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: background-color 160ms var(--ease), transform 100ms ease-out;
}
.lb__btn:hover { background: rgba(255, 255, 255, 0.26); }
.lb__btn:active { transform: scale(0.92); }
.lb__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lb__close { top: max(16px, env(safe-area-inset-top)); right: 16px; }
.lb__prev { left: 16px; top: 50%; margin-top: -24px; }
.lb__next { right: 16px; top: 50%; margin-top: -24px; }
@media (max-width: 700px) { .lb__prev, .lb__next { display: none; } }
body.lb-open { overflow: hidden; }

/* ---------- Printed menu ---------- */

.carte { padding: var(--sect) var(--gutter); }
.carte__sheet {
  position: relative; max-width: 1000px; margin: 0 auto;
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: 8px;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 6vw, 72px) clamp(28px, 4vw, 44px);
  box-shadow: 0 30px 60px -48px rgba(60, 40, 15, 0.45);
}
.grape--carte { top: -40px; right: -34px; width: clamp(150px, 18vw, 210px); }
.carte__head { max-width: 30em; margin-bottom: clamp(2rem, 4vw, 3rem); }
.carte__head p { color: var(--ink-2); margin-top: 0.8rem; }
.carte__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 4.5rem); }
.carte h3 { font-size: 0.76rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--wine); margin-bottom: 0.9rem; }
.carte li { display: flex; align-items: baseline; gap: 0.6rem; padding: 0.55rem 0; font-family: var(--serif); font-size: 1.14rem; }
.carte li i { flex: 1; border-bottom: 1px dotted var(--line-strong); transform: translateY(-0.3em); }
.carte li span:last-child { font-family: var(--sans); font-size: 1rem; font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; }
.carte__foot { margin-top: clamp(1.8rem, 4vw, 2.6rem); padding-top: 1.2rem; border-top: 1px solid var(--line); text-align: center; }
@media (max-width: 700px) { .carte__cols { grid-template-columns: 1fr; } .grape--carte { right: -24px; width: 130px; } }

/* ---------- Good to know ---------- */

.know { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) var(--sect); }
.know .h2 { margin-bottom: clamp(1.8rem, 4vw, 2.6rem); }
.know__list { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(1.5rem, 4vw, 3rem); }
.know__list li { padding: 1.5rem 0 1.7rem; border-top: 1px solid var(--line-strong); }
.know__list h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.015em; }
.know__list p { margin-top: 0.4rem; color: var(--ink-2); line-height: 1.55; }
@media (max-width: 860px) { .know__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .know__list { grid-template-columns: 1fr; } }

/* ---------- Voices ---------- */

.voices { background: linear-gradient(180deg, rgba(244, 239, 230, 0) 0, rgba(244, 239, 230, 0.78) 160px, rgba(244, 239, 230, 0.78) calc(100% - 160px), rgba(244, 239, 230, 0) 100%); padding: var(--sect) 0; }
.voices__head { max-width: var(--max); width: calc(100% - 2 * var(--gutter)); margin: 0 auto clamp(1.8rem, 4vw, 2.6rem); display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.voices__head p { color: var(--ink-3); font-size: 0.9rem; }
.voices__row {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 380px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
  padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2)) 8px;
  scroll-padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2));
}
.voices__row::-webkit-scrollbar { display: none; }
.voice { scroll-snap-align: start; background: var(--surface); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; gap: 1.4rem; box-shadow: var(--card); }
.voice blockquote { font-size: 1.1rem; line-height: 1.5; letter-spacing: -0.015em; }
.voice blockquote::before { content: "“"; display: block; font-family: var(--serif); font-size: 2.6rem; line-height: 0.8; color: var(--wine); margin-bottom: 0.2rem; }
.voice figcaption { font-size: 0.92rem; font-weight: 600; color: var(--ink-2); }

/* ---------- Visit ---------- */

.visit {
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: var(--sect) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: stretch;
}
.visit__map { min-height: 480px; border-radius: 24px; overflow: hidden; background: var(--bg-alt); box-shadow: var(--card); }
.visit__map iframe { display: block; width: 100%; height: 100%; min-height: 480px; border: 0; }
.visit__info .h2 { margin-bottom: 1.4rem; }
.hours { border-top: 1px solid var(--line-strong); }
.hours div { display: flex; justify-content: space-between; padding: 0.55rem 0.8rem; margin: 0 -0.8rem; border-bottom: 1px solid var(--line); }
.hours dd { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hours .is-today { background: var(--wine-soft); border-radius: 10px; border-bottom-color: transparent; }
.hours .is-today dt { font-weight: 600; }
.hours .is-today dd { color: var(--wine); font-weight: 600; }
.visit__info address { margin-top: 1.6rem; color: var(--ink-2); line-height: 1.55; }
.visit__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.8rem; margin-top: 1.4rem; }
.visit__mail { margin-top: 1rem; font-size: 0.92rem; color: var(--ink-2); }
.visit__mail a { color: var(--wine); }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } .visit__map, .visit__map iframe { min-height: 320px; } }

/* ---------- Footer ---------- */

.foot { border-top: 1px solid var(--line); padding: 36px var(--gutter) 32px; font-size: 0.88rem; color: var(--ink-2); }
.foot__inner { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.foot__brand { display: flex; flex-direction: column; }
.foot__brand strong { font-size: 1.05rem; color: var(--ink); }
.foot__links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.foot__links a:hover { color: var(--ink); }
.foot__legal { width: 100%; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--ink-3); }

/* ---------- Inner pages (Ponudba …) ---------- */

.hero--page .hero__title { font-size: clamp(3rem, 6.4vw, 5.6rem); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2.2rem; }
.chips a {
  padding: 10px 18px; border-radius: 980px;
  font-size: 0.92rem; font-weight: 500;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: background-color 180ms var(--ease), color 180ms var(--ease), box-shadow 180ms var(--ease), transform 100ms ease-out;
}
.chips a:hover { background: var(--wine); color: #fff; box-shadow: none; }
.chips a:active { transform: scale(0.96); }

.strip--page { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

.ask { padding: 0 var(--gutter) var(--sect); }
.ask__inner { max-width: var(--max); margin: 0 auto; padding-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--line-strong); display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 4rem; align-items: end; }
.ask__inner p { color: var(--ink-2); font-size: 1.1rem; line-height: 1.6; max-width: 30em; }
.ask__ctas { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
@media (max-width: 760px) { .ask__inner { grid-template-columns: 1fr; } }


/* ---------- Photos fade in once decoded ---------- */

.js main img { opacity: 0; }
.js main img.is-loaded { opacity: 1; transition: opacity 900ms var(--ease), transform 900ms var(--settle); }

/* ---------- Reveal: critically damped rise, staggered siblings ---------- */

.js .reveal { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity 900ms var(--ease) var(--d, 0ms), transform 1100ms var(--settle) var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero__copy > * { animation: rise 1100ms var(--settle) backwards; }
.js .hero__copy > :nth-child(2) { animation-delay: 60ms; }
.js .hero__copy > :nth-child(3) { animation-delay: 120ms; }
.js .hero__copy > :nth-child(4) { animation-delay: 180ms; }
.js .hero__photo { animation: fade 1200ms var(--ease) 100ms backwards; }
.js .facts { animation: rise 1200ms var(--settle) 260ms backwards; }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 18px, 0); } }
@keyframes fade { from { opacity: 0; } }

/* ---------- Accessibility preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  .js .reveal { transform: none; transition: opacity 300ms ease; }
  .js .hero__copy > *, .js .hero__photo, .js .facts { animation: none; }
  .strip figure:hover img { transform: none; }
  .sheet { transform: none !important; }
}
@media (prefers-reduced-transparency: reduce) { .bar, .chip, .sheet { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; } }
@media (prefers-contrast: more) { :root { --line: rgba(0, 0, 0, 0.3); --line-strong: rgba(0, 0, 0, 0.45); --ink-2: #3a3a3c; --ink-3: #3a3a3c; } }

/* A grape that broke off and is falling — lives above everything, ignores the pointer */
.drop { position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none; will-change: transform, opacity; overflow: visible; filter: drop-shadow(0 3px 3px rgba(20, 10, 30, 0.25)); }
.grape .gp-berry { transform-box: view-box; }
