/* =========================================================
   Gorski raj Rogla — holiday apartment site
   Palette taken from the logo (#0b3b27) + the apartment's
   honey-oak wood, cream walls and taupe textiles.
   ========================================================= */

:root {
  --forest: #0b3b27;
  --forest-2: #0f4630;
  --forest-3: #155a3e;
  --forest-deep: #072a1b;
  --ivory: #f5efe4;
  --paper: #fbf8f2;
  --sand: #ebe2d1;
  --wood: #a5662a;
  --wood-light: #d9a462;
  --wood-pale: #f0d3a6;
  --taupe: #8c7d6e;
  --ink: #13261c;
  --muted: #56655b;
  --line: rgba(11, 59, 39, 0.14);
  --line-light: rgba(245, 239, 228, 0.16);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.65, 0, 0.35, 1);
  --radius: 22px;
  --nav-h: 84px;
  --gutter: clamp(20px, 5vw, 56px);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(16px, 1.05vw + 10px, 18px);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}

/* fine film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--wood-light); color: var(--forest-deep); }

:focus-visible { outline: 2px solid var(--wood-light); outline-offset: 3px; border-radius: 4px; }

.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--forest);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}
.skip:focus { transform: none; }

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--lg { width: 30px; height: 30px; stroke-width: 1.3; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--wood);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow--light { color: var(--wood-light); }

.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 4.6vw + 0.6rem, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.012em;
  color: var(--forest);
  text-wrap: balance;
}
.h2 em, .hero__title em { font-style: italic; font-weight: 400; color: var(--wood); }
.h2--light { color: var(--ivory); }
.h2--light em { color: var(--wood-light); }

.h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 2.4vw + 0.8rem, 3rem);
  line-height: 1.05;
  color: var(--forest);
  margin-bottom: 18px;
}

.lead {
  font-size: clamp(1.1rem, 0.6vw + 0.9rem, 1.3rem);
  line-height: 1.65;
  color: var(--ink);
}
.lead em { font-family: var(--serif); font-size: 1.15em; color: var(--forest); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease), transform 0.45s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.55s var(--ease);
}
.btn:hover::before { transform: none; }
.btn .icon { transition: transform 0.45s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }

.btn--wood { background: var(--wood-light); color: var(--forest-deep); }
.btn--wood::before { background: var(--ivory); }

.btn--ghost { color: var(--ivory); border: 1px solid rgba(245, 239, 228, 0.38); }
.btn--ghost::before { background: var(--ivory); }
.btn--ghost:hover { color: var(--forest); border-color: var(--ivory); }

.btn--forest { background: var(--forest); color: var(--ivory); }
.btn--forest::before { background: var(--wood); }

.btn--sm { min-height: 44px; padding: 0 22px; font-size: 0.74rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest);
  padding-bottom: 6px;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size 0.5s var(--ease);
}
.link-arrow:hover { background-size: 30% 1px; }
.link-arrow .icon { transition: transform 0.45s var(--ease); }
.link-arrow:hover .icon { transform: translateX(5px); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tags li {
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.tags--light li { border-color: var(--line-light); color: rgba(245, 239, 228, 0.78); }

/* ---------- Reveal system (JS adds .is-in) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1.1s var(--ease) var(--d, 0s),
    transform 1.1s var(--ease) var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* word-by-word headings */
.js [data-split][data-reveal] { opacity: 1; transform: none; }
[data-split] .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0 0.06em 0.12em 0;
  margin: 0 -0.06em -0.12em 0;
}
.js [data-split] .w > span {
  display: inline-block;
  transform: translateY(110%) rotate(4deg);
  transform-origin: left bottom;
  transition: transform 1.15s var(--ease);
}
.js [data-split].is-in .w > span { transform: none; }

/* image wipe */
.js [data-reveal="clip"] {
  opacity: 1;
  transform: none;
  clip-path: inset(14% 10% 14% 10% round var(--radius));
  transition: clip-path 1.6s var(--ease) var(--d, 0s);
}
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round var(--radius)); }
.js [data-reveal="clip"] img { transform: scale(1.22); transition: transform 2s var(--ease) var(--d, 0s); }
.js [data-reveal="clip"].is-in img { transform: scale(1); }

.js [data-reveal="pop"] { transform: scale(0.6) rotate(-8deg); }
.js [data-reveal="pop"].is-in { transform: none; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  color: var(--ivory);
  transition: background-color 0.5s var(--ease), transform 0.6s var(--ease), height 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.nav--solid {
  --nav-h: 70px;
  background: rgba(7, 42, 27, 0.88);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(245, 239, 228, 0.08);
}
.nav--hidden { transform: translateY(-100%); }

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo img { width: auto; height: 50px; transition: height 0.5s var(--ease); }
.nav--solid .nav__logo img { height: 42px; }

.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav__links a {
  position: relative;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.86;
  padding: 6px 0;
  transition: opacity 0.3s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--wood-light);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.nav__links a:hover,
.nav__links a[aria-current="true"] { opacity: 1; }
.nav__links a:hover::after,
.nav__links a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.nav__menu-book { display: none; }

.nav__actions { display: flex; align-items: center; gap: 14px; }

.lang {
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(245, 239, 228, 0.3);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
}
.lang span {
  padding: 6px 10px;
  border-radius: 999px;
  opacity: 0.65;
  transition: background-color 0.4s var(--ease), color 0.4s, opacity 0.4s;
}
html:not([data-lang="sl"]) .lang [data-lang="en"],
html[data-lang="sl"] .lang [data-lang="sl"] { background: var(--ivory); color: var(--forest); opacity: 1; }

.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.5s var(--ease), top 0.5s var(--ease);
}
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.nav--open .burger span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav--open .burger span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--ivory);
  background:
    radial-gradient(120% 90% at 78% 18%, #17603f 0%, rgba(11, 59, 39, 0) 55%),
    radial-gradient(90% 70% at 10% 100%, #062619 0%, rgba(6, 38, 25, 0) 60%),
    var(--forest);
  overflow: hidden;
  isolation: isolate;
}
.hero__snow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.hero__glow {
  position: absolute;
  width: 60vw;
  height: 60vw;
  right: -10vw;
  top: -20vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 164, 98, 0.22), rgba(217, 164, 98, 0) 62%);
  filter: blur(10px);
  z-index: -1;
  animation: glow 9s ease-in-out infinite alternate;
}
@keyframes glow { to { transform: translate(-4vw, 3vw) scale(1.08); opacity: 0.75; } }

.hero__grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: clamp(150px, 16vw, 230px);
}

.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.1rem, 6.2vw + 0.4rem, 6.6rem);
  line-height: 0.96;
  letter-spacing: -0.018em;
  margin-bottom: 30px;
  text-wrap: balance;
}
.hero__title em { color: var(--wood-light); }

.hero__lead {
  max-width: 34em;
  font-size: clamp(1.05rem, 0.5vw + 0.9rem, 1.22rem);
  color: rgba(245, 239, 228, 0.82);
  margin-bottom: 38px;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px clamp(24px, 3.4vw, 48px);
  margin-top: clamp(44px, 6vh, 72px);
  padding-top: 26px;
  border-top: 1px solid var(--line-light);
}
.hero__facts li { display: grid; gap: 2px; }
.hero__facts strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.65rem;
  line-height: 1.1;
  color: var(--wood-pale);
}
.hero__facts span { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(245, 239, 228, 0.62); }

.hero__media { position: relative; justify-self: end; width: min(100%, 470px); }

.arch {
  position: relative;
  aspect-ratio: 4 / 5.15;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 50px 90px -40px rgba(3, 22, 14, 0.75), 0 0 0 1px rgba(245, 239, 228, 0.1);
  background: var(--forest-2);
}
/* the photo melts into the green: a soft forest shade at the foot and a faint warm wash */
.arch::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(11, 59, 39, 0) 55%, rgba(7, 42, 27, 0.55) 100%),
    linear-gradient(0deg, rgba(217, 164, 98, 0.08), rgba(217, 164, 98, 0.08));
  box-shadow: inset 0 0 60px rgba(7, 42, 27, 0.35);
}
.hero__media::before {
  content: "";
  position: absolute;
  inset: 8% -10% -6% -10%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(217, 164, 98, 0.22), rgba(217, 164, 98, 0));
  filter: blur(20px);
}
.hero-slide {
  position: absolute;
  inset: 0;
  object-position: var(--pos, 50% 50%);
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.8s var(--ease-soft), transform 7s linear;
}
.hero-slide.is-active { opacity: 1; transform: scale(1.0); }
.hero-dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 8px; }
.hero-dots i { width: 22px; height: 2px; border-radius: 2px; background: rgba(245, 239, 228, 0.35); overflow: hidden; position: relative; }
.hero-dots i.is-active::after { content: ""; position: absolute; inset: 0; background: var(--ivory); transform-origin: left; animation: dotfill 5.5s linear forwards; }
@keyframes dotfill { from { transform: scaleX(0); } }
.arch__inner { position: absolute; inset: 0; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.kenburns { animation: kenburns 26s ease-in-out infinite alternate; transform-origin: 60% 40%; }
@keyframes kenburns {
  from { transform: scale(1.04); }
  to { transform: scale(1.16) translate(-2%, 1.5%); }
}

.js .arch[data-reveal="arch"] {
  opacity: 1;
  transform: none;
  clip-path: inset(100% 0 0 0 round var(--radius));
  transition: clip-path 1.8s var(--ease) 0.25s;
}
.js .arch[data-reveal="arch"].is-in { clip-path: inset(0 0 0 0 round var(--radius)); }
.js .arch .arch__inner { transform: scale(1.35); transition: transform 2.6s var(--ease) 0.25s; }
.js .arch.is-in .arch__inner { transform: none; }

.hero__inset {
  position: absolute;
  left: -22%;
  bottom: 7%;
  width: 40%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--forest);
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.6);
}
.hero__inset img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 63%; transform: scale(1.9); transform-origin: 50% 63%; }

.badge {
  position: absolute;
  top: 6%;
  right: -9%;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background: var(--forest-deep);
  color: var(--wood-pale);
  display: grid;
  place-items: center;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.6);
}
.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.badge__ring text { font-family: var(--sans); font-size: 9.4px; font-weight: 500; letter-spacing: 0.21em; fill: currentColor; }
.badge__icon { width: 30px; height: 30px; fill: none; stroke: var(--wood-light); stroke-width: 1.3; stroke-linecap: round; animation: spin 18s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(70px, 9vw, 120px);
  z-index: 4;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 10px;
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(245, 239, 228, 0.7);
}
.hero__scroll i { width: 1px; height: 44px; background: rgba(245, 239, 228, 0.25); position: relative; overflow: hidden; }
.hero__scroll i::after {
  content: "";
  position: absolute;
  left: 0;
  top: -40%;
  width: 100%;
  height: 40%;
  background: var(--wood-light);
  animation: drip 2.2s var(--ease-soft) infinite;
}
@keyframes drip { to { top: 100%; } }

.hero__mountains {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(110px, 15vw, 230px);
  z-index: 3;
  pointer-events: none;
}
.hero__mountains path { will-change: transform; }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding-block: clamp(90px, 11vw, 170px); position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 84px); }
.section-head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  flex-wrap: wrap;
}
.section-head__note { color: var(--muted); font-size: 0.95rem; max-width: 22em; }

/* ---------- About ---------- */
.about { padding-top: clamp(60px, 8vw, 120px); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 7vw, 120px);
  align-items: start;
}
.about__text p + p { margin-top: 20px; color: var(--muted); }

.highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(64px, 8vw, 110px);
  border-top: 1px solid var(--line);
}
.highlights li {
  padding: 34px 28px 10px 0;
  display: grid;
  gap: 8px;
  align-content: start;
}
.highlights li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.highlights .icon { color: var(--wood); margin-bottom: 10px; }
.highlights h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; color: var(--forest); line-height: 1.1; }
.highlights p { color: var(--muted); font-size: 0.97rem; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: clamp(18px, 2.4vw, 30px);
  background: var(--paper);
}
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee span {
  display: flex;
  align-items: center;
  flex: none;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1.1;
  color: var(--forest);
  white-space: nowrap;
}
.marquee b {
  display: inline-block;
  width: 0.28em;
  height: 0.28em;
  margin: 0 0.7em;
  border-radius: 50%;
  background: var(--wood-light);
  flex: none;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Rooms ---------- */
.rooms { background: var(--ivory); }
.room {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(36px, 7vw, 120px);
}
.room + .room { margin-top: clamp(80px, 11vw, 170px); }
.room--flip .room__media { order: 2; }

.room__media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 4.7;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand);
}
.room__img { position: absolute; inset: -9% 0; will-change: transform; }
.room__img img { width: 100%; height: 100%; object-fit: cover; }

.room__body { position: relative; max-width: 30em; }
.room__num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(4.5rem, 8vw, 7.5rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(165, 102, 42, 0.55);
  margin-bottom: 20px;
}
.room__body > p:not(.eyebrow) { color: var(--muted); }

/* ---------- Balcony feature ---------- */
.feature {
  position: relative;
  min-height: clamp(560px, 92vh, 900px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--ivory);
  isolation: isolate;
}
.feature__bg { position: absolute; inset: -16% 0; z-index: -2; will-change: transform; }
.feature__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.feature__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 42, 27, 0.9) 0%, rgba(7, 42, 27, 0.55) 42%, rgba(7, 42, 27, 0) 75%),
    linear-gradient(0deg, rgba(7, 42, 27, 0.7) 0%, rgba(7, 42, 27, 0) 50%);
}
.feature__content { padding-block: clamp(80px, 10vw, 140px); }
.feature__content .h2 { max-width: 9em; margin-bottom: 26px; }
.feature__content p:last-child { max-width: 31em; color: rgba(245, 239, 228, 0.85); font-size: 1.1rem; }

/* ---------- Gallery ---------- */
.gallery { background: var(--paper); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.6vw, 24px);
  padding-bottom: 64px;
}
.g-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  background: var(--sand);
  cursor: zoom-in;
}
.g-item:nth-child(4n + 2),
.g-item:nth-child(4n + 4) { translate: 0 64px; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter 0.8s; }
.g-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 42, 27, 0.65), rgba(7, 42, 27, 0) 45%);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.g-cap {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--ivory);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  text-align: left;
}
.g-zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  width: 38px;
  height: 38px;
  padding: 10px;
  border-radius: 50%;
  background: rgba(245, 239, 228, 0.92);
  color: var(--forest);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.07); }
.g-item:hover::after, .g-item:focus-visible::after,
.g-item:hover .g-cap, .g-item:focus-visible .g-cap,
.g-item:hover .g-zoom, .g-item:focus-visible .g-zoom { opacity: 1; transform: none; }
@media (hover: none) {
  .g-item::after, .g-cap { opacity: 1; transform: none; }
  .g-cap { font-size: 1.1rem; line-height: 1.15; left: 14px; right: 14px; bottom: 12px; }
}

/* ---------- Rogla ---------- */
.rogla { background: var(--forest); color: var(--ivory); overflow: hidden; }
.ridge { position: absolute; top: clamp(30px, 4vw, 60px); left: 0; width: 100%; height: clamp(70px, 9vw, 140px); opacity: 1; }
.ridge path {
  fill: none;
  stroke: rgba(245, 239, 228, 0.22);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 3.6s var(--ease-soft);
}
.js .ridge[data-reveal] { opacity: 1; transform: none; }
.ridge.is-in path, html:not(.js) .ridge path { stroke-dashoffset: 0; }
.rogla .section-head { position: relative; margin-top: clamp(40px, 5vw, 70px); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line-light);
  margin-bottom: clamp(56px, 7vw, 96px);
}
.stats li { padding: clamp(26px, 3vw, 40px) 24px clamp(26px, 3vw, 40px) 0; display: grid; gap: 6px; }
.stats li + li { padding-left: 24px; border-left: 1px solid var(--line-light); }
.stats strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 4.2vw, 4.4rem);
  line-height: 1;
  color: var(--wood-light);
  font-variant-numeric: lining-nums tabular-nums;
}
.stats li > span { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(245, 239, 228, 0.66); }

.seasons { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.season {
  position: relative;
  padding: clamp(30px, 3.4vw, 52px);
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(245, 239, 228, 0.07), rgba(245, 239, 228, 0.015));
  border: 1px solid var(--line-light);
  overflow: hidden;
}
.js .season[data-reveal].is-in { transition: transform 0.7s var(--ease), border-color 0.7s var(--ease), opacity 1.1s var(--ease) var(--d, 0s); }
.season:hover { transform: translateY(-6px); border-color: rgba(217, 164, 98, 0.45); }
.season__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(217, 164, 98, 0.14);
  color: var(--wood-light);
  margin-bottom: 26px;
}
.season .h3 { color: var(--ivory); }
.season p { color: rgba(245, 239, 228, 0.8); }

/* ---------- Things to do (winter / summer) ---------- */
.todo__tabs { display: inline-flex; gap: 6px; padding: 6px; margin-bottom: clamp(28px, 3vw, 44px); border: 1px solid var(--line-light); border-radius: 999px; }
.todo__tab {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 24px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(245, 239, 228, 0.75);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.todo__tab:hover { color: var(--ivory); }
.todo__tab[aria-selected="true"] { background: var(--wood-light); color: var(--forest-deep); }
.todo__panel { animation: todoIn 0.6s var(--ease); }
@keyframes todoIn { from { opacity: 0; transform: translateY(12px); } }
.todo__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.todo__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.todo__grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1280px) { .todo__grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.act { display: grid; gap: 12px; align-content: start; }
.act__img { aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--forest-2); }
.act__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.act:hover .act__img img { transform: scale(1.05); }
.act h3 { margin-top: 8px; font-family: var(--serif); font-weight: 500; font-size: 1.7rem; line-height: 1.1; color: var(--ivory); }
.act p { color: rgba(245, 239, 228, 0.78); font-size: 0.98rem; line-height: 1.6; }
.todo__also { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: clamp(28px, 3vw, 40px); padding-top: 22px; border-top: 1px solid var(--line-light); color: rgba(245, 239, 228, 0.8); font-size: 0.98rem; }
.todo__also > span:first-child { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--wood-light); padding-top: 3px; }
@media (max-width: 1080px) { .todo__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .todo__grid, .todo__grid--4, .todo__grid--5 { grid-template-columns: minmax(0, 1fr); } .todo__tab { padding: 0 18px; } }

/* photo credits in the footer */
.credits { flex-basis: 100%; font-size: 0.78rem; color: rgba(245, 239, 228, 0.5); }
.credits summary { cursor: pointer; width: fit-content; }
.credits summary:hover { color: var(--ivory); }
.credits p { margin-top: 8px; max-width: 80em; line-height: 1.6; }

/* ---------- Location ---------- */
.location__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.location .lead { margin: 24px 0 34px; color: var(--muted); }
.address {
  display: flex;
  gap: 14px;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--forest);
  margin-bottom: 34px;
}
.address .icon { color: var(--wood); margin-top: 6px; width: 22px; height: 22px; }
.distances { border-top: 1px solid var(--line); margin-bottom: 38px; }
.distances li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.96rem;
}
.distances li span:first-child { color: var(--ink); font-weight: 400; }
.distances li span:last-child { color: var(--muted); text-align: right; }

.map {
  position: relative;
  aspect-ratio: 5 / 5.6;
  border-radius: 28px;
  overflow: hidden;
  background: var(--sand);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__placeholder { position: absolute; inset: 0; display: grid; place-items: center; }
.map__contours { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__contours path {
  fill: none;
  stroke: var(--forest);
  stroke-opacity: 0.2;
  stroke-width: 1;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.6s var(--ease-soft);
}
.map.is-in .map__contours path { stroke-dashoffset: 0; }
.map__pin {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--wood-light);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px -10px rgba(11, 59, 39, 0.6);
}
.map__pin .icon { width: 24px; height: 24px; fill: currentColor; stroke: none; }
.map__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--forest);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse { from { transform: scale(1); opacity: 0.7; } to { transform: scale(3.2); opacity: 0; } }
.map__label {
  position: absolute;
  left: 50%;
  top: calc(46% + 44px);
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  padding: 10px 18px;
  border-radius: 14px;
  background: rgba(251, 248, 242, 0.92);
  box-shadow: 0 10px 30px -12px rgba(11, 59, 39, 0.35);
  white-space: nowrap;
}
.map__label strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--forest); line-height: 1.2; }
.map__label span { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.map__cta { position: absolute; left: 0; right: 0; bottom: 30px; display: grid; justify-items: center; gap: 10px; }
.map__note { font-size: 0.78rem; color: var(--muted); }

/* ---------- Cinematic landmark map ---------- */
.map__scene { position: absolute; inset: 0; transform: scale(1.14); transition: transform 3.2s var(--ease); }
.map.is-in .map__scene { transform: none; }
.map__routes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map__routes .route {
  fill: none; stroke: var(--forest); stroke-width: 1.6; stroke-linecap: round; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0.55;
  transition: stroke-dashoffset 1.6s var(--ease-soft) calc(0.9s + var(--i, 0) * 0.45s);
}
.map.is-in .map__routes .route { stroke-dashoffset: 0; }
.map__routes .route--dash { stroke-dasharray: 0.006 0.012; stroke-dashoffset: 0; opacity: 0; transition: opacity 0.6s var(--ease) calc(2.4s + var(--i, 0) * 0.45s); }
.map.is-in .map__routes .route--dash { opacity: 0.6; animation: march 30s linear infinite; }
@keyframes march { to { stroke-dashoffset: -1; } }
.map__routes .traveller { fill: var(--wood); opacity: 0; }
.map.is-in .map__routes .traveller { opacity: 1; transition: opacity 0.4s calc(0.9s + var(--i, 0) * 0.45s); }

.map__pin { top: var(--hy, 46%); left: var(--hx, 50%); z-index: 3; }
.map__label { top: calc(var(--hy, 46%) + 40px); left: var(--hx, 50%); z-index: 3; }
.map__label span { text-transform: none; letter-spacing: 0.02em; font-size: 0.82rem; }

.poi {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  transform: translate(-22px, -50%); opacity: 0;
  transition: opacity 0.7s var(--ease) calc(1.9s + var(--i, 0) * 0.45s), transform 0.7s var(--ease) calc(1.9s + var(--i, 0) * 0.45s);
}
.poi[data-side="left"] { flex-direction: row-reverse; transform: translate(calc(-100% + 22px), -50%); }
.map.is-in .poi { opacity: 1; }
.poi[data-side="up"] { flex-direction: column-reverse; gap: 8px; transform: translate(-50%, calc(-100% + 22px)); }
.poi[data-side="up"] .poi__text { text-align: center; }
.poi__dot {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); color: var(--forest); border: 1px solid rgba(11, 59, 39, 0.18);
  box-shadow: 0 10px 24px -10px rgba(11, 59, 39, 0.45);
  transform: scale(0.4); transition: transform 0.8s var(--ease) calc(1.9s + var(--i, 0) * 0.45s), background-color 0.3s, color 0.3s;
}
.map.is-in .poi__dot { transform: none; }
.poi__dot .icon { width: 20px; height: 20px; }
.poi__text { display: grid; padding: 7px 12px; border-radius: 12px; background: rgba(251, 248, 242, 0.94); box-shadow: 0 10px 26px -14px rgba(11, 59, 39, 0.4); white-space: nowrap; }
.poi[data-side="left"] .poi__text { text-align: right; }
.poi__text strong { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; color: var(--forest); line-height: 1.15; }
.poi__text span {
  font-size: 0.74rem; color: var(--muted);
  max-height: 0; max-width: 0; opacity: 0; overflow: hidden; justify-self: end;
  transition: max-height 0.45s var(--ease), max-width 0.45s var(--ease), opacity 0.35s var(--ease);
}
.poi[data-side="right"] .poi__text span, .poi:not([data-side]) .poi__text span { justify-self: start; }
.poi[data-side="up"] .poi__text span, .poi[data-side="down"] .poi__text span { justify-self: center; }
/* the name stays on the map; the detail opens on hover or focus */
.poi:hover .poi__text span, .poi:focus-visible .poi__text span { max-height: 1.6em; max-width: 22rem; opacity: 1; }
.poi:hover, .poi:focus-visible { z-index: 5; }
.poi[data-side="down"] { flex-direction: column; gap: 8px; transform: translate(-50%, -22px); }
.poi[data-side="down"] .poi__text { text-align: center; }
.poi[data-side="downleft"] { flex-direction: column; align-items: flex-end; gap: 8px; transform: translate(calc(-100% + 22px), -22px); }
.poi[data-side="downleft"] .poi__text { text-align: right; }
.poi:hover .poi__dot, .poi:focus-visible .poi__dot { background: var(--forest); color: var(--wood-light); }
.map__north { position: absolute; top: 22px; right: 24px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(11, 59, 39, 0.25); font-family: var(--serif); font-size: 1.1rem; color: var(--forest); }
.map__north::before { content: ""; position: absolute; top: -7px; left: 50%; border: 5px solid transparent; border-bottom: 7px solid var(--wood); transform: translateX(-50%); }
.map__cta { top: 22px; bottom: auto; left: 24px; right: auto; justify-items: start; gap: 6px; z-index: 4; }

/* ---------- Map: everything scales with the map's own width, so the layout holds on every screen ---------- */
.map { container-type: inline-size; }
.poi { --dot: clamp(26px, 7.9cqw, 44px); gap: clamp(6px, 1.8cqw, 10px); transform: translate(calc(var(--dot) / -2), -50%); }
.poi[data-side="left"] { transform: translate(calc(-100% + var(--dot) / 2), -50%); }
.poi[data-side="up"] { gap: clamp(5px, 1.4cqw, 8px); transform: translate(-50%, calc(-100% + var(--dot) / 2)); }
.poi[data-side="down"] { gap: clamp(5px, 1.4cqw, 8px); transform: translate(-50%, calc(var(--dot) / -2)); }
.poi[data-side="downleft"] { gap: clamp(5px, 1.4cqw, 8px); transform: translate(calc(-100% + var(--dot) / 2), calc(var(--dot) / -2)); }
.poi__dot { width: var(--dot); height: var(--dot); }
.poi__dot .icon { width: clamp(14px, 3.6cqw, 20px); height: clamp(14px, 3.6cqw, 20px); }
.poi__text { padding: clamp(4px, 1.25cqw, 7px) clamp(8px, 2.15cqw, 12px); border-radius: clamp(9px, 2.15cqw, 12px); }
.poi__text strong { font-size: clamp(0.7rem, 3.2cqw, 1.12rem); }
.map__pin { width: clamp(36px, 10cqw, 56px); height: clamp(36px, 10cqw, 56px); margin: calc(clamp(36px, 10cqw, 56px) / -2) 0 0 calc(clamp(36px, 10cqw, 56px) / -2); }
.map__pin .icon { width: clamp(18px, 4.3cqw, 24px); height: clamp(18px, 4.3cqw, 24px); }
.map__label { top: calc(var(--hy, 46%) + clamp(28px, 7cqw, 40px)); padding: clamp(6px, 1.8cqw, 10px) clamp(11px, 3.2cqw, 18px); }
.map__label strong { font-size: clamp(0.86rem, 3.6cqw, 1.25rem); }
.map__label span { font-size: clamp(0.66rem, 1.5cqw, 0.82rem); }
.map__north { width: clamp(32px, 7.2cqw, 40px); height: clamp(32px, 7.2cqw, 40px); top: clamp(14px, 4cqw, 22px); right: clamp(14px, 4.3cqw, 24px); font-size: clamp(0.9rem, 2cqw, 1.1rem); }
/* small maps: the button gets its own strip above the landmarks */
@container (max-width: 520px) {
  .map__scene { top: 58px; }
  .map__cta { top: 14px; left: 14px; }
  .map__cta .btn--sm { min-height: 36px; padding: 0 16px; font-size: 0.68rem; }
  .map__note { display: none; }
}
@media (max-width: 560px), (min-width: 761px) and (max-width: 1180px) { .location .map { aspect-ratio: 4 / 5.3; } }

/* ---------- Language menu ---------- */
.langmenu { position: relative; }
.langmenu__btn {
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 4px;
  border: 0; background: none;
  font-size: 0.76rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0.86; transition: opacity 0.3s;
}
.langmenu__btn .icon { width: 16px; height: 16px; stroke-width: 1.3; transition: color 0.3s, transform 0.4s var(--ease); }
.langmenu__code { position: relative; padding: 6px 0; }
.langmenu__code::after {
  content: ""; position: absolute; left: 0; right: 0.18em; bottom: 0; height: 1px; background: var(--wood-light);
  transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease);
}
.langmenu__btn:focus-visible { outline: none; }
.langmenu__btn:hover, .langmenu__btn:focus-visible, .langmenu__btn[aria-expanded="true"] { opacity: 1; }
.langmenu__btn:hover .icon, .langmenu__btn:focus-visible .icon, .langmenu__btn[aria-expanded="true"] .icon { color: var(--wood-light); }
.langmenu__btn:hover .langmenu__code::after, .langmenu__btn:focus-visible .langmenu__code::after, .langmenu__btn[aria-expanded="true"] .langmenu__code::after { transform: scaleX(1); transform-origin: left; }
.langmenu__chev { width: 12px !important; height: 12px !important; margin-left: -1px; opacity: 0.7; }
.langmenu__btn[aria-expanded="true"] .langmenu__chev { transform: rotate(180deg); }
.langmenu__list {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 120; min-width: 200px; padding: 6px;
  background: var(--paper); color: var(--ink); border-radius: 16px; box-shadow: 0 24px 50px -18px rgba(7, 42, 27, 0.55);
  animation: langIn 0.35s var(--ease);
}
.langmenu__list[hidden] { display: none; }
@keyframes langIn { from { opacity: 0; transform: translateY(-6px); } }
.langmenu__list button {
  width: 100%; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 10px;
  font-size: 0.95rem; text-align: left; transition: background-color 0.25s;
}
.langmenu__list button span { width: 28px; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; color: var(--wood); }
.langmenu__list button:hover { background: var(--sand); }
.langmenu__list button[aria-current="true"] { background: var(--forest); color: var(--ivory); }
.langmenu__list button[aria-current="true"] span { color: var(--wood-light); }
@media (max-width: 560px) { .langmenu__btn { padding: 0 6px; } }

/* ---------- WhatsApp / Viber chat buttons ---------- */
.chat { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.chat__btn {
  --brand: #25d366;
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 18px 0 14px; border-radius: 999px;
  border: 1px solid rgba(245, 239, 228, 0.22); background: rgba(245, 239, 228, 0.06);
  color: var(--ivory); font-family: var(--sans) !important; font-size: 0.86rem !important; font-weight: 500; letter-spacing: 0.04em; line-height: 1 !important;
  overflow: hidden; isolation: isolate;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), color 0.45s var(--ease);
}
.chat__btn--viber { --brand: #7360f2; }
.chat__btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--brand);
  transform: translateY(101%); transition: transform 0.5s var(--ease);
}
.chat__logo { width: 20px; height: 20px; flex: none; fill: var(--brand); transition: fill 0.45s var(--ease); }
.chat__btn:hover, .chat__btn:focus-visible { transform: translateY(-2px); border-color: var(--brand); color: #fff; }
.chat__btn:hover::before, .chat__btn:focus-visible::before { transform: none; }
.chat__btn:hover .chat__logo, .chat__btn:focus-visible .chat__logo { fill: #fff; }
.contact .chat__btn { font-size: 0.86rem; }
.contact .chat__btn:hover, .contact .chat__btn:focus-visible { color: #fff; }
.contact .chat__btn span { display: inline; font-size: inherit; letter-spacing: 0.04em; text-transform: none; color: inherit; }
/* footer: two round icon buttons */
.chat--icons { margin-top: 4px; gap: 8px; }
.chat--icons .chat__btn { width: 44px; padding: 0; justify-content: center; }
.chat--icons .chat__logo { width: 19px; height: 19px; }

/* ---------- Booking ---------- */
.book { padding-top: 0; }
.book__card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 50px 100px -50px rgba(11, 59, 39, 0.55);
}
.book__intro {
  position: relative;
  padding: clamp(36px, 5vw, 72px);
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(217, 164, 98, 0.18), rgba(217, 164, 98, 0) 60%),
    var(--forest);
  color: var(--ivory);
  overflow: hidden;
}
.book__intro::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  opacity: 0.5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 120' preserveAspectRatio='none'%3E%3Cpath fill='%2313533a' d='M0 120V70l60-20 50 14 70-40 60 30 50-16 80 34 70-46 60 30 50-10 50 24v50z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
  pointer-events: none;
}
.book__intro .h2 { margin-bottom: 22px; }
.book__intro > p { color: rgba(245, 239, 228, 0.82); max-width: 26em; }
.contact { position: relative; z-index: 1; display: grid; gap: 20px; margin-top: 40px; padding-bottom: 50px; }
.contact li { display: flex; gap: 16px; align-items: flex-start; }
.contact .icon {
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  color: var(--wood-light);
}
.contact span { display: block; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(245, 239, 228, 0.55); }
.contact a, .contact p { font-family: var(--serif); font-size: 1.3rem; line-height: 1.35; overflow-wrap: anywhere; }
.contact a:hover { color: var(--wood-light); }

.form {
  display: grid;
  gap: 22px;
  align-content: center;
  padding: clamp(32px, 5vw, 72px);
  background: var(--paper);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid rgba(11, 59, 39, 0.24);
  border-radius: 0;
  background: transparent;
  font: 400 1.05rem/1.4 var(--sans);
  color: var(--ink);
  transition: border-color 0.4s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b3b27' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right center / 18px no-repeat;
  padding-right: 26px;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--forest); box-shadow: 0 1px 0 var(--forest); }
.field textarea::placeholder { color: rgba(86, 101, 91, 0.7); }
.form .btn { margin-top: 8px; }
.form__note { font-size: 0.82rem; color: var(--muted); text-align: center; }
.form__status { font-size: 0.92rem; color: var(--forest); text-align: center; min-height: 1.4em; }
.form__status.is-error { color: #a33a2a; }
.form__status a { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.form__fields { display: grid; gap: 22px; }
.form__fields[hidden], .form__done[hidden] { display: none; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* sent */
.form__done { display: grid; justify-items: center; gap: 18px; padding: 24px 0; text-align: center; }
.form__done .h3 { margin: 0; }
.form__done .h3:focus { outline: none; }
.form__done p { max-width: 30em; color: var(--muted); }
.form__done p strong { color: var(--ink); font-weight: 500; }
.form__done-icon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--forest); color: var(--wood-light); }
.form__done-icon .icon { width: 30px; height: 30px; stroke-width: 2; }

/* ---------- Availability calendar ---------- */
.cal { container-type: inline-size; display: grid; gap: 14px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cal__label { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.cal__nav { display: flex; gap: 8px; }
.cal__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--forest);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), opacity 0.35s;
}
.cal__btn:hover:not(:disabled) { background: var(--forest); border-color: var(--forest); color: var(--ivory); }
.cal__btn:disabled { opacity: 0.3; cursor: default; }
.cal__btn--prev .icon { transform: scaleX(-1); }

.cal__months { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; transition: opacity 0.4s var(--ease); }
.cal__month + .cal__month { display: none; }
@container (min-width: 540px) {
  .cal__months { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .cal__month + .cal__month { display: block; }
}
.cal.is-loading .cal__months { opacity: 0.4; pointer-events: none; }
.cal__title { margin-bottom: 10px; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; line-height: 1.2; color: var(--forest); text-align: center; }
.cal__title::first-letter { text-transform: uppercase; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 4px; }
.cal__wd { padding-bottom: 6px; font-size: 0.64rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-align: center; }

.cal__day {
  position: relative;
  display: grid;
  place-items: center;
  height: 42px;
  isolation: isolate;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.cal__day > span {
  position: relative;
  display: grid;
  place-items: center;
  width: min(38px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
/* the band behind a run of days (booked stays, your stay) */
.cal__day::before { content: ""; position: absolute; inset: 2px 0; z-index: -1; }
.cal__day[aria-disabled="true"] { cursor: default; }
.cal__day:not([aria-disabled="true"]):hover > span { background: rgba(11, 59, 39, 0.08); }
.cal__day:focus-visible { outline: none; }
.cal__day:focus-visible > span { outline: 2px solid var(--wood); outline-offset: 1px; }
.cal__day.is-today > span::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--wood);
}
.cal__day.is-past > span { color: rgba(19, 38, 28, 0.26); }

.cal__day.is-booked::before { background: var(--sand); }
.cal__day.is-bk-start::before { left: 3px; border-radius: 999px 0 0 999px; }
.cal__day.is-bk-end::before { right: 3px; border-radius: 0 999px 999px 0; }
.cal__day.is-bk-start.is-bk-end::before { border-radius: 999px; }
.cal__day.is-booked > span { color: rgba(86, 101, 91, 0.6); text-decoration: line-through; text-decoration-color: rgba(86, 101, 91, 0.45); }
.cal__day.is-co > span { color: var(--ink); text-decoration: none; }

.cal__day.is-in::before,
.cal__day.is-start.has-range::before,
.cal__day.is-end::before { background: rgba(217, 164, 98, 0.42); border-radius: 0; left: 0; right: 0; }
.cal__day.is-start.has-range::before { left: 50%; }
.cal__day.is-end::before { right: 50%; }
.cal__day.is-preview::before { background: rgba(217, 164, 98, 0.18); }
.cal__day.is-preview-end > span { box-shadow: inset 0 0 0 1.5px var(--forest); }
.cal__day.is-start > span,
.cal__day.is-end > span { background: var(--forest) !important; color: var(--ivory); text-decoration: none; }
.cal__day.is-start > span::after,
.cal__day.is-end > span::after { background: var(--wood-light); }

.cal__legend { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 0.78rem; color: var(--muted); }
.cal__legend li { display: inline-flex; align-items: center; gap: 8px; }
.cal__legend i { width: 14px; height: 14px; border-radius: 50%; }
.cal__legend .is-free { box-shadow: inset 0 0 0 1px rgba(11, 59, 39, 0.3); }
.cal__legend .is-booked { background: var(--sand); }
.cal__legend .is-stay { background: var(--forest); }

.cal__sum {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 16px;
  min-height: 62px;
  padding: 8px 0;
  border-block: 1px solid var(--line);
}
.cal__sum-text { font-size: 0.95rem; color: var(--muted); }
.cal__sum-text strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; color: var(--forest); }
.cal__sum-text .cal__nights { margin-left: 6px; color: var(--wood); white-space: nowrap; }
.cal__clear {
  min-height: 44px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cal__clear:hover { color: var(--wood); }
.cal__note { font-size: 0.85rem; color: #8a5a1f; }

/* ---------- Footer ---------- */
.footer { background: var(--forest-deep); color: rgba(245, 239, 228, 0.78); padding-top: clamp(70px, 8vw, 110px); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: clamp(50px, 6vw, 80px);
  border-bottom: 1px solid rgba(245, 239, 228, 0.1);
}
.footer__brand img { width: 220px; height: auto; margin-bottom: 22px; }
.footer__brand p { max-width: 24em; font-size: 0.95rem; }
.footer__col { display: grid; gap: 10px; align-content: start; font-size: 0.95rem; }
.footer__col h4 { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--wood-light); margin-bottom: 8px; }
.footer__col a { width: fit-content; transition: color 0.3s; }
.footer__col a:hover { color: var(--ivory); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-block: 26px 34px;
  font-size: 0.82rem;
  color: rgba(245, 239, 228, 0.5);
}
.footer__top:hover { color: var(--ivory); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  grid-template-columns: 72px 1fr 72px;
  align-items: center;
  background: rgba(4, 24, 15, 0.95);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__figure { margin: 0; display: grid; justify-items: center; gap: 14px; grid-column: 2; }
.lightbox__figure img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  max-height: calc(100svh - 140px);
  width: auto;
  border-radius: 14px;
  transform: scale(0.96);
  opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.45s var(--ease);
}
.lightbox__figure img.is-ready { transform: none; opacity: 1; }
.lightbox figcaption { display: flex; gap: 18px; align-items: baseline; color: var(--ivory); }
.lightbox__cap { font-family: var(--serif); font-size: 1.4rem; }
.lightbox__count { font-size: 0.78rem; letter-spacing: 0.18em; color: rgba(245, 239, 228, 0.55); }
.lightbox__btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(245, 239, 228, 0.25);
  color: var(--ivory);
  padding: 0;
  line-height: 0;
  display: grid;
  place-items: center;
  justify-self: center;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.lightbox__btn .icon { width: 22px; height: 22px; stroke-width: 1.6; }
.lightbox__btn:hover { background: var(--ivory); color: var(--forest); }
.lightbox__btn:focus-visible { outline: none; border-color: var(--wood-light); box-shadow: 0 0 0 1px var(--wood-light); }
.lightbox__close { position: absolute; top: 18px; right: 18px; }
.lightbox__prev { grid-column: 1; grid-row: 1; }
.lightbox__next { grid-column: 3; grid-row: 1; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .nav__book { display: none; }
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .highlights li:nth-child(3) { padding-left: 0; border-left: 0; }
  .highlights li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats li:nth-child(n + 3) { border-top: 1px solid var(--line-light); }
}

@media (max-width: 920px) {
  :root { --nav-h: 72px; }
  .burger { display: block; }
  .nav__links {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 90px var(--gutter) 40px;
    background: var(--forest-deep);
    clip-path: circle(0 at calc(100% - 44px) 36px);
    transition: clip-path 0.8s var(--ease);
    visibility: hidden;
  }
  .nav--open .nav__links { clip-path: circle(150% at calc(100% - 44px) 36px); visibility: visible; }
  .nav__links a {
    font-family: var(--serif);
    font-size: clamp(2rem, 8vw, 2.8rem);
    letter-spacing: 0;
    text-transform: none;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  }
  .nav--open .nav__links a { opacity: 1; transform: none; }
  .nav--open .nav__links a:nth-child(2) { transition-delay: 0.05s; }
  .nav--open .nav__links a:nth-child(3) { transition-delay: 0.1s; }
  .nav--open .nav__links a:nth-child(4) { transition-delay: 0.15s; }
  .nav--open .nav__links a:nth-child(5) { transition-delay: 0.2s; }
  .nav--open .nav__links a:nth-child(6) { transition-delay: 0.25s; }
  .nav__links a::after { display: none; }
  .nav__menu-book { display: block; color: var(--wood-light); }
  .nav--open { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

  .hero { align-items: flex-start; }
  .hero__grid { grid-template-columns: 1fr; padding-top: calc(var(--nav-h) + 36px); padding-bottom: 110px; gap: 56px; }
  .hero__media { justify-self: center; width: min(78%, 420px); }
  .hero__inset { left: -14%; width: 42%; }
  .badge { right: -10%; width: 104px; height: 104px; }
  .hero__scroll { display: none; }

  .about__grid,
  .location__grid { grid-template-columns: 1fr; }
  .room,
  .room--flip { grid-template-columns: 1fr; }
  .room--flip .room__media { order: 0; }
  .room__media { aspect-ratio: 4 / 4.4; }
  .book__card { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .lightbox { grid-template-columns: 1fr; padding: 70px 12px 90px; }
  .lightbox__figure { grid-column: 1; }
  .lightbox__prev, .lightbox__next { position: absolute; bottom: 22px; grid-row: auto; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { left: calc(50% + 12px); }
}

@media (max-width: 760px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); padding-bottom: 36px; }
  .g-item:nth-child(4n + 2), .g-item:nth-child(4n + 4) { translate: none; }
  .g-item:nth-child(even) { translate: 0 36px; }
  .feature { align-items: flex-end; min-height: 88vh; }
  .feature__shade { background: linear-gradient(0deg, rgba(7, 42, 27, 0.92) 0%, rgba(7, 42, 27, 0.5) 50%, rgba(7, 42, 27, 0.1) 100%); }
  .map { aspect-ratio: 4 / 4.6; }
}

@media (max-width: 560px) {
  .nav__logo img { height: 42px; }
  .lang span { padding: 5px 8px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__facts { gap: 16px 26px; }
  .hero__facts strong { font-size: 1.4rem; }
  .highlights { grid-template-columns: 1fr; }
  .highlights li, .highlights li + li { padding: 26px 0 18px; border-left: 0; }
  .highlights li + li { border-top: 1px solid var(--line); }
  .stats li, .stats li + li { padding-left: 0; padding-right: 12px; }
  .stats li:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line-light); }
  .seasons { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .form { padding-inline: 22px; }
  .footer__grid { grid-template-columns: 1fr; }
  .distances li { flex-direction: column; gap: 2px; }
  .distances li span:last-child { text-align: left; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
  .js [data-reveal], .js [data-split] .w > span, .js [data-reveal="clip"], .js [data-reveal="clip"] img,
  .js .arch[data-reveal="arch"], .js .arch .arch__inner {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
  .marquee__track { animation: none; }
}
