/**
 * Comfort Stay - style motywu.
 * Paleta i typografia zgodne z dotychczasowa witryna Comfort Apartments.
 */

:root {
	--cs-gold: #d49f58;
	--cs-gold-dark: #b9863f;
	--cs-gold-soft: #f3e4cf;
	--cs-navy: #0d2038;
	--cs-navy-light: #16304f;
	--cs-ink: #1b2430;
	--cs-muted: #6b7683;
	--cs-line: #e4e7eb;
	--cs-bg: #ffffff;
	--cs-bg-soft: #f7f8f9;
	--cs-sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--cs-serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--cs-radius: 10px;
	--cs-shadow: 0 2px 14px rgba(13, 32, 56, .07);
	--cs-shadow-lg: 0 12px 40px rgba(13, 32, 56, .16);
	--cs-header-h: 76px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--cs-sans);
	font-size: 16px;
	line-height: 1.65;
	color: var(--cs-ink);
	background: var(--cs-bg);
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--cs-gold-dark);
	text-decoration: none;
}

a:hover {
	color: var(--cs-navy);
}

h1, h2, h3, h4 {
	font-family: var(--cs-serif);
	color: var(--cs-navy);
	line-height: 1.25;
	font-weight: 600;
}

.cs-container {
	width: min(1200px, 100% - 40px);
	margin-inline: auto;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.cs-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 1000;
	padding: 10px 18px;
	background: var(--cs-navy);
	color: #fff;
}

.cs-skip:focus {
	left: 10px;
	top: 10px;
	color: #fff;
}

/* ------------------------------------------------------------------ */
/*  Naglowek                                                           */
/* ------------------------------------------------------------------ */

.cs-topbar {
	background: var(--cs-navy);
	color: rgba(255, 255, 255, .82);
	font-size: 13px;
}

.cs-topbar-inner {
	display: flex;
	align-items: center;
	gap: 22px;
	height: 38px;
}

.cs-topbar a {
	color: rgba(255, 255, 255, .82);
}

.cs-topbar a:hover {
	color: var(--cs-gold);
}

.cs-topbar-panel {
	margin-left: auto;
	font-weight: 600;
	color: var(--cs-gold) !important;
}

.cs-header {
	position: sticky;
	top: 0;
	z-index: 500;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--cs-line);
}

.cs-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: var(--cs-header-h);
}

.cs-logo,
.custom-logo-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--cs-navy);
	font-family: var(--cs-serif);
	font-size: 19px;
	font-weight: 600;
	letter-spacing: .01em;
}

.cs-logo img,
.custom-logo-link img {
	width: 46px;
	height: 46px;
	object-fit: contain;
}

.cs-nav {
	display: flex;
	align-items: center;
	gap: 26px;
}

.cs-menu {
	display: flex;
	align-items: center;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cs-menu li {
	position: relative;
}

.cs-menu a {
	display: inline-block;
	padding: 6px 0;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .01em;
	color: var(--cs-ink);
}

.cs-menu a::after {
	content: "";
	display: block;
	height: 2px;
	width: 0;
	margin-top: 3px;
	background: var(--cs-gold);
	transition: width .2s;
}

.cs-menu a:hover::after,
.cs-menu .current-menu-item > a::after,
.cs-menu a.is-current::after {
	width: 100%;
}

.cs-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: -14px;
	min-width: 210px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: #fff;
	border: 1px solid var(--cs-line);
	border-radius: 8px;
	box-shadow: var(--cs-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .18s, transform .18s, visibility .18s;
}

.cs-menu li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.cs-menu .sub-menu a {
	display: block;
	padding: 8px 12px;
	border-radius: 6px;
}

.cs-menu .sub-menu a:hover {
	background: var(--cs-bg-soft);
}

.cs-menu .sub-menu a::after {
	display: none;
}

.cs-nav-cta {
	display: inline-flex;
	align-items: center;
	height: 42px;
	padding: 0 20px;
	border-radius: 8px;
	background: var(--cs-gold);
	color: #fff !important;
	font-size: 14px;
	font-weight: 600;
	transition: background .15s;
}

.cs-nav-cta:hover {
	background: var(--cs-gold-dark);
}

.cs-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 0 10px;
	border: 1px solid var(--cs-line);
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
}

.cs-burger span {
	display: block;
	height: 2px;
	background: var(--cs-navy);
	transition: transform .2s, opacity .2s;
}

.cs-burger[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.cs-burger[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.cs-burger[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ------------------------------------------------------------------ */
/*  Sekcja glowna                                                      */
/* ------------------------------------------------------------------ */

.cs-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 560px;
	padding: 70px 0 90px;
	color: #fff;
	overflow: hidden;
}

.cs-hero-media {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(13, 32, 56, .72) 0%, rgba(13, 32, 56, .58) 45%, rgba(13, 32, 56, .82) 100%),
		radial-gradient(120% 90% at 20% 10%, #24476f 0%, #0d2038 60%);
	background-size: cover;
	background-position: center;
}

.cs-hero-inner {
	position: relative;
	z-index: 2;
	text-align: center;
}

.cs-hero-kicker {
	margin: 0 0 12px;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--cs-gold);
}

.cs-hero-title {
	margin: 0 0 16px;
	font-size: clamp(34px, 6vw, 60px);
	color: #fff;
	font-weight: 600;
}

.cs-hero-lead {
	max-width: 680px;
	margin: 0 auto 34px;
	font-size: 17px;
	color: rgba(255, 255, 255, .88);
}

.cs-hero-search {
	max-width: 980px;
	margin: 0 auto;
	text-align: left;
}

/* Pasek IBE na ciemnym tle */
.cs-hero-search .ca-filter-wrap {
	margin-bottom: 0;
	box-shadow: var(--cs-shadow-lg);
}

.cs-hero-search .ca-notice-disclaimer {
	color: rgba(255, 255, 255, .7);
}

/* ------------------------------------------------------------------ */
/*  Sekcje                                                             */
/* ------------------------------------------------------------------ */

.cs-section {
	padding: 70px 0;
}

.cs-section-alt {
	background: var(--cs-bg-soft);
}

.cs-section-head {
	max-width: 720px;
	margin: 0 auto 40px;
	text-align: center;
}

.cs-section-head h2 {
	margin: 0 0 10px;
	font-size: clamp(26px, 3.4vw, 36px);
}

.cs-section-head p {
	margin: 0;
	color: var(--cs-muted);
}

.cs-center {
	margin-top: 36px;
	text-align: center;
}

.cs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 48px;
	padding: 0 26px;
	border: 1px solid transparent;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background .15s, color .15s, border-color .15s;
}

.cs-btn-gold {
	background: var(--cs-gold);
	color: #fff;
}

.cs-btn-gold:hover {
	background: var(--cs-gold-dark);
	color: #fff;
}

.cs-btn-outline {
	border-color: var(--cs-line);
	color: var(--cs-ink);
	background: #fff;
}

.cs-btn-outline:hover {
	border-color: var(--cs-gold);
	color: var(--cs-gold-dark);
}

/* Miasta */
.cs-cities {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 14px;
}

.cs-city {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 18px 20px;
	border: 1px solid var(--cs-line);
	border-radius: var(--cs-radius);
	background: #fff;
	transition: border-color .15s, transform .15s, box-shadow .15s;
}

.cs-city:hover {
	border-color: var(--cs-gold);
	transform: translateY(-2px);
	box-shadow: var(--cs-shadow);
}

.cs-city-name {
	font-family: var(--cs-serif);
	font-size: 19px;
	font-weight: 600;
	color: var(--cs-navy);
}

.cs-city-count {
	font-size: 13px;
	color: var(--cs-muted);
}

/* Atuty */
.cs-features {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 24px;
}

.cs-feature {
	padding: 26px 24px;
	background: #fff;
	border: 1px solid var(--cs-line);
	border-radius: var(--cs-radius);
}

.cs-feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: var(--cs-gold-soft);
	color: var(--cs-gold-dark);
}

.cs-feature-icon svg {
	width: 22px;
	height: 22px;
}

.cs-feature h3 {
	margin: 0 0 8px;
	font-size: 18px;
}

.cs-feature p {
	margin: 0;
	font-size: 14.5px;
	color: var(--cs-muted);
}

/* ------------------------------------------------------------------ */
/*  Podstrony                                                          */
/* ------------------------------------------------------------------ */

.cs-page {
	padding: 34px 0 70px;
}

.cs-page-narrow .cs-content,
.cs-page-narrow .cs-page-head {
	max-width: 760px;
	margin-inline: auto;
}

.cs-breadcrumbs {
	margin-bottom: 22px;
	font-size: 13px;
	color: var(--cs-muted);
}

.cs-breadcrumbs a {
	color: var(--cs-muted);
}

.cs-breadcrumbs a:hover {
	color: var(--cs-gold-dark);
}

.cs-breadcrumbs strong {
	color: var(--cs-ink);
	font-weight: 600;
}

.cs-page-head {
	margin-bottom: 26px;
}

.cs-page-title {
	margin: 0;
	font-size: clamp(28px, 4vw, 42px);
}

.cs-page-thumb {
	margin: 0 0 30px;
	border-radius: var(--cs-radius);
	overflow: hidden;
}

.cs-content {
	font-size: 16px;
}

.cs-content h2 {
	margin: 34px 0 14px;
	font-size: 26px;
}

.cs-content h3 {
	margin: 26px 0 10px;
	font-size: 21px;
}

.cs-content ul,
.cs-content ol {
	padding-left: 22px;
}

.cs-content img {
	border-radius: var(--cs-radius);
}

.cs-content blockquote {
	margin: 24px 0;
	padding: 4px 0 4px 20px;
	border-left: 3px solid var(--cs-gold);
	color: var(--cs-muted);
	font-style: italic;
}

/* Blog */
.cs-posts {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 26px;
}

.cs-post-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--cs-line);
	border-radius: var(--cs-radius);
	overflow: hidden;
	background: #fff;
	transition: transform .18s, box-shadow .18s;
}

.cs-post-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--cs-shadow-lg);
}

.cs-post-thumb {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--cs-bg-soft);
}

.cs-post-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cs-post-noimg {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #eef0f2, #dfe3e7);
}

.cs-post-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 18px 20px 22px;
}

.cs-post-date {
	margin: 0 0 6px;
	font-size: 12px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--cs-muted);
}

.cs-post-title {
	margin: 0 0 10px;
	font-size: 20px;
}

.cs-post-title a {
	color: var(--cs-navy);
}

.cs-post-title a:hover {
	color: var(--cs-gold-dark);
}

.cs-post-excerpt {
	margin: 0 0 16px;
	font-size: 14.5px;
	color: var(--cs-muted);
}

.cs-post-more {
	margin-top: auto;
	font-size: 14px;
	font-weight: 600;
}

.cs-searchform {
	display: flex;
	gap: 10px;
	max-width: 460px;
	margin-top: 20px;
}

.cs-searchform input {
	flex: 1;
	height: 48px;
	padding: 0 14px;
	border: 1px solid var(--cs-line);
	border-radius: 8px;
	font: inherit;
}

.cs-searchform input:focus {
	outline: none;
	border-color: var(--cs-gold);
	box-shadow: 0 0 0 3px rgba(212, 159, 88, .16);
}

.cs-404 {
	text-align: center;
	padding: 70px 0 90px;
}

.cs-404 .cs-searchform {
	margin-inline: auto;
}

.cs-empty {
	padding: 40px;
	text-align: center;
	color: var(--cs-muted);
	border: 1px dashed var(--cs-line);
	border-radius: var(--cs-radius);
}

.pagination,
.navigation.pagination {
	margin-top: 40px;
	text-align: center;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	margin: 0 3px;
	border: 1px solid var(--cs-line);
	border-radius: 8px;
	color: var(--cs-ink);
	font-size: 14px;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
	background: var(--cs-gold);
	border-color: var(--cs-gold);
	color: #fff;
}

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

.cs-footer {
	margin-top: 20px;
	background: var(--cs-navy);
	color: rgba(255, 255, 255, .78);
	font-size: 14.5px;
}

.cs-footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
	gap: 36px;
	padding: 56px 0 44px;
}

.cs-footer h3 {
	margin: 0 0 16px;
	font-size: 16px;
	color: #fff;
	letter-spacing: .02em;
}

.cs-footer a {
	color: rgba(255, 255, 255, .78);
}

.cs-footer a:hover {
	color: var(--cs-gold);
}

.cs-footer-logo {
	width: 64px;
	height: 64px;
	object-fit: contain;
	margin-bottom: 10px;
	filter: brightness(0) invert(1);
	opacity: .9;
}

.cs-footer-name {
	margin: 0 0 8px;
	font-family: var(--cs-serif);
	font-size: 19px;
	color: #fff;
}

.cs-footer address {
	font-style: normal;
	line-height: 1.9;
}

.cs-footer-menu {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: 2.1;
}

.cs-footer-note {
	margin: 0 0 18px;
	line-height: 1.7;
}

.cs-footer-bar {
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: 13px;
}

.cs-footer-bar-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 0;
}

.cs-footer-bar-inner a {
	margin-right: 16px;
}

.cs-footer-by {
	opacity: .65;
}

/* ------------------------------------------------------------------ */
/*  Responsywnosc                                                      */
/* ------------------------------------------------------------------ */

@media (max-width: 1080px) {
	.cs-footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 30px;
	}
}

@media (max-width: 900px) {
	.cs-burger {
		display: flex;
	}

	.cs-nav {
		position: fixed;
		z-index: 480;
		top: calc(var(--cs-header-h) + 38px);
		left: 0;
		right: 0;
		bottom: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 20px;
		background: #fff;
		overflow-y: auto;
		transform: translateX(100%);
		transition: transform .25s;
	}

	.cs-nav.is-open {
		transform: none;
	}

	.cs-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.cs-menu > li {
		border-bottom: 1px solid var(--cs-line);
	}

	.cs-menu a {
		padding: 14px 4px;
		font-size: 16px;
	}

	.cs-menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		border: 0;
		box-shadow: none;
		padding: 0 0 8px 14px;
	}

	.cs-nav-cta {
		margin-top: 20px;
		justify-content: center;
	}

	.cs-topbar-inner {
		gap: 14px;
		font-size: 12px;
	}
}

@media (max-width: 640px) {
	.cs-hero {
		min-height: auto;
		padding: 50px 0 60px;
	}

	.cs-section {
		padding: 48px 0;
	}

	.cs-footer-grid {
		grid-template-columns: 1fr;
	}

	.cs-topbar a:not(.cs-topbar-panel) {
		display: none;
	}

	.cs-topbar-panel {
		margin-left: 0;
	}
}
