/* Jodłowy Stok: arkusz stylów (strona główna i strona obiektu) */

@font-face { font-family: 'Brygada 1918'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/brygada-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Brygada 1918'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/brygada-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/schibsted-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/schibsted-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --fir: #1d3a2f;
  --fir-2: #2a4a3d;
  --fir-deep: #13261f;
  --moss: #5b7266;
  --sage: #dfe6df;
  --stone: #7c7e76;
  --stone-2: #c6c8bf;
  --stone-3: #e4e5df;
  --snow: #f4f5f1;
  --white: #fff;
  --wood: #9a5d2e;
  --wood-2: #84501f;
  --wood-light: #d9a774;
  --ink: #17201c;
  --ink-2: #4a524d;
  --focus: #b5631f;
  --serif: 'Brygada 1918', 'Iowan Old Style', Georgia, serif;
  --sans: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --radius: 6px;
  --header: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 12px); }
body { margin: 0; background: var(--snow); color: var(--ink); font: 400 17px/1.6 var(--sans); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.on-dark :focus-visible, .area :focus-visible, .site-footer :focus-visible, .search__bar :focus-visible { outline-color: #f2c48b; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--white); padding: 12px 16px; border-radius: 4px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.h2 { font-family: var(--serif); font-size: clamp(2.05rem, 3.7vw, 3.5rem); line-height: 1.04; letter-spacing: -0.012em; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 4px; font-weight: 600; font-size: 15.5px; text-decoration: none; letter-spacing: .01em; transition: background-color .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn--wood { background: var(--wood); color: #fff; }
.btn--wood:hover { background: var(--wood-2); }
.btn--fir { background: var(--fir); color: #fff; }
.btn--fir:hover { background: var(--fir-deep); }
.btn--ghost { background: transparent; border: 1px solid var(--stone-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--line { background: transparent; border: 1px solid currentColor; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link { color: var(--fir); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.link:hover { text-decoration-thickness: 2px; }

/* ---------- nagłówek ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: color .3s; }
.site-header::before { content: ''; position: absolute; inset: 0; background: rgba(244, 245, 241, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); opacity: 0; transition: opacity .3s; box-shadow: 0 1px 0 rgba(23, 32, 28, .08); }
.site-header.is-solid { color: var(--ink); }
.site-header.is-solid::before { opacity: 1; }
.site-header__bar { position: relative; display: flex; align-items: center; gap: 28px; height: var(--header); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-height: 44px; }
.logo__mark { width: 34px; height: 34px; fill: currentColor; stroke: currentColor; }
.logo__mark path:first-child, .logo__mark path:nth-child(2) { stroke: none; }
.logo__word { font-family: var(--serif); font-size: 23px; font-weight: 600; letter-spacing: -.005em; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav__list { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav__list a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 15.5px; font-weight: 500; position: relative; }
.nav__list a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav__list a:hover::after { transform: scaleX(1); }
.nav__contact { display: none; }
.season-switch { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .5); }
.is-solid .season-switch { border-color: var(--stone-2); }
.season-switch button { min-height: 38px; min-width: 58px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; font-size: 14.5px; font-weight: 600; }
.season-switch button[aria-pressed="true"] { background: #fff; color: var(--fir); }
.is-solid .season-switch button[aria-pressed="true"] { background: var(--fir); color: #fff; }
.header-cta { min-height: 44px; }
.menu-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; position: relative; margin-right: -10px; }
.menu-toggle__lines, .menu-toggle__lines::before, .menu-toggle__lines::after { position: absolute; left: 13px; width: 22px; height: 2px; background: currentColor; transition: transform .3s, opacity .2s; }
.menu-toggle__lines { top: 23px; }
.menu-toggle__lines::before, .menu-toggle__lines::after { content: ''; left: 0; }
.menu-toggle__lines::before { top: -7px; }
.menu-toggle__lines::after { top: 7px; }
.menu-open .menu-toggle__lines { background: transparent; }
.menu-open .menu-toggle__lines::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle__lines::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) { .nav__list { gap: 18px; } .nav { gap: 18px; } .site-header__bar { gap: 18px; } }
@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 28px; padding: calc(var(--header) + 24px) var(--gutter) 40px; background: var(--fir-deep); color: #fff; visibility: hidden; opacity: 0; transition: opacity .3s, visibility 0s .3s; overflow-y: auto; }
  .menu-open .nav { visibility: visible; opacity: 1; transition: opacity .3s; }
  .menu-open .site-header { color: #fff; }
  .menu-open .site-header::before { opacity: 0; }
  .nav__list { flex-direction: column; gap: 4px; }
  .nav__list a { font-family: var(--serif); font-size: 32px; min-height: 56px; }
  .nav__list a::after { display: none; }
  .nav .season-switch { border-color: rgba(255, 255, 255, .5); }
  .nav .season-switch button[aria-pressed="true"] { background: #fff; color: var(--fir); }
  .nav__contact { display: block; color: var(--stone-2); line-height: 1.8; margin-top: auto; }
  .menu-open body { overflow: hidden; }
}

/* ---------- hero ---------- */
.hero { position: relative; height: calc(100svh - 24px); min-height: 640px; max-height: 1080px; color: #fff; overflow: hidden; background: #2b3a36; }
.hero__media { position: absolute; inset: 0 0 -10%; will-change: transform; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transition: opacity 1.1s ease; }
.hero__img--lato { opacity: 0; object-position: 50% 45%; }
[data-season="lato"] .hero__img--lato.is-loaded { opacity: 1; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 24, 20, .55) 0%, rgba(13, 24, 20, .32) 34%, rgba(13, 24, 20, 0) 62%), linear-gradient(90deg, rgba(13, 24, 20, .42) 0%, rgba(13, 24, 20, 0) 58%); }
.hero__content { position: relative; z-index: 2; padding-top: calc(var(--header) + clamp(36px, 9vh, 110px)); will-change: transform, opacity; }
.hero__title { font-family: var(--serif); font-weight: 500; font-size: clamp(3rem, 6.7vw, 6.6rem); line-height: .97; letter-spacing: -.02em; max-width: 11.5ch; text-wrap: balance; }
.hero__lead { margin-top: clamp(20px, 3vh, 32px); max-width: 33rem; font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.55; color: rgba(255, 255, 255, .92); }
.hero__caption { position: absolute; z-index: 2; right: max(var(--gutter), calc((100vw - var(--max)) / 2)); top: calc(var(--header) + 24px); font-size: 13.5px; color: rgba(255, 255, 255, .78); display: flex; align-items: center; gap: 10px; }
[data-season="zima"] .only-lato, [data-season="lato"] .only-zima { display: none; }
.hero__caption::before { content: ''; width: 26px; height: 1px; background: currentColor; }
.hero__ridges { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(200px, 36vh, 400px); z-index: 1; pointer-events: none; }
.ridge { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; will-change: transform; }
.ridge-mist-a { stop-color: #5b6f68; }
.ridge-mist-b { stop-color: #253a32; }
.ridge--near path { fill: #1c3029; }
.ridge__snow { fill: var(--snow); }
.ridge__firs { fill: #13241d; }
[data-season="lato"] .ridge-mist-a { stop-color: #4f6a55; }
[data-season="lato"] .ridge-mist-b { stop-color: #233a2c; }

/* ---------- wyszukiwarka ---------- */
.search { position: relative; z-index: 6; margin-top: -78px; }
.search__bar { display: grid; grid-template-columns: 1fr 1fr 1.15fr auto; align-items: stretch; background: var(--fir-deep); color: #fff; border-radius: var(--radius); box-shadow: 0 24px 60px -20px rgba(19, 38, 31, .55); padding: 8px; gap: 0; }
.search__field { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 2px; min-height: 70px; padding: 10px 22px; border: 0; background: transparent; text-align: left; border-radius: 4px; position: relative; }
.search__field + .search__field::before { content: ''; position: absolute; left: 0; top: 16px; bottom: 16px; width: 1px; background: rgba(255, 255, 255, .16); }
button.search__field:hover { background: rgba(255, 255, 255, .06); }
button.search__field[aria-expanded="true"] { background: rgba(255, 255, 255, .1); }
.search__label { font-size: 13.5px; color: #b9c6bd; }
.search__value { font-family: var(--serif); font-size: 21px; line-height: 1.2; }
.search__go { min-height: 70px; padding: 0 30px; font-size: 16.5px; }
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; display: grid; place-items: center; }
.stepper__btn:hover { border-color: #fff; }
.stepper__btn[disabled] { opacity: .35; cursor: default; }
.stepper output { min-width: 5.6em; text-align: center; }
.search__guests { padding-top: 6px; padding-bottom: 6px; }
.search__pop { position: absolute; left: 0; right: 0; top: calc(100% + 10px); background: var(--white); color: var(--ink); border-radius: var(--radius); box-shadow: 0 30px 80px -24px rgba(19, 38, 31, .45); padding: 26px 30px 22px; z-index: 30; }
.search__pop.is-up { top: auto; bottom: calc(100% + 10px); }
.search__pop-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--stone-3); }
.search__rules { font-size: 14px; color: var(--ink-2); max-width: 44rem; }
.search__pop-actions { display: flex; gap: 10px; }

/* ---------- kalendarz ---------- */
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.cal-status { flex: 1; text-align: center; font-size: 15px; color: var(--ink-2); min-height: 24px; }
.cal-nav { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--stone-2); background: #fff; display: grid; place-items: center; flex: none; }
.cal-nav:hover:not([disabled]) { border-color: var(--ink); }
.cal-nav[disabled] { opacity: .3; cursor: default; }
.cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.cal-title { font-family: var(--serif); font-size: 21px; text-align: center; margin-bottom: 10px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-wd { text-align: center; font-size: 12.5px; color: var(--stone); padding-bottom: 6px; }
.cal-day { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 52px; padding: 4px 0; border: 0; border-radius: 4px; background: transparent; line-height: 1.1; }
.cal-n { font-size: 15.5px; font-weight: 500; }
.cal-p { font-size: 11.5px; color: var(--ink-2); min-height: 13px; font-variant-numeric: tabular-nums; }
.cal-day:hover:not([disabled]) { background: var(--stone-3); }
.cal-day.is-weekend .cal-p, .cal-day.is-swieto .cal-p { color: var(--wood); font-weight: 600; }
.cal-day.is-swieto .cal-n::after { content: ''; position: absolute; top: 6px; right: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--wood); }
.cal-day.is-busy { color: #a2a49c; background: repeating-linear-gradient(135deg, transparent 0 5px, rgba(124, 126, 118, .14) 5px 6px); }
.cal-day.is-busy .cal-n { text-decoration: line-through; text-decoration-color: rgba(124, 126, 118, .6); }
.cal-day.is-past { color: #bfc1b9; }
.cal-day.is-busy.is-out { color: var(--ink-2); }
.cal-day[disabled] { cursor: default; }
.cal-day.is-no-out:not(.is-busy) { opacity: .5; }
.cal-day.is-in, .cal-day.is-hover { background: var(--sage); border-radius: 0; }
.cal-day.is-start, .cal-day.is-end { background: var(--fir); color: #fff; }
.cal-day.is-start .cal-p, .cal-day.is-end .cal-p { color: #cfe0d5; }
.cal-day.is-start { border-radius: 4px 0 0 4px; }
.cal-day.is-end { border-radius: 0 4px 4px 0; }
.cal-day.is-start:not(.is-end) + .cal-day:not(.is-in):not(.is-end) { border-radius: 4px; }
.cal-day.is-today .cal-n { text-decoration: underline; text-underline-offset: 3px; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-size: 13px; color: var(--ink-2); }
.cal-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.lg--free { background: var(--white); border: 1px solid var(--stone-2); }
.lg--wknd { background: var(--wood); }
.lg--busy { background: repeating-linear-gradient(135deg, var(--white) 0 3px, #b8bab1 3px 4px); border: 1px solid var(--stone-2); }

/* ---------- lista obiektów ---------- */
.stays { padding-bottom: clamp(72px, 9vw, 130px); }
.stays__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 40px; margin-top: clamp(56px, 7vw, 96px); }
.stays__summary { max-width: 34rem; color: var(--ink-2); font-size: 16px; }
.stays__summary strong { color: var(--ink); font-weight: 600; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 40px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px 0 14px; border-radius: 999px; border: 1px solid var(--stone-2); background: var(--white); font-size: 15px; font-weight: 500; transition: background-color .2s, color .2s, border-color .2s; }
.chip .ico { width: 19px; height: 19px; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--fir); border-color: var(--fir); color: #fff; }
.stays__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 5vw, 72px) clamp(28px, 3.5vw, 52px); }
.stay { display: grid; gap: 22px; align-content: start; }
.stay--domek { grid-column: 1 / -1; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.stay--domek.is-flip .stay__media { order: 2; }
.stay__media { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--stone-3); }
.stay__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.stay--domek .stay__media img { aspect-ratio: 16 / 11; }
.stay__media:hover img { transform: scale(1.03); }
.stay__flag { position: absolute; left: 14px; top: 14px; background: var(--white); color: var(--ink); font-size: 13.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.stay__kind { font-size: 14.5px; color: var(--ink-2); }
.stay__name { font-family: var(--serif); font-size: clamp(1.75rem, 2.4vw, 2.35rem); line-height: 1.08; margin-top: 4px; }
.stay--domek .stay__name { font-size: clamp(2.1rem, 3.2vw, 3rem); }
.stay__name a { text-decoration: none; }
.stay__name a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.stay__short { margin-top: 12px; color: var(--ink-2); max-width: 36rem; }
.stay__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; font-size: 15px; color: var(--ink); }
.stay__meta span { display: inline-flex; align-items: center; gap: 7px; }
.stay__meta .ico { color: var(--moss); }
.stay__amen { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; padding: 0; list-style: none; }
.stay__amen li { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; padding: 5px 11px 5px 9px; border-radius: 999px; background: var(--stone-3); color: var(--ink); }
.stay__amen .ico { width: 16px; height: 16px; }
.stay__amen li.is-hit { background: var(--sage); color: var(--fir); font-weight: 600; }
.stay__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--stone-3); }
.stay__price { line-height: 1.3; }
.stay__price strong { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.stay__price small { display: block; font-size: 13.5px; color: var(--ink-2); }
.stay__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.stays__other { margin-top: clamp(56px, 6vw, 84px); }
.stays__other:empty { display: none; }
.other__title { font-family: var(--serif); font-size: 24px; margin-bottom: 18px; }
.other__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 12px 32px; }
.other__item { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; padding: 10px 0; }
.other__item img { width: 96px; height: 72px; object-fit: cover; border-radius: 4px; filter: grayscale(.6); opacity: .85; }
.other__item strong { font-family: var(--serif); font-size: 19px; font-weight: 500; display: block; }
.other__item span { font-size: 14.5px; color: var(--ink-2); }
.other__item a { text-decoration: none; }
.other__item a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.empty { padding: 34px; background: var(--white); border-radius: var(--radius); grid-column: 1 / -1; }
.empty h3 { font-family: var(--serif); font-size: 26px; margin-bottom: 8px; }
.empty .btn { margin-top: 18px; }

/* ---------- na miejscu ---------- */
.onsite { padding: clamp(72px, 9vw, 130px) 0; background: var(--white); }
.onsite__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 44px); align-items: start; }
.onsite__photo img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.onsite__photo--big { grid-column: 1 / 8; grid-row: 1 / 3; }
.onsite__photo--big img { aspect-ratio: 4 / 5; object-position: 50% 100%; }
.onsite__text { grid-column: 8 / 13; padding-top: clamp(0px, 3vw, 40px); }
.onsite__lead { margin-top: 22px; font-size: 18.5px; color: var(--ink-2); }
.facts { margin: 34px 0 0; display: grid; gap: 22px; }
.facts div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 18px; padding-top: 18px; border-top: 1px solid var(--stone-3); }
.facts dt { font-family: var(--serif); font-size: 20px; line-height: 1.3; }
.facts dd { margin: 0; color: var(--ink-2); font-size: 16px; }
.onsite__photo--small { grid-column: 9 / 13; margin-top: 44px; }
.onsite__photo--small img { aspect-ratio: 3 / 2; }

/* ---------- sezony ---------- */
.seasons { padding: clamp(72px, 9vw, 130px) 0; }
.seasons__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: clamp(32px, 4vw, 52px); }
.season-switch--big { border-color: var(--stone-2); }
.season-switch--big button { min-height: 48px; min-width: 96px; font-size: 16px; }
.season-switch--big button[aria-pressed="true"] { background: var(--fir); color: #fff; }
.seasons__body { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 4.5vw, 72px); align-items: start; }
.season__photo { position: sticky; top: calc(var(--header) + 24px); }
.season__photo img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: var(--radius); }
.season__photo figcaption { margin-top: 10px; font-size: 13.5px; color: var(--ink-2); }
.season__title { font-family: var(--serif); font-size: clamp(1.7rem, 2.4vw, 2.3rem); line-height: 1.1; }
.season__lead { margin-top: 14px; color: var(--ink-2); font-size: 17.5px; max-width: 34rem; }
.acts { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 30px; }
.act { display: grid; grid-template-columns: 168px 1fr; gap: 22px; align-items: start; }
.act img { width: 168px; height: 126px; object-fit: cover; border-radius: 4px; }
.act--text { grid-template-columns: 1fr; padding: 22px 24px; background: var(--white); border-radius: var(--radius); }
.act h3 { font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.act p { margin-top: 6px; color: var(--ink-2); font-size: 16px; }
.act__m { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13.5px; font-weight: 600; color: var(--fir); }
.act__m .ico { width: 16px; height: 16px; }
.season-fade { animation: fadeIn .5s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- okolica i mapa ---------- */
.area { background: var(--fir-deep); color: #eef1ec; padding: clamp(72px, 9vw, 130px) 0; }
.area__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 56px; align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.area__lead { color: #c3cec6; font-size: 17px; }
.area__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.map { position: relative; }
.map__frame { position: relative; border-radius: var(--radius); overflow: hidden; background: #f1f2ee; touch-action: none; cursor: grab; }
.map__frame.is-drag { cursor: grabbing; }
.map__svg { width: 100%; height: auto; aspect-ratio: 1000 / 961.8; user-select: none; -webkit-user-select: none; }
.map__tools { position: absolute; right: 14px; top: 14px; display: grid; gap: 6px; }
.map__btn { width: 44px; height: 44px; border-radius: 4px; border: 0; background: rgba(255, 255, 255, .95); color: var(--ink); display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); }
.map__btn:hover { background: #fff; }
.map__btn[disabled] { opacity: .45; cursor: default; }
.map__key { position: absolute; left: 14px; bottom: 14px; margin: 0; padding: 10px 14px; list-style: none; display: grid; grid-template-columns: auto auto; gap: 4px 18px; background: rgba(255, 255, 255, .92); color: var(--ink); border-radius: 4px; font-size: 12.5px; }
.map__credit { margin-top: 10px; font-size: 12.5px; color: #9fb0a5; }
.map__key li { display: flex; align-items: center; gap: 8px; }
.k { display: inline-block; width: 22px; height: 0; border-top: 2px dashed #b5483c; }
.k--piste { border-top: 3px solid rgba(64, 112, 166, .7); }
.k--lift { border-top: 1.5px solid #222; }
.k--road { height: 5px; border: 1px solid #9a8f80; background: #fff; }
.m-c { fill: none; stroke: #7f8378; stroke-width: .38; opacity: .5; }
.m-c--major { stroke-width: .75; opacity: .62; }
.m-stream { fill: none; stroke: #86a5b7; stroke-width: .6; }
.m-river { fill: none; stroke: #6d93aa; stroke-width: 1.5; }
.m-road-minor { fill: none; stroke: #fff; stroke-width: 1.5; }
.m-road-casing { fill: none; stroke: #9a8f80; stroke-width: 3.2; }
.m-road { fill: none; stroke: #fff; stroke-width: 2.1; }
.m-trail { fill: none; stroke-width: 1.4; stroke-dasharray: 3.2 2.2; transition: opacity .4s; }
.m-trail--red { stroke: #b5483c; } .m-trail--green { stroke: #3d7a4e; } .m-trail--blue { stroke: #39689a; } .m-trail--yellow { stroke: #c19414; } .m-trail--black { stroke: #2a2a2a; }
.m-piste { fill: none; stroke: #4070a6; stroke-width: 2.6; stroke-linecap: round; opacity: .55; transition: opacity .4s; }
.m-lift { fill: none; stroke: #1d1d1d; stroke-width: .8; }
[data-season="lato"] .m-piste { opacity: .16; }
[data-season="zima"] .m-trail { opacity: .62; }
.m-labels text { font-family: var(--serif); fill: #3a3f3a; paint-order: stroke; stroke: rgba(244, 245, 241, .85); stroke-width: 3px; stroke-linejoin: round; }
.m-valley { font-size: 12px; fill: #46644f !important; letter-spacing: .06em; }
.m-place { font-size: 15px; font-weight: 500; }
.m-place--village { font-size: 13px; }
.m-peak text { font-size: 9.5px; }
.m-peak .m-ele { font-size: 8px; fill: #686c64; }
.m-peak path { fill: #3a3f3a; stroke: none; }
.m-poi { cursor: pointer; outline: none; }
.m-poi__dot { stroke: #fff; stroke-width: 2.2; transition: r .2s; }
.m-poi__ring { fill: none; stroke: var(--wood); stroke-width: 2.4; opacity: 0; }
.m-poi__label { font-family: var(--sans); font-size: 12.5px; font-weight: 600; fill: var(--ink); paint-order: stroke; stroke: rgba(255, 255, 255, .95); stroke-width: 3.6px; stroke-linejoin: round; pointer-events: none; }
.m-poi.is-on .m-poi__ring, .m-poi:focus-visible .m-poi__ring { opacity: 1; }
.m-poi:hover .m-poi__dot { stroke-width: 3; }
.m-poi.is-off { opacity: .45; }
.m-poi.is-on { opacity: 1; }
.m-poi--dom .m-poi__house { fill: var(--wood); stroke: #fff; stroke-width: 1.8; }
.poi { display: grid; gap: 22px; }
.poi__card { background: var(--snow); color: var(--ink); border-radius: var(--radius); padding: 26px 26px 24px; min-height: 280px; }
.poi__type { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--wood); }
.poi__type i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.poi__name { font-family: var(--serif); font-size: clamp(1.7rem, 2.3vw, 2.2rem); line-height: 1.1; margin-top: 8px; }
.poi__text { margin-top: 12px; color: var(--ink-2); font-size: 16px; }
.poi__rows { margin: 18px 0 0; display: grid; gap: 0; }
.poi__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--stone-3); font-size: 15px; }
.poi__rows dt { color: var(--ink-2); }
.poi__rows dd { margin: 0; font-weight: 600; text-align: right; }
.poi__list { display: flex; flex-wrap: wrap; gap: 8px; }
.poi__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: transparent; color: #e6ebe6; font-size: 14.5px; }
.poi__btn i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.poi__btn:hover { border-color: rgba(255, 255, 255, .6); }
.poi__btn[aria-pressed="true"] { background: #eef1ec; color: var(--fir-deep); border-color: #eef1ec; }

/* ---------- przyjazd ---------- */
.arrive { padding-bottom: clamp(72px, 9vw, 130px); }
.arrive__band { position: relative; }
.arrive__band img { width: 100%; height: clamp(240px, 34vw, 520px); object-fit: cover; }
.arrive__band figcaption { position: absolute; right: var(--gutter); bottom: 14px; font-size: 13px; color: rgba(255, 255, 255, .85); }
.arrive__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); margin-top: clamp(56px, 7vw, 96px); }
.hosts__text { margin-top: 22px; color: var(--ink-2); font-size: 17.5px; }
.hosts__sign { margin-top: 18px; font-family: var(--serif); font-size: 24px; color: var(--fir); }
.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px clamp(28px, 4vw, 56px); }
.rule h3 { font-family: var(--serif); font-size: 23px; margin-bottom: 10px; }
.rule p { color: var(--ink-2); font-size: 16px; }
.rule p + p { margin-top: 10px; }
.rule--contact { background: var(--fir); color: #fff; padding: 26px 28px; border-radius: var(--radius); }
.rule--contact p { color: #d3ddd6; }
.rule__big { font-family: var(--serif); font-size: 28px; color: #fff !important; }

/* ---------- stopka ---------- */
.site-footer { background: var(--fir-deep); color: #c3cec6; padding: 56px 0 44px; font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 4fr); gap: 32px; align-items: start; }
.logo--footer { color: #fff; margin: 0 0 14px; }
.site-footer__nav { display: grid; gap: 2px; }
.site-footer__nav a { text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; }
.site-footer__nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer__legal a { color: #fff; }

/* ---------- dialog rezerwacji ---------- */
.dialog-open { overflow: hidden; }
.book { width: min(1040px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 8px; background: var(--white); color: var(--ink); box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .5); overflow: auto; }
.book::backdrop { background: rgba(12, 22, 18, .62); }
.book__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); position: relative; }
.book__close { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); display: grid; place-items: center; z-index: 2; }
.book__close:hover { background: var(--stone-3); }
.book__summary { background: var(--snow); }
.book__summary > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.book__sum-body { padding: 24px 28px 28px; }
.book__kind { font-size: 14px; color: var(--ink-2); }
.book__obj { font-family: var(--serif); font-size: 28px; line-height: 1.1; margin: 4px 0 14px; }
.book__dates { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin-top: 8px; }
.book__dates .ico { color: var(--moss); margin-top: 2px; }
.book__main { padding: 34px 36px 32px; }
.book__title { font-family: var(--serif); font-size: 30px; line-height: 1.1; padding-right: 40px; }
.book__intro { margin: 10px 0 22px; color: var(--ink-2); font-size: 15.5px; }
.book__fine { margin-top: 12px; font-size: 13.5px; color: var(--ink-2); text-align: center; }
.book__done { padding-top: 10px; }
.book__done p { margin-top: 12px; color: var(--ink-2); }
.book__done .btn { margin-top: 24px; }
.done-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--sage); color: var(--fir); display: grid; place-items: center; margin-bottom: 18px; }
.done-mark .ico { width: 28px; height: 28px; stroke-width: 2; }
.done-num strong { font-family: var(--serif); font-size: 22px; color: var(--ink); letter-spacing: .02em; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 14.5px; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #a9aba2; border-radius: 4px; background: var(--white); font-size: 16px; }
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--fir); outline: 2px solid var(--fir); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field__err { font-size: 13.5px; color: #a3231b; min-height: 0; }
.field__err:empty { display: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; align-items: end; }
.field--check { grid-template-columns: 24px 1fr; align-items: start; gap: 4px 10px; }
.field--check input { width: 22px; height: 22px; min-height: 0; margin: 1px 0 0; accent-color: var(--fir); }
.field--check label { font-weight: 400; font-size: 15px; }
.field--check .field__err { grid-column: 2; }
.field--dog { align-self: center; margin-top: 14px; }
.price-rows { margin: 18px 0 0; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-top: 1px solid var(--stone-3); }
.price-row dt { font-size: 15px; }
.price-row dt small { display: block; font-size: 13px; color: var(--ink-2); }
.price-row dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 500; white-space: nowrap; }
.price-row.is-discount dd { color: var(--fir); font-weight: 600; }
.price-row--total { border-top: 2px solid var(--ink); padding-top: 14px; }
.price-row--total dt { font-family: var(--serif); font-size: 20px; }
.price-row--total dd { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.price-note { margin-top: 10px; font-size: 13.5px; color: var(--ink-2); }
.price-tip { margin-top: 10px; font-size: 13.5px; color: var(--fir); font-weight: 600; }

/* ---------- strona obiektu ---------- */
.page-obj .site-header { color: var(--ink); }
.obj-top { padding-top: calc(var(--header) + 28px); }
.crumbs { font-size: 14.5px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--stone-2); }
.crumbs span[aria-hidden] { color: var(--stone); }
.obj-title { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; margin-top: 16px; }
.obj-title h1 { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.015em; }
.obj-title .obj-lead { max-width: 34rem; color: var(--ink-2); font-size: 17.5px; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 30px; height: clamp(320px, 44vw, 600px); }
.gallery__item { position: relative; padding: 0; border: 0; border-radius: 4px; overflow: hidden; background: var(--stone-3); cursor: zoom-in; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.gallery__item:hover img { transform: scale(1.03); }
.gallery__item:first-child { grid-row: 1 / 3; }
.gallery__more { position: absolute; right: 12px; bottom: 12px; background: rgba(255, 255, 255, .94); color: var(--ink); padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.obj-body { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(32px, 5vw, 80px); margin-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(64px, 8vw, 110px); align-items: start; }
.obj-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; padding-bottom: 26px; border-bottom: 1px solid var(--stone-3); font-size: 16px; }
.obj-facts span { display: inline-flex; align-items: center; gap: 8px; }
.obj-facts .ico { color: var(--moss); width: 22px; height: 22px; }
.obj-sec { margin-top: clamp(40px, 5vw, 60px); }
.obj-sec h2 { font-family: var(--serif); font-size: clamp(1.75rem, 2.6vw, 2.4rem); line-height: 1.1; margin-bottom: 18px; }
.obj-desc p { color: var(--ink-2); font-size: 17.5px; max-width: 42rem; }
.obj-desc p + p { margin-top: 14px; }
.obj-desc p:first-child { color: var(--ink); font-size: 19.5px; }
.amen-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; list-style: none; margin: 0; padding: 0; }
.amen-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.amen-list .ico { width: 24px; height: 24px; color: var(--fir); margin-top: 1px; }
.amen-list li.is-plain .ico { color: var(--stone); }
.amen-beds { margin-top: 20px; color: var(--ink-2); font-size: 15.5px; }
.plan-tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.plan-tabs button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--stone-2); background: var(--white); font-weight: 600; font-size: 15px; }
.plan-tabs button[aria-selected="true"] { background: var(--fir); border-color: var(--fir); color: #fff; }
.plan { background: var(--white); border-radius: var(--radius); padding: clamp(14px, 2.5vw, 30px); }
.plan svg { width: 100%; height: auto; }
.plan .p-room { fill: #fbfbf9; stroke: var(--fir); stroke-width: .06; }
.plan .p-room.is-wet { fill: #eef3f5; }
.plan .p-room.is-hot { fill: #f6eee6; }
.plan .p-void { fill: url(#hatch); stroke: none; }
.plan .p-wall { fill: none; stroke: var(--fir); stroke-width: .22; stroke-linejoin: miter; }
.plan .p-out { fill: #f1f3ee; stroke: var(--stone); stroke-width: .05; stroke-dasharray: .2 .14; }
.plan .p-fx { fill: none; stroke: var(--moss); stroke-width: .05; }
.plan .p-fx-fill { fill: var(--stone-3); stroke: var(--moss); stroke-width: .05; }
.plan .p-fire { fill: var(--wood); stroke: none; }
.plan .p-name { font-family: var(--sans); font-size: .34px; font-weight: 600; fill: var(--ink); }
.plan .p-area { font-family: var(--sans); font-size: .3px; fill: var(--ink-2); }
.plan .p-dim { font-family: var(--sans); font-size: .28px; fill: var(--stone); }
.plan .p-dimline { stroke: var(--stone-2); stroke-width: .03; }
.plan-note { margin-top: 12px; font-size: 14px; color: var(--ink-2); }
.obj-cal { background: var(--white); border-radius: var(--radius); padding: clamp(16px, 2.5vw, 28px); }
.rules-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; }
.rules-list li { padding: 14px 0; border-top: 1px solid var(--stone-3); font-size: 16px; }
.rules-list strong { display: block; font-weight: 600; }
.rules-list span { color: var(--ink-2); font-size: 15px; }
.aside-card { position: sticky; top: calc(var(--header) + 20px); background: var(--white); border-radius: var(--radius); padding: 26px 26px 24px; box-shadow: 0 30px 60px -40px rgba(19, 38, 31, .5); }
.aside-card__price { display: flex; align-items: baseline; gap: 8px; }
.aside-card__price strong { font-family: var(--serif); font-size: 32px; font-weight: 600; }
.aside-card__price span { color: var(--ink-2); font-size: 15px; }
.aside-dates { display: grid; grid-template-columns: 1fr 1fr; margin-top: 18px; border: 1px solid #a9aba2; border-radius: 4px; }
.aside-dates button { min-height: 62px; padding: 8px 14px; border: 0; background: transparent; text-align: left; display: grid; gap: 2px; border-radius: 4px; }
.aside-dates button + button { border-left: 1px solid #a9aba2; border-radius: 0 4px 4px 0; }
.aside-dates button:hover { background: var(--snow); }
.aside-dates small { font-size: 13px; color: var(--ink-2); }
.aside-dates span { font-weight: 600; font-size: 15.5px; }
.aside-guests { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding: 8px 8px 8px 14px; border: 1px solid #a9aba2; border-radius: 4px; }
.aside-guests > span { font-size: 15.5px; }
.aside-guests small { display: block; font-size: 13px; color: var(--ink-2); }
.aside-guests .stepper__btn { border-color: var(--stone-2); color: var(--ink); }
.aside-guests .stepper__btn:hover { border-color: var(--ink); }
.aside-guests output { min-width: 2.4em; text-align: center; font-weight: 600; }
.aside-msg { margin-top: 16px; font-size: 15px; color: var(--ink-2); }
.aside-card .btn { margin-top: 18px; }
.aside-card .price-rows { margin-top: 14px; }
.similar { padding: clamp(64px, 8vw, 110px) 0; background: var(--white); }
.similar__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); margin-top: 34px; }
.sim { text-decoration: none; display: grid; gap: 14px; align-content: start; }
.sim img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.sim__img { overflow: hidden; border-radius: var(--radius); }
.sim:hover img { transform: scale(1.03); }
.sim strong { font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.15; }
.sim span { color: var(--ink-2); font-size: 15px; }
.sim em { font-style: normal; font-weight: 600; color: var(--fir); }
.lightbox { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 16, 13, .96); color: #fff; }
.lightbox::backdrop { background: rgba(10, 16, 13, .96); }
.lightbox__fig { position: absolute; inset: 64px 76px 76px; display: flex; align-items: center; justify-content: center; }
.lightbox__fig img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: -48px; text-align: center; font-size: 15px; color: #cfd6d1; }
.lightbox__btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); color: #fff; display: grid; place-items: center; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .16); }
.lightbox__btn .ico { width: 24px; height: 24px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__close { right: 12px; top: 12px; }

/* ---------- pojawianie się ---------- */
.reveal-on .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal-on .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsywność ---------- */
@media (max-width: 1080px) {
  .search__bar { grid-template-columns: 1fr 1fr; }
  .search__guests { border-top: 1px solid rgba(255, 255, 255, .14); }
  .search__guests::before { display: none; }
  .search__go { border-radius: 4px; margin: 8px; min-height: 56px; }
  .stay--domek { grid-template-columns: 1fr; }
  .stay--domek.is-flip .stay__media { order: 0; }
  .onsite__photo--big { grid-column: 1 / 7; }
  .onsite__text { grid-column: 7 / 13; }
  .onsite__photo--small { grid-column: 7 / 13; }
  .area__grid { grid-template-columns: 1fr; }
  .poi { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .obj-body { display: flex; flex-direction: column; gap: 0; }
  .obj-main { display: contents; }
  .obj-aside { order: 1; margin-top: 32px; }
  .sec-rules { order: 2; }
  .obj-main > :first-child { margin-top: 0; }
  .aside-card { position: relative; top: 0; }
}
@media (max-width: 860px) {
  .cal-months { grid-template-columns: 1fr; gap: 26px; }
  .stays__list { grid-template-columns: 1fr; }
  .onsite__grid { display: block; }
  .onsite__photo--big img { aspect-ratio: 4 / 3; }
  .onsite__text { padding-top: 36px; }
  .onsite__photo--small { margin-top: 32px; }
  .seasons__body { grid-template-columns: 1fr; }
  .season__photo { position: relative; top: 0; }
  .season__photo img { aspect-ratio: 16 / 10; }
  .area__head { grid-template-columns: 1fr; }
  .poi { grid-template-columns: 1fr; }
  .arrive__grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .book__inner { grid-template-columns: 1fr; }
  .book__summary > img { aspect-ratio: 21 / 9; }
  .similar__grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: clamp(320px, 80vw, 560px); }
  .gallery__item:first-child { grid-row: auto; grid-column: 1 / 3; }
  .gallery__item:nth-child(n+4) { display: none; }
}
@media (max-width: 640px) {
  :root { --header: 64px; }
  body { font-size: 16.5px; }
  .logo__word { font-size: 21px; }
  .logo__mark { width: 30px; height: 30px; }
  .hero { height: auto; min-height: calc(100svh - 150px); max-height: none; padding-bottom: 230px; }
  .hero__title { font-size: clamp(2.65rem, 12.4vw, 3.6rem); max-width: 10ch; }
  .hero__lead { font-size: 16.5px; }
  .hero__caption { display: none; }
  .hero__ridges { height: 250px; }
  .search { margin-top: -44px; }
  .search__bar { grid-template-columns: 1fr 1fr; padding: 6px; }
  .search__field { min-height: 64px; padding: 8px 14px; }
  .search__value { font-size: 18px; }
  .search__guests { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .search__go { grid-column: 1 / -1; margin: 6px; }
  .search__pop { position: fixed; inset: 0; top: 0; border-radius: 0; padding: 18px 16px 0; overflow-y: auto; display: flex; flex-direction: column; z-index: 60; }
  .search__pop[hidden] { display: none; }
  .dialog-open .search { z-index: 70; }
  .search__cal { flex: 1; }
  .search__pop-foot { position: sticky; bottom: 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 10px; padding: 12px 0 16px; margin-top: 12px; }
  .search__pop-actions .btn { flex: 1; }
  .cal-day { min-height: 48px; }
  .cal-legend { gap: 6px 14px; font-size: 12.5px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 22px calc(-1 * var(--gutter)) 32px; padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .stay__foot { flex-direction: column; align-items: stretch; }
  .stay__actions .btn { flex: 1; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .act { grid-template-columns: 112px 1fr; gap: 16px; }
  .act img { width: 112px; height: 112px; }
  .act.act--text { grid-template-columns: 1fr; padding: 18px; }
  .act h3 { font-size: 19.5px; }
  .act p { font-size: 15px; }
  .rules { grid-template-columns: 1fr; gap: 28px; }
  .map__key { position: static; margin-top: 10px; background: rgba(255, 255, 255, .08); color: #dfe5e0; grid-template-columns: 1fr 1fr; }
  .map__tools { right: 10px; top: 10px; }
  .m-poi__label { font-size: 14px; stroke-width: 4px; }
  .m-poi:not(.is-on):not(.m-poi--dom) .m-poi__label { display: none; }
  .m-labels .m-peak, .m-labels .m-place--village, .m-valley { display: none; }
  .m-place { font-size: 21px; }
  .poi__card { padding: 22px 20px; min-height: 0; }
  .poi__list { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .poi__btn { flex: none; }
  .field-row { grid-template-columns: 1fr; }
  .field--dog { margin-top: 0; margin-bottom: 16px; }
  .book { width: 100%; max-width: 100%; height: 100%; max-height: 100%; border-radius: 0; }
  .book__main { padding: 26px 18px 30px; }
  .book__sum-body { padding: 20px 18px 22px; }
  .book__title { font-size: 26px; }
  .obj-title h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .amen-list, .rules-list { grid-template-columns: 1fr; }
  .similar__grid { grid-template-columns: 1fr; }
  .lightbox__fig { inset: 64px 8px 150px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 14px; transform: none; }
  .lightbox__cap { bottom: -56px; padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
