/* ==========================================================================
   iN Żary Apartments
   Paleta z logo: głęboka czerń, kość słoniowa, miedź.
   ========================================================================== */

@font-face {
	font-family: "Lexend Exa";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url("../fonts/lexend-exa-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Lexend Exa";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url("../fonts/lexend-exa-latin-wght-normal.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: "Lexend";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url("../fonts/lexend-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Lexend";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url("../fonts/lexend-latin-wght-normal.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 {
	--ink: #0b0a09;
	--ink-2: #131110;
	--ink-3: #1c1917;
	--line: rgba(236, 230, 221, 0.13);
	--line-strong: rgba(236, 230, 221, 0.28);
	--ivory: #ece6dd;
	--ivory-2: #a89f93;
	--ivory-3: #6f675e;

	--copper: #ba6341;
	--copper-2: #d08a62;
	--copper-3: #8f4526;
	--copper-grad: linear-gradient(135deg, #d9906a 0%, #ba6341 42%, #93472a 100%);

	--paper: #efeae2;
	--paper-2: #e6dfd4;
	--paper-line: rgba(21, 19, 17, 0.14);
	--paper-text: #151311;
	--paper-muted: #5e5750;

	--error: #f0a07d;

	--f-display: "Lexend Exa", "Lexend", ui-sans-serif, system-ui, sans-serif;
	--f-text: "Lexend", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

	--wrap: 1380px;
	--gutter: clamp(20px, 4.2vw, 64px);
	--header-h: 84px;
	--section-y: clamp(84px, 11vw, 168px);
	--ease: cubic-bezier(0.2, 0.7, 0.1, 1);
	--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* --------------------------------------------------------------------------
   Podstawy
   -------------------------------------------------------------------------- */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
	margin: 0;
	background: var(--ink);
	color: var(--ivory);
	font-family: var(--f-text);
	font-weight: 300;
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}

img,
svg {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

p {
	margin: 0 0 1em;
}

h1,
h2,
h3 {
	margin: 0;
	font-weight: 300;
}

ul,
ol,
dl,
dd,
figure,
blockquote {
	margin: 0;
	padding: 0;
}

ul,
ol {
	list-style: none;
}

button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

address {
	font-style: normal;
}

::selection {
	background: var(--copper);
	color: var(--ink);
}

:focus-visible {
	outline: 2px solid var(--copper-2);
	outline-offset: 3px;
}

[hidden] {
	display: none !important;
}

.sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 200;
	padding: 12px 18px;
	background: var(--copper);
	color: var(--ink);
	transform: translateY(-160%);
	transition: transform 0.2s;
}

.skip-link:focus {
	transform: none;
}

.site-main:focus {
	outline: none;
}

.wrap {
	width: 100%;
	max-width: calc(var(--wrap) + 2 * var(--gutter));
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.section {
	position: relative;
	padding: var(--section-y) 0;
}

.section--tight {
	padding: clamp(56px, 7vw, 104px) 0 var(--section-y);
}

.section--paper {
	background: var(--paper);
	color: var(--paper-text);
}

.icon {
	width: 1.15em;
	height: 1.15em;
	flex: none;
}

/* Typografia -------------------------------------------------------------- */

.display {
	font-family: var(--f-display);
	font-weight: 200;
	font-size: clamp(1.9rem, 3.5vw, 3.35rem);
	line-height: 1.12;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.display em,
.hero__title em,
.page-hero__title em,
.cta__title em {
	font-style: normal;
	background: var(--copper-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.section--paper .display em {
	background: linear-gradient(135deg, #b86a44, #8f4526);
	-webkit-background-clip: text;
	background-clip: text;
}

.label {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 26px;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--ivory-2);
}

.label__num {
	font-family: var(--f-display);
	font-weight: 300;
	letter-spacing: 0.04em;
	color: var(--copper-2);
	display: inline-flex;
	align-items: center;
	gap: 14px;
}

.label__num::after {
	content: "";
	width: 34px;
	height: 1px;
	background: currentColor;
	opacity: 0.6;
}

.label--plain {
	color: var(--copper-3);
}

.section--paper .label {
	color: var(--paper-muted);
}

.section--paper .label__num {
	color: var(--copper-3);
}

.kicker {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 28px;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--ivory-2);
}

/* Mała litera „i” z logo: kropka i belka w miedzi. */
.i-mark {
	position: relative;
	width: 7px;
	height: 26px;
	flex: none;
}

.i-mark::before,
.i-mark::after {
	content: "";
	position: absolute;
	left: 0;
	width: 7px;
	background: var(--copper-grad);
}

.i-mark::before {
	top: 0;
	height: 7px;
	border-radius: 50%;
}

.i-mark::after {
	top: 10px;
	bottom: 0;
	border-radius: 1px;
}

/* Przyciski --------------------------------------------------------------- */

.btn {
	--cut: 12px;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 54px;
	padding: 0 28px;
	font-family: var(--f-text);
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.04em;
	line-height: 1.2;
	white-space: nowrap;
	transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), filter 0.35s var(--ease);
}

.btn .icon {
	transition: transform 0.45s var(--ease);
}

.btn:hover .icon[class] {
	transform: translateX(4px);
}

.btn--copper {
	background: var(--copper-grad);
	color: var(--ink);
	font-weight: 500;
	clip-path: polygon(0 0, 100% 0, 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}

.btn--copper:hover {
	filter: brightness(1.12) saturate(1.05);
}

.btn--ghost {
	border: 1px solid var(--line-strong);
	color: var(--ivory);
}

.btn--ghost:hover {
	border-color: var(--copper-2);
	color: #fff;
}

.section--paper .btn--ghost {
	border-color: var(--paper-line);
	color: var(--paper-text);
}

.btn--sm {
	--cut: 9px;
	min-height: 42px;
	padding: 0 20px;
	font-size: 14px;
}

.btn--lg {
	min-height: 62px;
	padding: 0 36px;
	font-size: 16px;
}

.btn[disabled] {
	opacity: 0.6;
	cursor: progress;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--copper-2);
	border-bottom: 1px solid transparent;
	padding-bottom: 4px;
	transition: border-color 0.3s, gap 0.4s var(--ease);
}

.link-arrow:hover {
	border-color: currentColor;
	gap: 16px;
}

.section--paper .link-arrow {
	color: var(--copper-3);
}

/* --------------------------------------------------------------------------
   Nagłówek
   -------------------------------------------------------------------------- */

.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	height: var(--header-h);
	transition: transform 0.5s var(--ease), background-color 0.4s, border-color 0.4s;
	border-bottom: 1px solid transparent;
}

.site-header::before {
	content: "";
	position: absolute;
	inset: 0 0 -40px;
	background: linear-gradient(to bottom, rgba(11, 10, 9, 0.72), rgba(11, 10, 9, 0));
	pointer-events: none;
	transition: opacity 0.4s;
}

.site-header.is-scrolled {
	background: rgba(11, 10, 9, 0.84);
	-webkit-backdrop-filter: blur(14px) saturate(1.2);
	backdrop-filter: blur(14px) saturate(1.2);
	border-color: var(--line);
}

.site-header.is-scrolled::before {
	opacity: 0;
}

.site-header.is-hidden {
	transform: translateY(-100%);
}

.site-header__inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 32px;
	height: 100%;
	max-width: calc(var(--wrap) + 2 * var(--gutter));
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.brand {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-right: auto;
}

.brand__mark {
	width: auto;
	height: 44px;
}

.brand__word {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding-left: 14px;
	border-left: 1px solid var(--line-strong);
}

.brand__city {
	font-family: var(--f-display);
	font-weight: 200;
	font-size: 21px;
	line-height: 1;
	letter-spacing: -0.01em;
}

.brand__sub {
	font-size: 8.5px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.46em;
	text-transform: uppercase;
	color: var(--ivory-2);
}

.nav__list {
	display: flex;
	gap: clamp(20px, 2.4vw, 40px);
}

.nav__link {
	position: relative;
	font-size: 14px;
	font-weight: 300;
	letter-spacing: 0.04em;
	color: var(--ivory-2);
	padding: 8px 0;
	transition: color 0.3s;
}

.nav__link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 2px;
	height: 1px;
	background: var(--copper-2);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.45s var(--ease);
}

.nav__link:hover,
.nav__link[aria-current] {
	color: var(--ivory);
}

.nav__link:hover::after,
.nav__link[aria-current]::after {
	transform: scaleX(1);
	transform-origin: left;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 22px;
}

.lang {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	letter-spacing: 0.14em;
	color: var(--ivory-3);
}

.lang a {
	padding: 6px 2px;
	color: var(--ivory-2);
	transition: color 0.3s;
}

.lang a:hover,
.lang a[aria-current] {
	color: var(--ivory);
}

.lang a[aria-current] {
	text-decoration: underline;
	text-decoration-color: var(--copper-2);
	text-underline-offset: 6px;
}

.burger {
	display: none;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--line-strong);
	border-radius: 50%;
}

.burger__lines {
	position: relative;
	width: 18px;
	height: 8px;
}

.burger__lines span {
	position: absolute;
	left: 0;
	right: 0;
	height: 1px;
	background: var(--ivory);
	transition: transform 0.45s var(--ease), top 0.45s var(--ease);
}

.burger__lines span:first-child {
	top: 0;
}

.burger__lines span:last-child {
	top: 7px;
}

.burger[aria-expanded="true"] .burger__lines span:first-child {
	top: 4px;
	transform: rotate(45deg);
}

.burger[aria-expanded="true"] .burger__lines span:last-child {
	top: 4px;
	transform: rotate(-45deg);
}

/* Menu mobilne ------------------------------------------------------------ */

.menu-panel {
	position: fixed;
	inset: 0;
	z-index: 90;
	background: var(--ink);
	padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
	overflow-y: auto;
	clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
	transition: clip-path 0.7s var(--ease-in-out), visibility 0s 0.7s;
	visibility: hidden;
}

.menu-panel.is-open {
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
	visibility: visible;
	transition: clip-path 0.7s var(--ease-in-out), visibility 0s;
}

.menu-panel__inner {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 100%;
	gap: 40px;
}

.menu-panel__list a {
	display: flex;
	align-items: baseline;
	gap: 18px;
	padding: 12px 0;
	font-family: var(--f-display);
	font-weight: 200;
	font-size: clamp(1.7rem, 7vw, 2.6rem);
	letter-spacing: -0.03em;
	line-height: 1.15;
	border-bottom: 1px solid var(--line);
}

.menu-panel__num {
	font-size: 12px;
	letter-spacing: 0.1em;
	color: var(--copper-2);
}

.menu-panel__foot {
	display: flex;
	flex-direction: column;
	gap: 14px;
	font-size: 15px;
	color: var(--ivory-2);
}

.menu-panel__foot a {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.menu-panel__foot .icon {
	color: var(--copper-2);
}

.menu-panel__lang {
	margin-top: 8px;
	text-decoration: underline;
	text-underline-offset: 6px;
	text-decoration-color: var(--copper-2);
}

body.menu-open {
	overflow: hidden;
}

/* Postęp przewijania w kształcie „i” ------------------------------------ */

.i-progress {
	position: fixed;
	left: max(14px, calc((100vw - var(--wrap)) / 2 - var(--gutter) - 10px));
	top: 50%;
	z-index: 50;
	display: none;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	transform: translateY(-50%);
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.6s;
}

.i-progress.is-visible {
	opacity: 1;
}

.i-progress__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--copper-grad);
}

.i-progress__bar {
	position: relative;
	width: 3px;
	height: 26vh;
	background: rgba(236, 230, 221, 0.1);
	overflow: hidden;
}

.i-progress__bar span {
	position: absolute;
	inset: 0;
	background: var(--copper-grad);
	transform-origin: top;
	transform: scaleY(var(--p, 0));
}

@media (min-width: 1500px) {
	.i-progress {
		display: flex;
	}
}

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */

.hero {
	--diag: 24%;
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: max(680px, 100svh);
	padding: calc(var(--header-h) + 40px) 0 clamp(40px, 6vh, 72px);
	overflow: hidden;
	isolation: isolate;
}

.hero__media {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 62%;
	z-index: -1;
	clip-path: polygon(0 0, 100% 0, 100% 100%, var(--diag) 100%);
	background: var(--ink-3);
}

.hero__slides,
.hero__slide {
	position: absolute;
	inset: 0;
}

.hero__slide {
	opacity: 0;
	transition: opacity 1.8s var(--ease-in-out);
}

.hero__slide.is-active {
	opacity: 1;
}

.hero__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.1);
	transition: transform 9s linear;
}

.hero__slide.is-active img {
	transform: scale(1);
}

.hero__shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(11, 10, 9, 0.55) 0%, rgba(11, 10, 9, 0) 45%),
		linear-gradient(0deg, rgba(11, 10, 9, 0.55) 0%, rgba(11, 10, 9, 0) 35%);
}

/* Cienka pionowa kreska jak lewa noga litery N. */
.hero__stem {
	position: absolute;
	left: calc(38% - 30px);
	top: 0;
	height: calc(var(--header-h) + 6vh);
	width: 1px;
	background: linear-gradient(to bottom, rgba(236, 230, 221, 0), rgba(236, 230, 221, 0.6) 30%, rgba(236, 230, 221, 0.6) 70%, rgba(236, 230, 221, 0));
	z-index: -1;
	transform-origin: top;
	animation: stem-in 1.6s 0.3s var(--ease) both;
}

@keyframes stem-in {
	from {
		transform: scaleY(0);
	}
}

.hero__content {
	position: relative;
}

.hero__content > * {
	max-width: 36%;
	min-width: 480px;
}

.hero__title {
	font-family: var(--f-display);
	font-weight: 200;
	font-size: clamp(2.7rem, 5.3vw, 5.5rem);
	line-height: 1.02;
	letter-spacing: -0.045em;
	margin-bottom: 30px;
}

.lang-en .hero__title {
	font-size: clamp(2.5rem, 4.5vw, 4.7rem);
}

.hero__text {
	max-width: 30em;
	font-size: 18px;
	color: var(--ivory-2);
	margin-bottom: 38px;
}

.hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: clamp(40px, 8vh, 88px);
}

.hero__facts {
	display: grid;
	grid-template-columns: repeat(3, auto);
	justify-content: start;
	gap: 0;
	border-top: 1px solid var(--line);
	padding-top: 22px;
}

.hero__facts > div {
	padding-right: clamp(20px, 3vw, 44px);
	margin-right: clamp(20px, 3vw, 44px);
	border-right: 1px solid var(--line);
}

.hero__facts > div:last-child {
	border-right: 0;
	margin-right: 0;
}

.hero__facts dt {
	font-size: 11px;
	white-space: nowrap;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ivory-3);
	margin-bottom: 6px;
}

.hero__facts dd {
	font-family: var(--f-display);
	font-weight: 200;
	font-size: 19px;
	letter-spacing: -0.02em;
	white-space: nowrap;
}

.hero__counter {
	position: absolute;
	right: var(--gutter);
	bottom: clamp(40px, 6vh, 72px);
	display: flex;
	align-items: center;
	gap: 14px;
	font-family: var(--f-display);
	font-weight: 300;
	font-size: 12px;
	letter-spacing: 0.08em;
	color: var(--ivory);
}

.hero__track {
	position: relative;
	width: 90px;
	height: 1px;
	background: rgba(236, 230, 221, 0.3);
	overflow: hidden;
}

.hero__track span {
	position: absolute;
	inset: 0;
	background: var(--copper-2);
	transform-origin: left;
	transform: scaleX(0);
}

.hero__track span.is-running {
	animation: track 7s linear forwards;
}

@keyframes track {
	to {
		transform: scaleX(1);
	}
}

/* Wejście hero */
.js .hero__content > * {
	opacity: 0;
	transform: translateY(28px);
	animation: rise 1.2s var(--ease) forwards;
}

.js .hero__content > :nth-child(2) {
	animation-delay: 0.12s;
}

.js .hero__content > :nth-child(3) {
	animation-delay: 0.24s;
}

.js .hero__content > :nth-child(4) {
	animation-delay: 0.36s;
}

.js .hero__content > :nth-child(5) {
	animation-delay: 0.48s;
}

.js .hero__media {
	animation: media-in 1.6s var(--ease-in-out) both;
}

@keyframes rise {
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes media-in {
	from {
		clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
	}
}

/* --------------------------------------------------------------------------
   Miejsce (intro)
   -------------------------------------------------------------------------- */

.intro__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: 24px;
	row-gap: 40px;
}

.intro .label {
	grid-column: 1 / 4;
	align-self: start;
	margin-top: 14px;
}

.intro__title {
	grid-column: 4 / 13;
	font-size: clamp(2rem, 4.2vw, 4rem);
}

.intro__body {
	grid-column: 4 / 9;
	color: var(--ivory-2);
	font-size: 18px;
}

.stats {
	grid-column: 10 / 13;
	display: flex;
	flex-direction: column;
}

.stats li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 0;
	border-top: 1px solid var(--line);
}

.stats li:last-child {
	border-bottom: 1px solid var(--line);
}

.stats strong {
	font-family: var(--f-display);
	font-weight: 200;
	font-size: clamp(2rem, 3vw, 2.8rem);
	line-height: 1;
	letter-spacing: -0.04em;
	background: var(--copper-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	white-space: nowrap;
}

.stats span {
	font-size: 13px;
	color: var(--ivory-2);
	text-align: right;
}

/* --------------------------------------------------------------------------
   Nagłówki sekcji
   -------------------------------------------------------------------------- */

.section-head {
	max-width: 760px;
	margin-bottom: clamp(56px, 7vw, 104px);
}

.section-head .display {
	margin-bottom: 24px;
}

.section-head__lead {
	max-width: 40em;
	font-size: 18px;
	color: var(--ivory-2);
	margin: 0;
}

.section--paper .section-head__lead {
	color: var(--paper-muted);
}

.section-head--row {
	max-width: none;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
}

.section-head--row .display {
	margin: 0;
}

/* --------------------------------------------------------------------------
   Apartamenty
   -------------------------------------------------------------------------- */

.apt-list {
	display: flex;
	flex-direction: column;
	gap: clamp(72px, 10vw, 150px);
}

.apt {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: 24px;
	align-items: center;
}

.apt__media {
	grid-column: 1 / 8;
	grid-row: 1;
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	clip-path: polygon(0 0, 88% 0, 100% 100%, 0 100%);
	background: var(--paper-2);
}

.apt--flip .apt__media {
	grid-column: 6 / 13;
	clip-path: polygon(0 0, 100% 0, 100% 100%, 12% 100%);
}

.apt__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.4s var(--ease);
}

.apt:hover .apt__media img {
	transform: scale(1.045);
}

.apt__body {
	grid-column: 9 / 13;
	grid-row: 1;
}

.apt--flip .apt__body {
	grid-column: 1 / 5;
}

.apt__num {
	display: flex;
	align-items: center;
	gap: 14px;
	font-family: var(--f-display);
	font-weight: 300;
	font-size: 13px;
	color: var(--copper-3);
	margin-bottom: 22px;
}

.apt__num::after {
	content: "";
	flex: 1;
	max-width: 64px;
	height: 1px;
	background: currentColor;
	opacity: 0.5;
}

.apt__name {
	font-family: var(--f-display);
	font-weight: 200;
	font-size: clamp(1.55rem, 2.3vw, 2.2rem);
	line-height: 1.15;
	letter-spacing: -0.035em;
	margin-bottom: 22px;
	text-wrap: balance;
}

.apt__specs {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 22px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--paper-line);
	font-size: 15px;
	color: var(--paper-text);
}

.apt__specs li {
	display: flex;
	align-items: center;
	gap: 12px;
}

.apt__specs .icon {
	width: 20px;
	height: 20px;
	color: var(--copper-3);
}

.apt__text {
	color: var(--paper-muted);
	margin-bottom: 26px;
}

/* --------------------------------------------------------------------------
   Udogodnienia
   -------------------------------------------------------------------------- */

.amenities__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: 24px;
}

.section-head--side {
	grid-column: 1 / 5;
	align-self: start;
	position: sticky;
	top: calc(var(--header-h) + 40px);
	margin-bottom: 0;
}

.amenity-list {
	grid-column: 6 / 13;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: clamp(24px, 4vw, 64px);
}

.amenity {
	display: grid;
	grid-template-columns: 40px 1fr;
	align-content: start;
	column-gap: 18px;
	padding: 28px 0;
	border-top: 1px solid var(--line);
}

.amenity__icon {
	grid-row: 1 / 3;
	width: 30px;
	height: 30px;
	color: var(--copper-2);
}

.amenity__title {
	font-family: var(--f-text);
	font-size: 17px;
	font-weight: 400;
	margin-bottom: 6px;
	line-height: 1.4;
}

.amenity p {
	grid-column: 2;
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--ivory-2);
}

/* --------------------------------------------------------------------------
   Dłuższy pobyt / zwierzęta
   -------------------------------------------------------------------------- */

.stays__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(32px, 5vw, 96px);
	align-items: start;
}

.stay:nth-child(2) {
	margin-top: clamp(0px, 12vw, 180px);
}

.stay__media {
	aspect-ratio: 5 / 4;
	overflow: hidden;
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0 88%);
	background: var(--paper-2);
	margin-bottom: 36px;
}

.stay__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.4s var(--ease);
}

.stay:hover .stay__media img {
	transform: scale(1.04);
}

.stay__title {
	font-family: var(--f-display);
	font-weight: 200;
	font-size: clamp(1.5rem, 2.3vw, 2.15rem);
	line-height: 1.18;
	letter-spacing: -0.035em;
	margin-bottom: 18px;
	text-wrap: balance;
}

.stay__body {
	max-width: 34em;
}

.stay__body p:last-child {
	color: var(--paper-muted);
}

/* --------------------------------------------------------------------------
   Galeria
   -------------------------------------------------------------------------- */

.gallery__count {
	margin: 0;
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ivory-2);
	white-space: nowrap;
}

.gallery__count span {
	font-family: var(--f-display);
	font-weight: 200;
	font-size: 3rem;
	letter-spacing: -0.04em;
	color: var(--ivory);
	margin-right: 8px;
	vertical-align: -0.1em;
}

.gallery__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-auto-rows: clamp(150px, 17vw, 270px);
	grid-auto-flow: dense;
	gap: clamp(8px, 1vw, 14px);
}

.g-item {
	position: relative;
	display: block;
	overflow: hidden;
	background: var(--ink-3);
	grid-column: span 4;
}

.g-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s var(--ease), filter 0.8s;
}

.g-item:hover img {
	transform: scale(1.06);
}

.g-item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(11, 10, 9, 0.45), transparent 50%);
	opacity: 0;
	transition: opacity 0.5s;
}

.g-item:hover::after,
.g-item:focus-visible::after {
	opacity: 1;
}

.g-item__zoom {
	position: absolute;
	right: 16px;
	bottom: 16px;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--copper);
	color: var(--ink);
	opacity: 0;
	transform: translateY(8px) scale(0.9);
	transition: opacity 0.4s, transform 0.5s var(--ease);
}

.g-item__zoom .icon {
	width: 18px;
	height: 18px;
}

.g-item:hover .g-item__zoom,
.g-item:focus-visible .g-item__zoom {
	opacity: 1;
	transform: none;
}

.g-item--1 {
	grid-column: span 7;
	grid-row: span 2;
}

.g-item--2,
.g-item--3 {
	grid-column: span 5;
}

.g-item--4,
.g-item--5,
.g-item--6 {
	grid-column: span 4;
}

.g-item--7 {
	grid-column: span 5;
	grid-row: span 2;
}

.g-item--8,
.g-item--9 {
	grid-column: span 7;
}

.g-item.is-extra {
	display: none;
}

.gallery.is-expanded .g-item.is-extra {
	display: block;
	animation: rise-soft 0.9s var(--ease) both;
}

@keyframes rise-soft {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
}

.gallery__more {
	display: flex;
	justify-content: center;
	margin-top: 48px;
}

/* Lightbox */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 150;
	display: grid;
	place-items: center;
	padding: 72px 88px;
	background: rgba(8, 7, 6, 0.96);
	opacity: 0;
	transition: opacity 0.4s;
}

.lightbox[hidden] {
	display: none;
}

.lightbox.is-open {
	opacity: 1;
}

.lightbox__figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	max-width: 100%;
	max-height: 100%;
}

.lightbox__figure img {
	max-width: min(1600px, 100%);
	max-height: calc(100svh - 190px);
	width: auto;
	object-fit: contain;
}

.lightbox figcaption {
	display: flex;
	gap: 18px;
	font-size: 14px;
	color: var(--ivory-2);
	text-align: center;
}

.lightbox figcaption span:first-child {
	font-family: var(--f-display);
	color: var(--copper-2);
	white-space: nowrap;
}

.lightbox__btn {
	position: absolute;
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border: 1px solid var(--line-strong);
	border-radius: 50%;
	color: var(--ivory);
	transition: border-color 0.3s, background-color 0.3s;
}

.lightbox__btn:hover {
	border-color: var(--copper-2);
	background: rgba(186, 99, 65, 0.15);
}

.lightbox__btn .icon {
	width: 20px;
	height: 20px;
}

.lightbox__prev {
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
}

.lightbox__next {
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
}

.lightbox__close {
	right: 20px;
	top: 20px;
}

/* --------------------------------------------------------------------------
   Opinie
   -------------------------------------------------------------------------- */

.reviews__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: 24px;
	row-gap: 56px;
}

.score {
	grid-column: 1 / 6;
	align-self: start;
	position: sticky;
	top: calc(var(--header-h) + 40px);
}

.score__value {
	font-family: var(--f-display);
	font-weight: 100;
	font-size: clamp(6rem, 13vw, 12rem);
	line-height: 0.9;
	letter-spacing: -0.07em;
	margin: 0 0 12px;
	background: linear-gradient(135deg, #c27450 0%, #9c4c2c 60%, #6f351f 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.score__value span {
	font-size: 0.22em;
	letter-spacing: 0;
	margin-left: 10px;
	color: var(--paper-muted);
	-webkit-text-fill-color: var(--paper-muted);
}

.score__label {
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--paper-muted);
	margin-bottom: 36px;
}

.score__bars li {
	display: grid;
	grid-template-columns: 7.5em 1fr 2.5em;
	align-items: center;
	gap: 16px;
	padding: 10px 0;
	font-size: 14px;
}

.score__bars strong {
	font-family: var(--f-display);
	font-weight: 300;
	text-align: right;
}

.score__bar {
	position: relative;
	height: 2px;
	background: var(--paper-line);
}

.score__bar span {
	position: absolute;
	inset: 0;
	background: var(--copper-3);
	transform-origin: left;
	transform: scaleX(var(--v));
	transition: transform 1.6s 0.3s var(--ease);
}

.js .score:not(.is-in) .score__bar span {
	transform: scaleX(0);
}

.quotes {
	grid-column: 7 / 13;
}

.quotes .display {
	margin-bottom: 40px;
}

.quote {
	padding: 32px 0;
	border-top: 1px solid var(--paper-line);
}

.quote blockquote p {
	font-family: var(--f-display);
	font-weight: 200;
	font-size: clamp(1.15rem, 1.6vw, 1.45rem);
	line-height: 1.5;
	letter-spacing: -0.025em;
	margin: 0 0 18px;
}

.quote blockquote p::before {
	content: "„";
	color: var(--copper-3);
	margin-right: 2px;
}

.lang-en .quote blockquote p::before {
	content: "“";
}

.quote blockquote p::after {
	content: "”";
	color: var(--copper-3);
}

.quote figcaption {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 12px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--copper-3);
}

.quote figcaption::before {
	content: "";
	width: 24px;
	height: 1px;
	background: currentColor;
}

.quotes__source {
	margin: 8px 0 0;
	padding-top: 22px;
	border-top: 1px solid var(--paper-line);
	font-size: 13px;
	color: var(--paper-muted);
}

/* --------------------------------------------------------------------------
   Lokalizacja
   -------------------------------------------------------------------------- */

.location__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: 24px;
	row-gap: 56px;
	align-items: center;
}

.location__text {
	grid-column: 1 / 6;
}

.location__text .display {
	margin-bottom: 24px;
}

.location__lead {
	font-size: 18px;
	color: var(--ivory-2);
	margin-bottom: 36px;
}

.places {
	margin-bottom: 36px;
}

.places > div {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 20px;
	padding: 14px 0;
	border-top: 1px solid var(--line);
	font-size: 15px;
}

.places > div:last-child {
	border-bottom: 1px solid var(--line);
}

.places dt {
	color: var(--ivory-2);
}

.places dd {
	font-family: var(--f-display);
	font-weight: 300;
	letter-spacing: -0.02em;
	white-space: nowrap;
}

.location__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 16px;
}

.location__note {
	font-size: 13px;
	color: var(--ivory-3);
	margin: 0;
}

.location__visual {
	grid-column: 7 / 13;
	position: relative;
	aspect-ratio: 1;
	width: 100%;
}

.location__visual iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	filter: grayscale(0.85) invert(0.92) hue-rotate(180deg) contrast(0.92) brightness(0.95);
	clip-path: polygon(0 0, 100% 0, 100% 100%, 12% 100%);
}

.radar {
	width: 100%;
	height: 100%;
	overflow: visible;
}

.radar__rings circle {
	stroke: rgba(236, 230, 221, 0.18);
	stroke-width: 1;
	vector-effect: non-scaling-stroke;
	stroke-dasharray: 2 6;
}

.radar__rings circle:first-child {
	stroke-dasharray: none;
	stroke: rgba(236, 230, 221, 0.28);
}

.radar__sweep {
	transform-origin: 300px 300px;
	animation: sweep 14s linear infinite;
}

.radar__sweep path {
	fill: url(#radar-glow);
	opacity: 0.55;
}

@keyframes sweep {
	to {
		transform: rotate(360deg);
	}
}

.radar__points circle {
	fill: var(--copper-2);
}

.radar__labels text {
	font-family: var(--f-text);
	font-size: 14px;
	font-weight: 300;
	fill: var(--ivory-2);
}

.radar__labels .d {
	font-family: var(--f-display);
	font-weight: 300;
	fill: var(--ivory);
}

.radar__center circle {
	fill: var(--copper);
}

.radar__pulse {
	transform-origin: 300px 300px;
	animation: pulse 2.8s var(--ease) infinite;
}

@keyframes pulse {
	0% {
		transform: scale(1);
		opacity: 0.6;
	}
	100% {
		transform: scale(4.5);
		opacity: 0;
	}
}

.radar__name {
	font-family: var(--f-display);
	font-weight: 300;
	font-size: 15px;
	letter-spacing: 0.02em;
	fill: var(--ivory);
}

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */

.cta {
	position: relative;
	display: flex;
	align-items: center;
	min-height: min(88vh, 820px);
	padding: var(--section-y) 0;
	overflow: hidden;
	isolation: isolate;
}

.cta__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.cta__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cta__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(60% 80% at 15% 70%, rgba(186, 99, 65, 0.28), transparent 60%),
		linear-gradient(90deg, rgba(11, 10, 9, 0.94) 0%, rgba(11, 10, 9, 0.78) 50%, rgba(11, 10, 9, 0.5) 100%);
}

.cta__title {
	font-family: var(--f-display);
	font-weight: 200;
	font-size: clamp(2.5rem, 6.4vw, 6.4rem);
	line-height: 1.02;
	letter-spacing: -0.05em;
	margin-bottom: 28px;
}

.cta__text {
	max-width: 32em;
	font-size: 18px;
	color: var(--ivory-2);
	margin-bottom: 40px;
}

.cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

/* --------------------------------------------------------------------------
   Stopka
   -------------------------------------------------------------------------- */

.site-footer {
	background: var(--ink);
	border-top: 1px solid var(--line);
	padding: clamp(64px, 8vw, 112px) 0 32px;
	font-size: 15px;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(4, 1fr);
	gap: 40px;
	padding-bottom: clamp(48px, 6vw, 80px);
}

.site-footer__logo img {
	width: 116px;
	margin-bottom: 22px;
}

.site-footer__brand p {
	color: var(--ivory-2);
	max-width: 16em;
}

.site-footer__title {
	font-family: var(--f-text);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--ivory-3);
	margin-bottom: 18px;
}

.site-footer address {
	color: var(--ivory);
	margin-bottom: 16px;
}

.site-footer__list li + li {
	margin-top: 8px;
}

.site-footer__list a {
	color: var(--ivory);
	transition: color 0.3s;
}

.site-footer__list a:hover {
	color: var(--copper-2);
}

.social {
	display: flex;
	gap: 10px;
}

.social a {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 1px solid var(--line-strong);
	border-radius: 50%;
	transition: border-color 0.3s, color 0.3s;
}

.social a:hover {
	border-color: var(--copper-2);
	color: var(--copper-2);
}

.social .icon {
	width: 18px;
	height: 18px;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 32px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
	font-size: 13px;
	color: var(--ivory-3);
}

.site-footer__bottom p {
	margin: 0;
}

.site-footer__legal {
	display: flex;
	gap: 10px;
}

.site-footer__legal a:hover {
	color: var(--ivory);
}

/* --------------------------------------------------------------------------
   Podstrony: nagłówek strony
   -------------------------------------------------------------------------- */

.page-hero {
	position: relative;
	padding: calc(var(--header-h) + clamp(56px, 9vw, 140px)) 0 clamp(56px, 7vw, 104px);
	overflow: hidden;
	isolation: isolate;
	border-bottom: 1px solid var(--line);
}

.page-hero__media {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 40%;
	z-index: -1;
	clip-path: polygon(0 0, 100% 0, 100% 100%, 30% 100%);
}

.page-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.page-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(11, 10, 9, 0.5), rgba(11, 10, 9, 0.1));
}

.page-hero__inner > * {
	max-width: 760px;
}

.page-hero--booking .page-hero__inner > * {
	max-width: 58%;
}

.page-hero__title {
	font-family: var(--f-display);
	font-weight: 200;
	font-size: clamp(2.5rem, 5.4vw, 5rem);
	line-height: 1.04;
	letter-spacing: -0.05em;
	margin-bottom: 26px;
	text-wrap: balance;
}

.page-hero__lead {
	font-size: 18px;
	color: var(--ivory-2);
	max-width: 36em;
}

.steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-top: 48px;
	counter-reset: s;
}

.steps li {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-top: 18px;
	border-top: 1px solid var(--line-strong);
	font-size: 14px;
	color: var(--ivory-2);
	line-height: 1.55;
}

.steps__num {
	font-family: var(--f-display);
	font-size: 12px;
	color: var(--copper-2);
}

.steps strong {
	font-weight: 400;
	font-size: 16px;
	color: var(--ivory);
}

.page-hero--plain,
.page-hero--404 {
	border-bottom: 1px solid var(--line);
}

.page-hero--404 {
	min-height: 70vh;
	display: flex;
	align-items: flex-end;
}

/* --------------------------------------------------------------------------
   Formularze
   -------------------------------------------------------------------------- */

.booking__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: 24px;
	row-gap: 48px;
	align-items: start;
}

.booking__main {
	grid-column: 1 / 8;
}

.booking__aside {
	grid-column: 9 / 13;
	position: sticky;
	top: calc(var(--header-h) + 24px);
}

.fset {
	border: 0;
	margin: 0 0 44px;
	padding: 0 0 44px;
	min-width: 0;
	border-bottom: 1px solid var(--line);
}

.fset__legend {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 0;
	margin-bottom: 30px;
	font-family: var(--f-display);
	font-weight: 200;
	font-size: clamp(1.35rem, 2vw, 1.7rem);
	letter-spacing: -0.03em;
}

.fset__legend .label__num {
	font-size: 13px;
}

.fset__row {
	display: grid;
	gap: 28px 32px;
}

.fset__row--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field--full {
	grid-column: 1 / -1;
}

.field label,
.stepper__label {
	display: block;
	margin-bottom: 4px;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ivory-2);
}

.field small,
.stepper__label small {
	letter-spacing: 0.04em;
	text-transform: none;
	color: var(--ivory-3);
	margin-left: 4px;
}

.req {
	color: var(--copper-2);
}

.field input,
.field textarea {
	display: block;
	width: 100%;
	padding: 12px 0 14px;
	font: inherit;
	font-size: 18px;
	font-weight: 300;
	color: var(--ivory);
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--line-strong);
	border-radius: 0;
	outline: none;
	color-scheme: dark;
	transition: border-color 0.3s, box-shadow 0.3s;
	-webkit-appearance: none;
	appearance: none;
}

.field input[type="date"] {
	min-height: 54px;
	font-family: var(--f-display);
	font-weight: 200;
	letter-spacing: -0.01em;
}

.field input[type="date"]::-webkit-calendar-picker-indicator {
	filter: invert(0.75) sepia(0.6) saturate(4) hue-rotate(335deg);
	cursor: pointer;
	opacity: 0.9;
}

.field textarea {
	resize: vertical;
	min-height: 120px;
	line-height: 1.6;
}

.field input::placeholder,
.field textarea::placeholder {
	color: var(--ivory-3);
}

.field input:focus,
.field textarea:focus {
	border-color: var(--copper-2);
	box-shadow: 0 1px 0 var(--copper-2);
}

.field.is-invalid input,
.field.is-invalid textarea {
	border-color: var(--error);
	box-shadow: 0 1px 0 var(--error);
}

.hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Licznik gości */
.stepper__ctrl {
	display: flex;
	align-items: center;
	gap: 8px;
	border-bottom: 1px solid var(--line-strong);
	padding: 6px 0 8px;
}

.stepper__ctrl button {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line-strong);
	border-radius: 50%;
	transition: border-color 0.3s, background-color 0.3s;
}

.stepper__ctrl button:hover {
	border-color: var(--copper-2);
	background: rgba(186, 99, 65, 0.12);
}

.stepper__ctrl .icon {
	width: 16px;
	height: 16px;
}

.stepper__ctrl input {
	flex: 1;
	min-width: 0;
	text-align: center;
	font-family: var(--f-display);
	font-weight: 200;
	font-size: 26px;
	color: var(--ivory);
	background: none;
	border: 0;
	-moz-appearance: textfield;
	appearance: textfield;
}

.stepper__ctrl input::-webkit-outer-spin-button,
.stepper__ctrl input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.stepper__ctrl input:focus-visible {
	outline: 1px solid var(--copper-2);
}

/* Przełącznik */
.switch {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-top: 30px;
	cursor: pointer;
	font-size: 15px;
}

.switch input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.switch__track {
	position: relative;
	width: 46px;
	height: 26px;
	border: 1px solid var(--line-strong);
	border-radius: 20px;
	flex: none;
	transition: background-color 0.3s, border-color 0.3s;
}

.switch__track::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--ivory-2);
	transition: transform 0.4s var(--ease), background-color 0.3s;
}

.switch input:checked + .switch__track {
	background: var(--copper);
	border-color: var(--copper);
}

.switch input:checked + .switch__track::after {
	transform: translateX(20px);
	background: var(--ink);
}

.switch input:focus-visible + .switch__track {
	outline: 2px solid var(--copper-2);
	outline-offset: 3px;
}

.switch span:last-child {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.switch .icon {
	color: var(--copper-2);
}

/* Wybór apartamentu */
.apt-pick {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
	gap: 12px;
}

.apt-pick__item {
	position: relative;
	cursor: pointer;
}

.apt-pick__item input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.apt-pick__card {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 10px 10px 16px;
	border: 1px solid var(--line);
	transition: border-color 0.3s, background-color 0.3s;
}

.apt-pick__thumb {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	margin-bottom: 14px;
	background: var(--ink-3);
}

.apt-pick__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.85) brightness(0.9);
	transition: filter 0.4s, transform 0.8s var(--ease);
}

.apt-pick__mark {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 4 / 3;
	margin-bottom: 14px;
	border: 1px dashed var(--line-strong);
}

.apt-pick__mark span {
	width: 10px;
	height: 34px;
	position: relative;
}

.apt-pick__mark span::before,
.apt-pick__mark span::after {
	content: "";
	position: absolute;
	left: 0;
	width: 10px;
	background: var(--copper-grad);
}

.apt-pick__mark span::before {
	top: 0;
	height: 10px;
	border-radius: 50%;
}

.apt-pick__mark span::after {
	top: 14px;
	bottom: 0;
}

.apt-pick__name {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.35;
	padding: 0 4px;
	margin-bottom: 4px;
}

.apt-pick__meta {
	font-size: 12px;
	color: var(--ivory-3);
	padding: 0 4px;
}

.apt-pick__item:hover .apt-pick__card {
	border-color: var(--line-strong);
}

.apt-pick__item:hover .apt-pick__thumb img {
	filter: none;
	transform: scale(1.04);
}

.apt-pick__item input:checked + .apt-pick__card {
	border-color: var(--copper-2);
	background: rgba(186, 99, 65, 0.1);
	box-shadow: inset 0 0 0 1px var(--copper-2);
}

.apt-pick__item input:checked + .apt-pick__card .apt-pick__thumb img {
	filter: none;
}

.apt-pick__item input:focus-visible + .apt-pick__card {
	outline: 2px solid var(--copper-2);
	outline-offset: 3px;
}

/* Zgoda */
.check {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	margin: 8px 0 32px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--ivory-2);
	cursor: pointer;
}

.check input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.check__box {
	display: grid;
	place-items: center;
	flex: none;
	width: 24px;
	height: 24px;
	margin-top: 1px;
	border: 1px solid var(--line-strong);
	transition: background-color 0.3s, border-color 0.3s;
}

.check__box .icon {
	width: 16px;
	height: 16px;
	color: var(--ink);
	opacity: 0;
	transform: scale(0.6);
	transition: opacity 0.3s, transform 0.4s var(--ease);
}

.check input:checked + .check__box {
	background: var(--copper);
	border-color: var(--copper);
}

.check input:checked + .check__box .icon {
	opacity: 1;
	transform: none;
}

.check input:focus-visible + .check__box {
	outline: 2px solid var(--copper-2);
	outline-offset: 3px;
}

.check.is-invalid .check__box {
	border-color: var(--error);
}

.check a {
	color: var(--ivory);
	text-decoration: underline;
	text-decoration-color: var(--copper-2);
	text-underline-offset: 4px;
}

.form__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 28px;
}

.form__status {
	margin: 0;
	font-size: 15px;
	color: var(--error);
	max-width: 30em;
}

.form__status:empty {
	display: none;
}

.form-success {
	padding: clamp(32px, 5vw, 64px) 0;
}

.form-success:focus {
	outline: none;
}

.form-success__icon {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	margin-bottom: 32px;
	border-radius: 50%;
	background: var(--copper-grad);
	color: var(--ink);
}

.form-success__icon .icon {
	width: 30px;
	height: 30px;
}

.form-success .display {
	margin-bottom: 20px;
}

.form-success p {
	max-width: 32em;
	color: var(--ivory-2);
	margin-bottom: 32px;
}

/* Podsumowanie rezerwacji */
.summary {
	padding: clamp(24px, 3vw, 40px);
	background: var(--ink-2);
	border: 1px solid var(--line);
}

.summary__title {
	font-family: var(--f-text);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--ivory-2);
	margin-bottom: 22px;
}

.summary__dates {
	padding-bottom: 20px;
	margin-bottom: 20px;
	border-bottom: 1px solid var(--line);
}

.summary__range {
	font-family: var(--f-display);
	font-weight: 200;
	font-size: clamp(1.3rem, 1.8vw, 1.6rem);
	letter-spacing: -0.03em;
	line-height: 1.3;
	margin: 0 0 4px;
}

.summary__nights {
	margin: 0;
	font-size: 14px;
	color: var(--copper-2);
}

.summary__nights:empty {
	display: none;
}

.summary__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-bottom: 20px;
	margin-bottom: 20px;
	border-bottom: 1px solid var(--line);
	font-size: 15px;
}

.summary__list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.summary__list .icon {
	width: 20px;
	height: 20px;
	margin-top: 3px;
	color: var(--copper-2);
}

.summary__info > div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 7px 0;
	font-size: 14px;
}

.summary__info dt {
	color: var(--ivory-3);
}

.summary__info dd {
	text-align: right;
}

.summary__rules {
	margin: 16px 0 0;
	font-size: 13px;
	color: var(--ivory-3);
}

.summary__call {
	margin-top: 24px;
	padding-top: 22px;
	border-top: 1px solid var(--line);
}

.summary__call p {
	margin: 0 0 10px;
	font-size: 14px;
	color: var(--ivory-2);
}

.summary__call a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 4px 0;
	font-family: var(--f-display);
	font-weight: 200;
	font-size: 1.2rem;
	letter-spacing: -0.02em;
	transition: color 0.3s;
}

.summary__call a:hover {
	color: var(--copper-2);
}

.summary__call .icon {
	color: var(--copper-2);
}

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

.page-hero--contact {
	padding-bottom: clamp(72px, 9vw, 140px);
}

.contact__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: 24px;
	row-gap: 56px;
	align-items: start;
}

.contact__info {
	grid-column: 1 / 7;
}

.contact__form {
	grid-column: 8 / 13;
	padding-top: 8px;
}

.contact__list {
	margin-top: 48px;
}

.contact__list > div {
	display: grid;
	grid-template-columns: 8.5em 1fr;
	gap: 16px;
	padding: 22px 0;
	border-top: 1px solid var(--line);
}

.contact__list dt {
	padding-top: 10px;
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ivory-3);
}

.contact__list dd {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.contact__list address {
	padding-top: 6px;
	font-size: 17px;
}

.contact__list .social {
	flex-direction: row;
}

.contact__big {
	font-family: var(--f-display);
	font-weight: 200;
	font-size: clamp(1.45rem, 2.4vw, 2.2rem);
	line-height: 1.3;
	letter-spacing: -0.04em;
	transition: color 0.3s;
	overflow-wrap: anywhere;
}

.contact__big--mail {
	font-size: clamp(1.05rem, 1.7vw, 1.55rem);
	padding-top: 6px;
}

.contact__big:hover {
	color: var(--copper-2);
}

.card {
	padding: clamp(24px, 3.4vw, 48px);
	background: var(--ink-2);
	border: 1px solid var(--line);
}

.card__title {
	font-family: var(--f-display);
	font-weight: 200;
	font-size: 1.7rem;
	letter-spacing: -0.03em;
	margin-bottom: 28px;
}

.card .field {
	margin-bottom: 26px;
}

.contact__book {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin: 28px 0 0;
	font-size: 15px;
	color: var(--ivory-2);
}

/* Treść dokumentów */
.prose {
	max-width: 760px;
}

.prose h2 {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 56px 0 18px;
	font-family: var(--f-display);
	font-weight: 200;
	font-size: clamp(1.3rem, 2vw, 1.65rem);
	letter-spacing: -0.03em;
}

.prose h2:first-child {
	margin-top: 0;
}

.prose h2 .label__num {
	font-size: 13px;
}

.prose p,
.prose li {
	color: var(--ivory-2);
}

.prose a {
	color: var(--ivory);
	text-decoration: underline;
	text-decoration-color: var(--copper-2);
	text-underline-offset: 4px;
}

.prose ul {
	list-style: disc;
	padding-left: 1.2em;
	margin-bottom: 1em;
}

/* --------------------------------------------------------------------------
   Animacje wejścia
   -------------------------------------------------------------------------- */

.js [data-reveal] {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}

.js [data-reveal].is-in {
	opacity: 1;
	transform: none;
}

.js [data-reveal="clip"] {
	opacity: 1;
	transform: none;
	transition: clip-path 1.5s var(--ease-in-out);
}

.js .apt__media[data-reveal="clip"]:not(.is-in) {
	clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
}

.js .apt--flip .apt__media[data-reveal="clip"]:not(.is-in) {
	clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
}

.js .stay__media[data-reveal="clip"]:not(.is-in) {
	clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
}

.js .apt__media img,
.js .stay__media img {
	transform: scale(1.12);
	transition: transform 2.2s var(--ease);
}

.js .apt__media.is-in img,
.js .stay__media.is-in img {
	transform: scale(1);
}

.js .apt:hover .apt__media.is-in img,
.js .stay:hover .stay__media.is-in img {
	transform: scale(1.045);
	transition-duration: 1.4s;
}

.js .amenity-list .amenity:nth-child(2n) {
	transition-delay: 0.1s;
}

/* --------------------------------------------------------------------------
   Responsywność
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
	.nav,
	.site-header__actions .lang {
		display: none;
	}

	.burger {
		display: inline-flex;
	}

	.site-footer__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.site-footer__brand {
		grid-column: 1 / -1;
		display: flex;
		align-items: center;
		gap: 24px;
	}

	.site-footer__logo img {
		width: 84px;
		margin: 0;
	}

	.site-footer__brand p {
		margin: 0;
	}
}

@media (max-width: 1023px) {
	:root {
		--header-h: 72px;
	}

	.brand__mark {
		height: 38px;
	}

	.hero {
		display: block;
		min-height: 0;
		padding: 0 0 56px;
	}

	.hero__media {
		position: relative;
		width: 100%;
		height: 62svh;
		min-height: 380px;
		max-height: 640px;
		clip-path: polygon(0 0, 100% 0, 100% 100%, 0 84%);
	}

	.hero__stem,
	.hero__counter {
		display: none;
	}

	.hero__shade {
		background: linear-gradient(0deg, rgba(11, 10, 9, 0.35), rgba(11, 10, 9, 0) 40%);
	}

	.hero__content {
		margin-top: -24px;
	}

	.hero__content > * {
		max-width: 640px;
		min-width: 0;
	}

	@keyframes media-in {
		from {
			clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
		}
	}

	.intro .label,
	.intro__title,
	.intro__body,
	.stats {
		grid-column: 1 / -1;
	}

	.intro .label {
		margin-top: 0;
		margin-bottom: 0;
	}

	.stats {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 16px;
	}

	.stats li,
	.stats li:last-child {
		flex-direction: column;
		align-items: flex-start;
		border-bottom: 0;
	}

	.stats span {
		text-align: left;
	}

	.apt,
	.apt--flip {
		row-gap: 28px;
	}

	.apt__media,
	.apt--flip .apt__media,
	.apt__body,
	.apt--flip .apt__body {
		grid-column: 1 / -1;
		grid-row: auto;
	}

	.apt__body {
		max-width: 620px;
	}

	.section-head--side {
		grid-column: 1 / -1;
		position: static;
		margin-bottom: 48px;
	}

	.amenity-list {
		grid-column: 1 / -1;
	}

	.score,
	.quotes {
		grid-column: 1 / -1;
		position: static;
	}

	.location__text,
	.location__visual {
		grid-column: 1 / -1;
	}

	.location__visual {
		max-width: 560px;
		margin: 0 auto;
	}

	.page-hero__media {
		width: 100%;
		opacity: 0.28;
		clip-path: none;
	}

	.page-hero--booking .page-hero__inner > * {
		max-width: 680px;
	}

	.booking__main,
	.booking__aside {
		grid-column: 1 / -1;
	}

	.booking__aside {
		position: static;
		order: -1;
	}

	.summary__info,
	.summary__rules,
	.summary__call {
		display: none;
	}

	.summary {
		display: grid;
		grid-template-columns: 1fr auto;
		gap: 4px 24px;
		align-items: center;
	}

	.summary__title {
		grid-column: 1 / -1;
		margin-bottom: 10px;
	}

	.summary__dates,
	.summary__list {
		border: 0;
		padding: 0;
		margin: 0;
	}

	.contact__info,
	.contact__form {
		grid-column: 1 / -1;
	}
}

@media (max-width: 767px) {
	body {
		font-size: 16px;
	}

	.hero__text,
	.intro__body,
	.section-head__lead,
	.location__lead,
	.page-hero__lead,
	.cta__text {
		font-size: 16.5px;
	}

	.hero__facts dd {
		font-size: 16px;
	}

	.hero__facts > div {
		padding-right: 14px;
		margin-right: 14px;
	}

	.hero__facts dt {
		font-size: 10px;
		letter-spacing: 0.14em;
	}

	.stats {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.stats li {
		flex-direction: row;
		align-items: baseline;
		justify-content: space-between;
	}

	.stats li:last-child {
		border-bottom: 1px solid var(--line);
	}

	.stats span {
		text-align: right;
	}

	.amenity-list {
		grid-template-columns: 1fr;
	}

	.amenity {
		padding: 22px 0;
	}

	.stays__grid {
		grid-template-columns: 1fr;
		gap: 64px;
	}

	.stay:nth-child(2) {
		margin-top: 0;
	}

	.section-head--row {
		flex-direction: column;
		align-items: flex-start;
	}

	.gallery__count {
		display: none;
	}

	.gallery__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 44vw;
	}

	.g-item,
	.g-item--2,
	.g-item--3,
	.g-item--4,
	.g-item--5,
	.g-item--6,
	.g-item--8,
	.g-item--9 {
		grid-column: span 1;
		grid-row: span 1;
	}

	.g-item--1 {
		grid-column: span 2;
		grid-row: span 1;
	}

	.g-item--7 {
		grid-column: span 1;
		grid-row: span 1;
	}

	.location__visual {
		width: 80%;
	}

	.radar__labels text,
	.radar__name {
		font-size: 23px;
	}

	.radar__points circle {
		r: 6px;
	}

	.g-item__zoom {
		display: none;
	}

	.lightbox {
		padding: 64px 12px 96px;
	}

	.lightbox__prev,
	.lightbox__next {
		top: auto;
		bottom: 20px;
		transform: none;
	}

	.lightbox__prev {
		left: calc(50% - 64px);
	}

	.lightbox__next {
		right: calc(50% - 64px);
	}

	.lightbox figcaption {
		flex-direction: column;
		gap: 4px;
		padding: 0 8px;
	}

	.score__bars li {
		grid-template-columns: 7em 1fr 2.4em;
	}

	.btn {
		white-space: normal;
		text-align: center;
	}

	.hero__cta .btn,
	.cta__actions .btn,
	.location__actions .btn {
		flex: 1 1 100%;
	}

	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 36px 24px;
	}

	.site-footer__bottom {
		flex-direction: column;
	}

	.steps {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.fset__row--2 {
		grid-template-columns: 1fr;
	}

	.apt-pick {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.apt-pick__item--any {
		grid-column: 1 / -1;
	}

	.apt-pick__item--any .apt-pick__card {
		flex-direction: row;
		align-items: center;
		gap: 14px;
		padding: 14px;
	}

	.apt-pick__item--any .apt-pick__mark {
		width: 56px;
		margin: 0;
		flex: none;
	}

	.apt-pick__item--any .apt-pick__mark span {
		transform: scale(0.7);
	}

	.form__foot .btn {
		width: 100%;
	}

	.contact__list > div {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.contact__list dt {
		padding-top: 0;
	}

	.summary {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 420px) {
	.site-header__book {
		padding: 0 14px;
	}

	.brand__word {
		display: none;
	}

	.hero__facts {
		grid-template-columns: repeat(3, auto);
	}
}

/* Ograniczony ruch */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.js [data-reveal] {
		opacity: 1;
		transform: none;
	}

	.hero__slide img,
	.js .apt__media img,
	.js .stay__media img {
		transform: none;
	}
}
