/**
 * Villa Mariner - arkusz glowny.
 *
 * Kolejnosc: tokeny, reset, typografia, uklad, komponenty, sekcje, stopka.
 * Kolory pochodza z logo obiektu: blekit #60A0D0 i granat #204080.
 */

/* ------------------------------------------------------------------ *
 * 1. Tokeny
 * ------------------------------------------------------------------ */

:root {
	/* Marka */
	--vm-navy-deep: #0b2038;
	--vm-navy: #14355f;
	--vm-blue: #2e6fa8;
	--vm-sky: #6fa8d6;
	--vm-sky-soft: #d7e7f4;

	/* Neutralne, ciepla strona palety - rownowaza chlod granatu */
	--vm-cream: #faf7f2;
	--vm-sand: #efe7db;
	--vm-sand-deep: #ddd0bd;

	/* Tekst */
	--vm-ink: #16202c;
	--vm-muted: #5f6e7d;
	--vm-on-dark: #eef4fa;
	--vm-on-dark-muted: #a9c0d6;

	--vm-white: #ffffff;
	--vm-line: #e4e0d8;
	--vm-line-dark: rgba(255, 255, 255, 0.16);

	/* Typografia */
	--vm-font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
	--vm-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--vm-size-hero: clamp(3rem, 1.7rem + 5.2vw, 6rem);
	--vm-size-h1: clamp(2.5rem, 1.6rem + 3.4vw, 4.15rem);
	--vm-size-h2: clamp(1.95rem, 1.35rem + 2.4vw, 3.15rem);
	--vm-size-h3: clamp(1.4rem, 1.15rem + 0.95vw, 1.85rem);
	--vm-size-body: clamp(1rem, 0.97rem + 0.14vw, 1.0625rem);
	--vm-size-small: 0.875rem;
	--vm-size-eyebrow: 0.75rem;

	--vm-leading-tight: 1.12;
	--vm-leading-snug: 1.3;
	--vm-leading-body: 1.7;

	/* Rytm pionowy */
	--vm-space-1: 0.25rem;
	--vm-space-2: 0.5rem;
	--vm-space-3: 0.75rem;
	--vm-space-4: 1rem;
	--vm-space-5: 1.5rem;
	--vm-space-6: 2rem;
	--vm-space-7: 3rem;
	--vm-space-8: 4rem;
	--vm-space-9: 6rem;
	--vm-section: clamp(4rem, 2.5rem + 6vw, 8rem);

	/* Uklad */
	--vm-container: 1240px;
	--vm-container-narrow: 780px;
	--vm-gutter: clamp(1.25rem, 0.75rem + 2.2vw, 3rem);

	/* Wykonczenie */
	--vm-radius: 4px;
	--vm-radius-lg: 8px;
	--vm-shadow-sm: 0 1px 2px rgba(11, 32, 56, 0.06), 0 2px 8px rgba(11, 32, 56, 0.05);
	--vm-shadow: 0 4px 12px rgba(11, 32, 56, 0.08), 0 16px 40px rgba(11, 32, 56, 0.08);
	--vm-shadow-lg: 0 8px 24px rgba(11, 32, 56, 0.1), 0 32px 64px rgba(11, 32, 56, 0.12);

	--vm-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--vm-header-h: 84px;
}

@media (max-width: 900px) {
	:root {
		--vm-header-h: 68px;
	}
}

/* ------------------------------------------------------------------ *
 * 2. Reset i baza
 * ------------------------------------------------------------------ */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--vm-header-h) + 1rem);
}

body {
	margin: 0;
	background: var(--vm-white);
	color: var(--vm-ink);
	font-family: var(--vm-font-body);
	font-size: var(--vm-size-body);
	line-height: var(--vm-leading-body);
	font-synthesis-weight: none;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

img,
picture,
video,
svg {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--vm-blue);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--vm-navy);
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 2px solid var(--vm-blue);
	outline-offset: 3px;
	border-radius: 2px;
}

::selection {
	background: var(--vm-sky-soft);
	color: var(--vm-navy-deep);
}

.screen-reader-text {
	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: absolute;
	top: -100px;
	left: var(--vm-gutter);
	z-index: 999;
	padding: 0.75rem 1.25rem;
	background: var(--vm-navy);
	color: var(--vm-white);
	border-radius: 0 0 var(--vm-radius) var(--vm-radius);
	text-decoration: none;
	transition: top 0.2s var(--vm-ease);
}

.skip-link:focus {
	top: 0;
	color: var(--vm-white);
}

/* ------------------------------------------------------------------ *
 * 3. Typografia
 * ------------------------------------------------------------------ */

/* Cormorant Garamond ma niska wysokosc x i cienkie kreski, wiec wzgledem
   zwyklego kroju szeryfowego potrzebuje wiekszego stopnia, wyzszej grubosci
   i zerowego swiatla - ujemny tracking zlepialby tu wloskowate laczenia. */
h1,
h2,
h3,
h4 {
	font-family: var(--vm-font-display);
	font-weight: 600;
	line-height: var(--vm-leading-tight);
	letter-spacing: 0;
	color: var(--vm-navy-deep);
	margin: 0 0 var(--vm-space-4);
	text-wrap: balance;
}

h1 { font-size: var(--vm-size-h1); }
h2 { font-size: var(--vm-size-h2); }
h3 { font-size: var(--vm-size-h3); line-height: var(--vm-leading-snug); }

/* Male naglowki dostaja grubszy rys, inaczej gina przy 17 px */
h4 {
	font-size: 1.15rem;
	font-weight: 700;
	line-height: var(--vm-leading-snug);
}

p {
	margin: 0 0 var(--vm-space-5);
	text-wrap: pretty;
}

p:last-child {
	margin-bottom: 0;
}

.lead {
	font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
	color: var(--vm-muted);
	line-height: 1.65;
}

/* Nadtytul sekcji - male, rozstrzelone wersaliki nad naglowkiem */
.eyebrow {
	display: block;
	font-size: var(--vm-size-eyebrow);
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--vm-blue);
	margin: 0 0 var(--vm-space-3);
}

.eyebrow--light {
	color: var(--vm-sky);
}

blockquote {
	margin: 0;
	font-family: var(--vm-font-display);
	font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
	line-height: 1.5;
	color: var(--vm-navy-deep);
}

hr {
	border: 0;
	border-top: 1px solid var(--vm-line);
	margin: var(--vm-space-7) 0;
}

/* Ozdobna kreska pod naglowkiem sekcji */
.rule {
	width: 56px;
	height: 2px;
	background: var(--vm-sky);
	border: 0;
	margin: var(--vm-space-5) 0 0;
}

.rule--center {
	margin-inline: auto;
}

/* ------------------------------------------------------------------ *
 * 4. Uklad
 * ------------------------------------------------------------------ */

.container {
	width: 100%;
	max-width: var(--vm-container);
	margin-inline: auto;
	padding-inline: var(--vm-gutter);
}

.container--narrow {
	max-width: var(--vm-container-narrow);
}

.section {
	padding-block: var(--vm-section);
}

.section--tight {
	padding-block: calc(var(--vm-section) * 0.6);
}

.section--cream { background: var(--vm-cream); }
.section--sand { background: var(--vm-sand); }

.section--navy {
	background: var(--vm-navy-deep);
	color: var(--vm-on-dark);
}

.section--navy h2,
.section--navy h3 {
	color: var(--vm-white);
}

.section--navy p {
	color: var(--vm-on-dark-muted);
}

.section__head {
	max-width: 46rem;
	margin-bottom: var(--vm-space-8);
}

.section__head--center {
	margin-inline: auto;
	text-align: center;
}

/* Naglowek sekcji z akcja po prawej */
.section__head--split {
	max-width: none;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--vm-space-6);
	flex-wrap: wrap;
}

.section__head--split > div {
	max-width: 42rem;
}

.grid {
	display: grid;
	gap: var(--vm-space-6);
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1000px) {
	.grid--3,
	.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
	.grid--2,
	.grid--3,
	.grid--4 { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------------ *
 * 5. Przyciski
 * ------------------------------------------------------------------ */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	padding: 0.9em 1.75em;
	border: 1px solid transparent;
	border-radius: var(--vm-radius);
	font-size: var(--vm-size-small);
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.25s var(--vm-ease), color 0.25s var(--vm-ease),
		border-color 0.25s var(--vm-ease), transform 0.25s var(--vm-ease);
}

.btn:active {
	transform: translateY(1px);
}

.btn--primary {
	background: var(--vm-navy);
	border-color: var(--vm-navy);
	color: var(--vm-white);
}

.btn--primary:hover {
	background: var(--vm-navy-deep);
	border-color: var(--vm-navy-deep);
	color: var(--vm-white);
}

.btn--accent {
	background: var(--vm-blue);
	border-color: var(--vm-blue);
	color: var(--vm-white);
}

.btn--accent:hover {
	background: var(--vm-navy);
	border-color: var(--vm-navy);
	color: var(--vm-white);
}

.btn--outline {
	background: transparent;
	border-color: var(--vm-navy);
	color: var(--vm-navy);
}

.btn--outline:hover {
	background: var(--vm-navy);
	color: var(--vm-white);
}

.btn--ghost {
	background: transparent;
	border-color: var(--vm-line-dark);
	color: var(--vm-white);
}

.btn--ghost:hover {
	background: var(--vm-white);
	border-color: var(--vm-white);
	color: var(--vm-navy-deep);
}

.btn--sm {
	padding: 0.7em 1.25em;
	font-size: 0.8125rem;
}

.btn--block {
	display: flex;
	width: 100%;
}

/* Odnosnik tekstowy ze strzalka */
.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-size: var(--vm-size-small);
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--vm-navy);
}

.link-arrow::after {
	content: "";
	width: 1.5em;
	height: 1px;
	background: currentColor;
	transition: width 0.25s var(--vm-ease);
}

.link-arrow:hover::after {
	width: 2.25em;
}

/* ------------------------------------------------------------------ *
 * 6. Naglowek i nawigacja
 * ------------------------------------------------------------------ */

.header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	height: var(--vm-header-h);
	display: flex;
	align-items: center;
	background: transparent;
	transition: background-color 0.35s var(--vm-ease), box-shadow 0.35s var(--vm-ease);
}

/* Na stronach bez hero naglowek od razu jest bialy */
body:not(.is-front) .header,
.header.is-solid {
	background: var(--vm-white);
	box-shadow: 0 1px 0 var(--vm-line), var(--vm-shadow-sm);
}

.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--vm-space-5);
	width: 100%;
	max-width: var(--vm-container);
	margin-inline: auto;
	padding-inline: var(--vm-gutter);
}

.header__brand {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	text-decoration: none;
}

.header__logo {
	width: auto;
	height: clamp(34px, 3.4vw, 46px);
	transition: filter 0.35s var(--vm-ease);
}

/* Na przezroczystym naglowku logo wybielamy, zeby czytalo sie na zdjeciu */
.is-front .header:not(.is-solid) .header__logo {
	filter: brightness(0) invert(1);
}

.header__title {
	font-family: var(--vm-font-display);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--vm-navy-deep);
	text-decoration: none;
}

.is-front .header:not(.is-solid) .header__title {
	color: var(--vm-white);
}

.header__nav {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 1.8vw, 2rem);
	margin-inline-start: auto;
}

.menu {
	display: flex;
	align-items: center;
	gap: clamp(0.9rem, 1.6vw, 1.85rem);
	list-style: none;
	margin: 0;
	padding: 0;
}

.menu a {
	position: relative;
	display: block;
	padding-block: 0.4rem;
	font-size: 0.9375rem;
	font-weight: 450;
	color: var(--vm-ink);
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.25s var(--vm-ease);
}

.is-front .header:not(.is-solid) .menu a {
	color: rgba(255, 255, 255, 0.92);
}

.menu a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 1px;
	background: currentColor;
	transition: width 0.25s var(--vm-ease);
}

.menu a:hover::after,
.menu .current-menu-item > a::after,
.menu .current_page_item > a::after {
	width: 100%;
}

.header__actions {
	display: flex;
	align-items: center;
	gap: var(--vm-space-4);
	flex-shrink: 0;
}

.header__phone {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--vm-navy);
	text-decoration: none;
	white-space: nowrap;
}

.is-front .header:not(.is-solid) .header__phone {
	color: var(--vm-white);
}

.header__phone .icon {
	width: 16px;
	height: 16px;
}

/* Przelacznik jezyka */
.langs__list {
	display: flex;
	gap: 0.15rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.langs__link {
	display: block;
	padding: 0.3rem 0.5rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: var(--vm-muted);
	text-decoration: none;
	border-radius: 2px;
}

.langs__link.is-current {
	color: var(--vm-navy);
	background: var(--vm-sand);
}

.is-front .header:not(.is-solid) .langs__link {
	color: rgba(255, 255, 255, 0.7);
}

.is-front .header:not(.is-solid) .langs__link.is-current {
	color: var(--vm-white);
	background: rgba(255, 255, 255, 0.16);
}

/* Hamburger */
.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	background: none;
	border: 0;
	cursor: pointer;
	color: var(--vm-navy-deep);
}

.is-front .header:not(.is-solid) .nav-toggle {
	color: var(--vm-white);
}

.nav-toggle__bar {
	display: block;
	width: 24px;
	height: 1.5px;
	margin-inline: auto;
	background: currentColor;
	transition: transform 0.3s var(--vm-ease), opacity 0.2s var(--vm-ease);
}

.nav-toggle__bar + .nav-toggle__bar {
	margin-top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
	transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
	opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
	transform: translateY(-7.5px) rotate(-45deg);
}

@media (max-width: 1080px) {
	.nav-toggle {
		display: block;
		order: 3;
	}

	.header__phone span {
		display: none;
	}

	.header__nav {
		position: fixed;
		inset: var(--vm-header-h) 0 auto;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: var(--vm-space-5) var(--vm-gutter) var(--vm-space-7);
		background: var(--vm-white);
		box-shadow: var(--vm-shadow);
		max-height: calc(100svh - var(--vm-header-h));
		overflow-y: auto;
		transform: translateY(-12px);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.25s var(--vm-ease), transform 0.25s var(--vm-ease), visibility 0.25s;
	}

	.header__nav.is-open {
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
	}

	.menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.menu a,
	.is-front .header:not(.is-solid) .menu a {
		padding-block: 0.85rem;
		border-bottom: 1px solid var(--vm-line);
		font-size: 1.0625rem;
		color: var(--vm-ink);
	}

	.menu a::after {
		display: none;
	}

	.header__nav .langs {
		margin-top: var(--vm-space-5);
	}

	.is-front .header:not(.is-solid) .header__nav .langs__link {
		color: var(--vm-muted);
	}

	.is-front .header:not(.is-solid) .header__nav .langs__link.is-current {
		color: var(--vm-navy);
		background: var(--vm-sand);
	}
}

/* ------------------------------------------------------------------ *
 * 7. Hero
 * ------------------------------------------------------------------ */

.hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: min(100svh, 900px);
	padding-top: var(--vm-header-h);
	padding-bottom: clamp(5rem, 4rem + 6vw, 9rem);
	color: var(--vm-white);
	overflow: hidden;
	isolation: isolate;
}

.hero--page {
	min-height: min(58svh, 520px);
	padding-bottom: var(--vm-space-8);
	align-items: flex-end;
}

.hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}

.hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* --- Przenikajace sie slajdy w naglowku --- */

.hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
	/* Warstw jest dokladnie dwie, wiec promocja na GPU miesci sie
	   w budzecie kompozycji i faktycznie dziala. */
	will-change: opacity;
	transform: translateZ(0);
	backface-visibility: hidden;
	transition: opacity 1.5s var(--vm-ease);
}

.hero__slide.is-active {
	opacity: 1;
}

/* Naglowek przenika same krycie, bez ruchu obrazu. Skalowanie zdjecia
   na cala szerokosc bylo na docelowym sprzecie skokowe mimo promocji
   warstw na GPU - decyzja swiadoma, nie brak funkcji. */
.hero__media--slider .hero__slide img {
	transform: translate3d(0, 0, 0);
	backface-visibility: hidden;
}

/* Wskazniki slajdow - w bloku tresci, pod podtytulem. Na dole sekcji
   zderzalyby sie z karta rezerwacji, ktora nachodzi na hero. */
.hero__dots {
	display: flex;
	gap: 0.5rem;
	margin-top: var(--vm-space-6);
}

.hero__dot {
	width: 28px;
	height: 3px;
	padding: 0;
	border: 0;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.35);
	cursor: pointer;
	transition: background-color 0.3s var(--vm-ease);
}

.hero__dot.is-active {
	background: rgba(255, 255, 255, 0.95);
}

.hero__dot:hover {
	background: rgba(255, 255, 255, 0.7);
}

@media (max-width: 900px) {
	.hero__dots {
		margin-top: var(--vm-space-5);
	}

	.hero__dot {
		width: 20px;
	}
}

/* Bez animacji: zostaje sam pierwszy kadr, bez ruchu i bez przelaczania. */
@media (prefers-reduced-motion: reduce) {
	.hero__slide {
		transition: none;
	}

	.hero__media--slider .hero__slide img,
	.hero__media--slider .hero__slide.is-active img {
		animation: none;
		transform: none;
	}
}

/* Podwojny gradient: gora pod naglowek, dol pod tekst */
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(to bottom, rgba(11, 32, 56, 0.55) 0%, rgba(11, 32, 56, 0) 28%),
		linear-gradient(to top, rgba(11, 32, 56, 0.78) 0%, rgba(11, 32, 56, 0.22) 45%, rgba(11, 32, 56, 0) 70%);
}

/* Tresc nad zdjeciem i gradientem. Odkad tlo ma dodatnie z-index,
   napis musi je wyprzedzic jawnie. */
.hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: var(--vm-container);
	margin-inline: auto;
	padding-inline: var(--vm-gutter);
}

/* Blekit marki gubi sie na jasnym zdjeciu - w hero nadtytul jest bialy,
   z delikatnym cieniem, ktory ratuje go takze na przeswietlonym kadrze. */
.hero__eyebrow {
	color: rgba(255, 255, 255, 0.85);
	text-shadow: 0 1px 12px rgba(11, 32, 56, 0.5);
}

.hero__title {
	font-size: var(--vm-size-hero);
	color: var(--vm-white);
	margin-bottom: var(--vm-space-4);
	max-width: 16em;
	text-shadow: 0 2px 24px rgba(11, 32, 56, 0.35);
}

.hero__subtitle {
	max-width: 34rem;
	font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.3rem);
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 0;
}

.hero__scroll {
	position: absolute;
	left: 50%;
	bottom: 1.5rem;
	translate: -50% 0;
	z-index: 2;
	width: 1px;
	height: 48px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.7));
}

@media (max-width: 900px) {
	.hero__scroll {
		display: none;
	}
}

/* ------------------------------------------------------------------ *
 * 8. Pasek rezerwacji
 * ------------------------------------------------------------------ */

.booking {
	position: relative;
	z-index: 10;
	max-width: var(--vm-container);
	margin-inline: auto;
	padding-inline: var(--vm-gutter);
}

/* Na stronie glownej karta nachodzi na dolna krawedz hero */
.booking--overlap {
	margin-top: calc(clamp(3rem, 2rem + 4vw, 5rem) * -1);
}

.booking__card {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
	gap: 0;
	background: var(--vm-white);
	border-radius: var(--vm-radius-lg);
	box-shadow: var(--vm-shadow-lg);
	overflow: hidden;
}

.booking__field {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	padding: 1.05rem 1.35rem;
	border-inline-end: 1px solid var(--vm-line);
	min-width: 0;
}

.booking__label {
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--vm-muted);
}

.booking__input {
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	font-size: 1rem;
	font-weight: 500;
	color: var(--vm-navy-deep);
	appearance: none;
}

.booking__input:focus {
	outline: none;
}

.booking__field:focus-within {
	background: var(--vm-cream);
}

/* --- Kafelki dat po podmianie na flatpickr --- */

/* Cały kafelek jest celem kliknięcia, nie tylko ikonka kalendarza. */
.booking--enhanced .booking__field--date {
	position: relative;
	cursor: pointer;
	transition: background-color 0.2s var(--vm-ease);
}

.booking--enhanced .booking__field--date:hover {
	background: var(--vm-cream);
}

.booking--enhanced .booking__label {
	pointer-events: none;
}

.booking__value {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.5;
	color: var(--vm-navy-deep);
	text-align: start;
	cursor: pointer;
}

.booking__field--date.is-empty .booking__value {
	color: var(--vm-muted);
	font-weight: 400;
}

.booking__nights {
	position: absolute;
	right: 1.35rem;
	bottom: 1.05rem;
	font-size: 0.75rem;
	color: var(--vm-muted);
	pointer-events: none;
}

/* Pole sterujące kalendarzem jest niewidoczne, ale musi mieć wymiary,
   żeby flatpickr miał się gdzie zaczepić. */
.booking__picker {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	border: 0;
	opacity: 0;
	pointer-events: none;
}

/* ------------------------------------------------------------------ *
 * 9. Karty pokoi
 * ------------------------------------------------------------------ */

.room-card {
	display: flex;
	flex-direction: column;
	background: var(--vm-white);
	border: 1px solid var(--vm-line);
	border-radius: var(--vm-radius-lg);
	overflow: hidden;
	transition: box-shadow 0.35s var(--vm-ease), transform 0.35s var(--vm-ease);
}

.room-card:hover {
	box-shadow: var(--vm-shadow);
	transform: translateY(-3px);
}

.room-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--vm-sand);
}

.room-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: scale 0.7s var(--vm-ease);
}

.room-card:hover .room-card__media img {
	scale: 1.04;
}

.room-card__badge {
	position: absolute;
	top: var(--vm-space-4);
	left: var(--vm-space-4);
	padding: 0.35rem 0.7rem;
	background: rgba(255, 255, 255, 0.94);
	border-radius: 2px;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--vm-navy-deep);
}

.room-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: var(--vm-space-5) var(--vm-space-5) var(--vm-space-5);
}

.room-card__title {
	font-size: 1.45rem;
	font-weight: 700;
	margin-bottom: var(--vm-space-3);
}

.room-card__title a {
	color: inherit;
	text-decoration: none;
}

.room-card__title a:hover {
	color: var(--vm-blue);
}

.room-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--vm-space-2) var(--vm-space-4);
	margin-bottom: var(--vm-space-4);
	font-size: 0.8125rem;
	color: var(--vm-muted);
}

.room-card__meta span {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
}

.room-card__meta .icon {
	width: 15px;
	height: 15px;
	color: var(--vm-sky);
}

.room-card__text {
	flex: 1;
	margin-bottom: var(--vm-space-5);
	font-size: 0.9375rem;
	color: var(--vm-muted);
	line-height: 1.62;
}

/* Cena i przyciski jedno pod drugim - przy trzech kolumnach nie ma szansy,
   zeby zmiescily sie obok siebie bez lamania kwoty na dwie linie. */
.room-card__foot {
	display: flex;
	flex-direction: column;
	gap: var(--vm-space-4);
	padding-top: var(--vm-space-4);
	border-top: 1px solid var(--vm-line);
}

.room-card__price {
	display: flex;
	align-items: baseline;
	gap: 0.4em;
	font-size: 0.8125rem;
	color: var(--vm-muted);
	line-height: 1.2;
	white-space: nowrap;
}

.room-card__price strong {
	font-family: var(--vm-font-display);
	font-size: 1.55rem;
	font-weight: 700;
	color: var(--vm-navy-deep);
}

.room-card__actions {
	display: flex;
	gap: var(--vm-space-2);
}

.room-card__actions .btn {
	flex: 1;
	padding-inline: 0.75em;
}

/* ------------------------------------------------------------------ *
 * 10. Pas udogodnien
 * ------------------------------------------------------------------ */

.amenities {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: var(--vm-space-6) var(--vm-space-5);
}

.amenity {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--vm-space-3);
	text-align: center;
}

.amenity .icon {
	width: 30px;
	height: 30px;
	color: var(--vm-sky);
	stroke-width: 1.25;
}

.amenity__label {
	font-size: 0.875rem;
	line-height: 1.4;
	color: var(--vm-on-dark-muted);
}

.section--navy .amenity__label {
	color: var(--vm-on-dark-muted);
}

/* Lista udogodnien na stronie pokoju */
.amenity-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: var(--vm-space-3) var(--vm-space-5);
	list-style: none;
	margin: 0;
	padding: 0;
}

.amenity-list li {
	display: flex;
	align-items: center;
	gap: 0.6em;
	font-size: 0.9375rem;
	color: var(--vm-ink);
}

.amenity-list .icon {
	width: 17px;
	height: 17px;
	flex-shrink: 0;
	color: var(--vm-sky);
}

/* ------------------------------------------------------------------ *
 * 11. Sekcja dzielona (zdjecie + tekst)
 * ------------------------------------------------------------------ */

.split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: center;
	gap: clamp(2rem, 1rem + 5vw, 5rem);
}

.split--reverse .split__media {
	order: 2;
}

.split__media {
	position: relative;
	border-radius: var(--vm-radius-lg);
	overflow: hidden;
	aspect-ratio: 5 / 4;
	background: var(--vm-sand);
}

.split__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.split__body {
	max-width: 34rem;
}

.split__body .btn,
.split__body .link-arrow {
	margin-top: var(--vm-space-5);
}

@media (max-width: 900px) {
	.split {
		grid-template-columns: minmax(0, 1fr);
	}

	.split--reverse .split__media {
		order: 0;
	}
}

/* ------------------------------------------------------------------ *
 * 12. Oferty specjalne
 * ------------------------------------------------------------------ */

.offer {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--vm-white);
	border: 1px solid var(--vm-line);
	border-radius: var(--vm-radius-lg);
	overflow: hidden;
}

.offer__media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--vm-sand);
}

.offer__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.offer__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: var(--vm-space-5);
}

.offer__title {
	font-size: 1.35rem;
	font-weight: 700;
	margin-bottom: var(--vm-space-3);
}

.offer__text {
	flex: 1;
	font-size: 0.9375rem;
	color: var(--vm-muted);
	margin-bottom: var(--vm-space-5);
}

.offer__price {
	font-family: var(--vm-font-display);
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--vm-navy-deep);
	margin-bottom: var(--vm-space-4);
}

.offer__price span {
	font-family: var(--vm-font-body);
	font-size: 0.8125rem;
	font-weight: 400;
	color: var(--vm-muted);
}

/* ------------------------------------------------------------------ *
 * 13. Opinie
 * ------------------------------------------------------------------ */

.reviews {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: var(--vm-space-6);
}

.review {
	display: flex;
	flex-direction: column;
	padding: var(--vm-space-6);
	background: var(--vm-white);
	border-radius: var(--vm-radius-lg);
	box-shadow: var(--vm-shadow-sm);
}

.review__stars {
	display: flex;
	gap: 2px;
	margin-bottom: var(--vm-space-4);
	color: #e8a33d;
}

.review__stars .icon {
	width: 16px;
	height: 16px;
}

/* Opinie czytaja sie lepiej w kroju tekstowym - szeryfowy przy tym
   rozmiarze i dlugosci akapitu meczy oko. */
.review__text {
	flex: 1;
	margin-bottom: var(--vm-space-5);
	font-family: var(--vm-font-body);
	font-size: 0.9375rem;
	line-height: 1.68;
	color: var(--vm-ink);
}

.review__meta {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--vm-space-3);
	padding-top: var(--vm-space-4);
	border-top: 1px solid var(--vm-line);
	font-size: 0.8125rem;
}

.review__author {
	font-weight: 600;
	color: var(--vm-navy-deep);
}

.review__source {
	color: var(--vm-muted);
}

/* ------------------------------------------------------------------ *
 * 14. Galeria i lightbox
 * ------------------------------------------------------------------ */

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: var(--vm-space-3);
}

.gallery-grid__item {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: var(--vm-radius);
	overflow: hidden;
	background: var(--vm-sand);
	cursor: zoom-in;
}

.gallery-grid__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: scale 0.6s var(--vm-ease), filter 0.3s var(--vm-ease);
}

.gallery-grid__item:hover img {
	scale: 1.05;
	filter: brightness(1.05);
}

/* Pierwsze zdjecie w galerii pokoju zajmuje dwa pola */
.gallery-grid--feature .gallery-grid__item:first-child {
	grid-column: span 2;
	grid-row: span 2;
	aspect-ratio: auto;
}

@media (max-width: 620px) {
	.gallery-grid--feature .gallery-grid__item:first-child {
		grid-column: span 1;
		grid-row: span 1;
		aspect-ratio: 4 / 3;
	}
}

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(1rem, 4vw, 3rem);
	background: rgba(11, 32, 56, 0.94);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s var(--vm-ease), visibility 0.3s;
}

.lightbox.is-open {
	opacity: 1;
	visibility: visible;
}

.lightbox__figure {
	margin: 0;
	max-width: 100%;
	max-height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--vm-space-4);
}

.lightbox__img {
	max-width: 100%;
	max-height: calc(100svh - 10rem);
	object-fit: contain;
	border-radius: var(--vm-radius);
}

.lightbox__counter {
	font-size: 0.8125rem;
	letter-spacing: 0.1em;
	color: rgba(255, 255, 255, 0.65);
}

.lightbox__btn {
	position: absolute;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	color: var(--vm-white);
	cursor: pointer;
	transition: background-color 0.25s var(--vm-ease);
}

.lightbox__btn:hover {
	background: rgba(255, 255, 255, 0.22);
}

.lightbox__btn--close { top: 1.25rem; right: 1.25rem; }
.lightbox__btn--prev { left: clamp(0.75rem, 2vw, 2rem); }
.lightbox__btn--next { right: clamp(0.75rem, 2vw, 2rem); }

.lightbox__btn .icon {
	width: 20px;
	height: 20px;
}

/* ------------------------------------------------------------------ *
 * 15. Podstrona pokoju
 * ------------------------------------------------------------------ */

.room-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: var(--vm-space-5);
	padding: var(--vm-space-6);
	background: var(--vm-cream);
	border-radius: var(--vm-radius-lg);
}

.room-fact__label {
	display: block;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--vm-muted);
	margin-bottom: 0.35rem;
}

.room-fact__value {
	font-family: var(--vm-font-display);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--vm-navy-deep);
	line-height: 1.2;
}

/* Panel rezerwacji przyklejony przy tresci pokoju */
.room-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: clamp(2rem, 1rem + 4vw, 4rem);
	align-items: start;
}

.room-aside {
	position: sticky;
	top: calc(var(--vm-header-h) + 1.5rem);
	padding: var(--vm-space-6);
	background: var(--vm-white);
	border: 1px solid var(--vm-line);
	border-radius: var(--vm-radius-lg);
	box-shadow: var(--vm-shadow-sm);
}

.room-aside__price {
	padding-bottom: var(--vm-space-4);
	margin-bottom: var(--vm-space-4);
	border-bottom: 1px solid var(--vm-line);
}

.room-aside__price strong {
	display: block;
	font-family: var(--vm-font-display);
	font-size: 2.25rem;
	font-weight: 700;
	color: var(--vm-navy-deep);
	line-height: 1.1;
}

.room-aside__price span {
	font-size: 0.8125rem;
	color: var(--vm-muted);
}

.room-aside__note {
	margin-top: var(--vm-space-4);
	font-size: 0.8125rem;
	line-height: 1.55;
	color: var(--vm-muted);
	text-align: center;
}

@media (max-width: 980px) {
	.room-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.room-aside {
		position: static;
	}
}

/* ------------------------------------------------------------------ *
 * 15b. Cennik
 * ------------------------------------------------------------------ */

.price-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.price-table thead th {
	padding: 0.7rem 0.9rem;
	border-bottom: 2px solid var(--vm-navy-deep);
	font-family: var(--vm-font-body);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--vm-navy-deep);
	text-align: end;
	white-space: nowrap;
}

.price-table thead th:first-child {
	text-align: start;
}

.price-table tbody th {
	padding: 0.85rem 0.9rem;
	border-bottom: 1px solid var(--vm-line);
	font-family: var(--vm-font-body);
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--vm-ink);
	text-align: start;
	white-space: nowrap;
}

.price-table tbody td {
	padding: 0.85rem 0.9rem;
	border-bottom: 1px solid var(--vm-line);
	text-align: end;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
	color: var(--vm-navy-deep);
}

.price-table tbody tr:hover th,
.price-table tbody tr:hover td {
	background: var(--vm-cream);
}

/* Wariant nieoferowany w danym terminie - kreska, nie zero */
.price-table__none {
	color: var(--vm-muted);
	opacity: 0.6;
}

.price-table__note {
	margin-top: var(--vm-space-4);
	font-size: 0.8125rem;
	line-height: 1.55;
	color: var(--vm-muted);
}

/* Brak aktualnego cennika */
.price-request {
	padding: var(--vm-space-6);
	background: var(--vm-cream);
	border: 1px solid var(--vm-line);
	border-radius: var(--vm-radius-lg);
}

.price-request__title {
	margin-bottom: var(--vm-space-3);
	font-family: var(--vm-font-display);
	font-size: 1.7rem;
	font-weight: 700;
	color: var(--vm-navy-deep);
}

.price-request__text {
	margin-bottom: var(--vm-space-5);
	font-size: 0.9375rem;
	color: var(--vm-muted);
	max-width: 42rem;
}

.price-request__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--vm-space-3);
	margin-bottom: 0;
}

.room-card__price--request strong {
	font-family: var(--vm-font-body);
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--vm-navy);
}

/* ------------------------------------------------------------------ *
 * 16. Silnik rezerwacyjny
 * ------------------------------------------------------------------ */

.previo {
	min-height: 60vh;
}

.previo__frame {
	display: block;
	width: 100%;
	border: 0;
}

.previo__fallback {
	padding: var(--vm-space-7) 0;
	text-align: center;
}

/* Na podstronie rezerwacji nie chcemy szerokich marginesow sekcji */
.is-reservation .previo-wrap {
	padding-block: var(--vm-space-7) var(--vm-space-8);
}

/* ------------------------------------------------------------------ *
 * 17. Tresc redakcyjna
 * ------------------------------------------------------------------ */

.prose > * + * {
	margin-top: var(--vm-space-5);
}

.prose h2 {
	margin-top: var(--vm-space-8);
}

.prose h3 {
	margin-top: var(--vm-space-6);
}

.prose ul,
.prose ol {
	padding-inline-start: 1.35em;
}

.prose li + li {
	margin-top: var(--vm-space-2);
}

.prose img {
	border-radius: var(--vm-radius-lg);
}

.prose blockquote {
	padding-inline-start: var(--vm-space-5);
	border-inline-start: 2px solid var(--vm-sky);
}

.prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.prose th,
.prose td {
	padding: 0.7rem 0.9rem;
	border-bottom: 1px solid var(--vm-line);
	text-align: start;
}

.prose th {
	font-weight: 600;
	color: var(--vm-navy-deep);
}

/* Tabele nie moga rozpychac strony w poziomie */
.table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

/* ------------------------------------------------------------------ *
 * 18. Kontakt
 * ------------------------------------------------------------------ */

.contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: var(--vm-space-6);
}

.contact-item__label {
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--vm-muted);
	margin-bottom: var(--vm-space-2);
}

.contact-item__value {
	font-size: 1.0625rem;
	color: var(--vm-navy-deep);
}

.contact-item__value a {
	color: inherit;
	text-decoration: none;
}

.contact-item__value a:hover {
	color: var(--vm-blue);
}

.map-embed {
	aspect-ratio: 16 / 9;
	border-radius: var(--vm-radius-lg);
	overflow: hidden;
	background: var(--vm-sand);
}

.map-embed iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

/* ------------------------------------------------------------------ *
 * 19. Stopka
 * ------------------------------------------------------------------ */

.footer {
	background: var(--vm-navy-deep);
	color: var(--vm-on-dark-muted);
	padding-block: var(--vm-space-9) var(--vm-space-6);
	font-size: 0.9375rem;
}

.footer a {
	color: var(--vm-on-dark-muted);
	text-decoration: none;
	transition: color 0.2s var(--vm-ease);
}

.footer a:hover {
	color: var(--vm-white);
}

.footer__grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
	gap: var(--vm-space-7) var(--vm-space-6);
	padding-bottom: var(--vm-space-7);
	border-bottom: 1px solid var(--vm-line-dark);
}

@media (max-width: 900px) {
	.footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.footer__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Logo w stopce to wklejony inline SVG z fill="currentColor" - bierze kolor
   stad, bez filtrow CSS udajacych wybielenie kolorowej grafiki. */
.footer__logo {
	height: 44px;
	width: auto;
	margin-bottom: var(--vm-space-4);
	color: var(--vm-white);
	opacity: 0.95;
}

.footer__title {
	font-family: var(--vm-font-body);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--vm-white);
	margin-bottom: var(--vm-space-4);
}

.footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer__list li + li {
	margin-top: var(--vm-space-3);
}

.footer__socials {
	display: flex;
	gap: var(--vm-space-3);
	margin-top: var(--vm-space-5);
}

.footer__social {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--vm-line-dark);
	border-radius: 50%;
	transition: background-color 0.25s var(--vm-ease), border-color 0.25s var(--vm-ease);
}

.footer__social:hover {
	background: var(--vm-white);
	border-color: var(--vm-white);
	color: var(--vm-navy-deep);
}

.footer__social .icon {
	width: 18px;
	height: 18px;
}

.footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--vm-space-4);
	padding-top: var(--vm-space-6);
	font-size: 0.8125rem;
	color: rgba(169, 192, 214, 0.75);
}

.footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: var(--vm-space-5);
	list-style: none;
	margin: 0;
	padding: 0;
}

/* ------------------------------------------------------------------ *
 * 20. Pomocnicze i dostepnosc
 * ------------------------------------------------------------------ */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.stack > * + * {
	margin-top: var(--vm-space-4);
}

/* Delikatne wejscie sekcji przy przewijaniu */
.reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.7s var(--vm-ease), transform 0.7s var(--vm-ease);
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.reveal {
		opacity: 1;
		transform: none;
	}
}

@media print {
	.header,
	.footer,
	.booking,
	.previo,
	.nav-toggle {
		display: none !important;
	}

	body {
		color: #000;
	}
}

/* ------------------------------------------------------------------ *
 * 21. Zgoda na cookies
 * ------------------------------------------------------------------ */

.cc {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--vm-space-5) var(--vm-space-4);
	opacity: 0;
	transition: opacity 0.3s var(--vm-ease);
}

.cc[hidden] {
	display: none;
}

.cc.is-visible {
	opacity: 1;
}

/* Rozmyte tlo - strona zostaje widoczna, ale nie odciaga uwagi od decyzji. */
.cc__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(11, 32, 56, 0.78);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.cc__card {
	position: relative;
	z-index: 1;
	width: min(680px, 94vw);
	max-height: 92vh;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: clamp(1.75rem, 1rem + 3vw, 2.75rem) clamp(1.5rem, 1rem + 3vw, 3rem);
	background: var(--vm-cream);
	color: var(--vm-ink);
	border-top: 3px solid var(--vm-sky);
	border-radius: var(--vm-radius-lg);
	box-shadow: 0 24px 80px rgba(11, 32, 56, 0.45);
	text-align: center;
	transform: translateY(16px) scale(0.985);
	transition: transform 0.34s var(--vm-ease);
}

.cc.is-visible .cc__card {
	transform: none;
}

.cc__logo {
	display: block;
	width: auto;
	height: 46px;
	margin: 0 auto var(--vm-space-5);
}

.cc__title {
	margin: 0 0 var(--vm-space-2);
	font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.1rem);
}

.cc__lead {
	margin: 0 0 var(--vm-space-4);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--vm-blue);
}

.cc__msg {
	margin: 0 auto var(--vm-space-5);
	max-width: 54ch;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--vm-muted);
}

.cc__list {
	list-style: none;
	margin: 0 auto var(--vm-space-6);
	padding: var(--vm-space-4) var(--vm-space-5);
	max-width: 54ch;
	text-align: start;
	background: var(--vm-white);
	border: 1px solid var(--vm-line);
	border-radius: var(--vm-radius);
}

.cc__list li {
	position: relative;
	margin: 0 0 var(--vm-space-3);
	padding-inline-start: 1.15rem;
	font-size: 0.875rem;
	line-height: 1.55;
	color: var(--vm-muted);
}

.cc__list li:last-child {
	margin-bottom: 0;
}

.cc__list li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 0.55em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--vm-sky);
}

.cc__list strong {
	color: var(--vm-navy-deep);
	font-weight: 600;
}

.cc__actions {
	display: flex;
	gap: var(--vm-space-3);
	justify-content: center;
	flex-wrap: wrap;
}

.cc__btn {
	flex: 1 1 210px;
	max-width: 270px;
}

.cc__note {
	margin: var(--vm-space-5) 0 0;
	font-size: 0.75rem;
	line-height: 1.6;
	color: var(--vm-muted);
}

/* Na telefonie okno musi zmiescic sie w calosci - inaczej przycisk
   \"Tylko niezbedne\" i odnosnik do polityki chowaja sie pod krawedzia. */
@media (max-width: 560px) {
	.cc {
		padding: var(--vm-space-3);
	}

	.cc__card {
		max-height: calc(100svh - 1.5rem);
		padding: var(--vm-space-6) var(--vm-space-5);
	}

	.cc__logo {
		height: 34px;
		margin-bottom: var(--vm-space-4);
	}

	.cc__title {
		font-size: 1.45rem;
	}

	.cc__msg {
		margin-bottom: var(--vm-space-4);
		font-size: 0.875rem;
		line-height: 1.6;
	}

	.cc__list {
		margin-bottom: var(--vm-space-5);
		padding: var(--vm-space-4);
		font-size: 0.8125rem;
	}

	.cc__actions {
		flex-direction: column;
	}

	.cc__btn {
		flex: 0 0 auto;
		max-width: none;
	}

	.cc__note {
		margin-top: var(--vm-space-4);
	}
}
/* Strona pod oknem nie przewija sie, dopoki gosc nie zdecyduje. */
.cc-lock,
.cc-lock body {
	overflow: hidden;
}

/* ------------------------------------------------------------------ *
 * 22. Mapa dojazdu
 * ------------------------------------------------------------------ */

.mapa {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: var(--vm-radius-lg);
	overflow: hidden;
	background: var(--vm-sand);
}

@media (max-width: 700px) {
	.mapa {
		aspect-ratio: 4 / 3;
	}
}

.mapa iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

/* Zaslona przed zgoda - mapa nie laduje sie, dopoki gosc nie kliknie. */
.mapa__zaslona {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--vm-space-4);
	padding: var(--vm-space-6);
	text-align: center;
	background: var(--vm-navy-deep);
	color: var(--vm-on-dark-muted);
}

.mapa__zaslona .icon {
	width: 28px;
	height: 28px;
	color: var(--vm-sky);
}

.mapa__tekst {
	max-width: 42ch;
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.6;
}

/* Karty kontaktowe na podstronie kontaktu */
.contact-cards {
	display: flex;
	flex-direction: column;
	gap: var(--vm-space-5);
	padding: var(--vm-space-6);
	background: var(--vm-cream);
	border: 1px solid var(--vm-line);
	border-radius: var(--vm-radius-lg);
	align-self: start;
}

.contact-card .contact-item__label {
	display: block;
	margin-bottom: var(--vm-space-2);
}

.mapa__akcje {
	display: flex;
	gap: var(--vm-space-3);
	flex-wrap: wrap;
	justify-content: center;
}
