/**
 * WS Nieruchomości — bazowy arkusz (bez stylów żłobka).
 */

:root {
	--ws-dark: #0a0a0a;
	--ws-dark-soft: #1a1a1a;
	--ws-gold: #c5a07d;
	--ws-gold-hover: #b08d6a;
	--ws-white: #ffffff;
	--ws-muted: #8a9199;
	--ws-text: #1a1a1a;
	--ws-line: #e4e6e9;
	--ws-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--ws-sans: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--ws-nav: "Raleway", "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--ws-container: min(1240px, calc(100% - 48px));
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--ws-text);
	font-family: var(--ws-sans);
	font-size: 16px;
	line-height: 1.5;
	background: var(--ws-white);
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: inherit;
}

button {
	font: inherit;
	cursor: pointer;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: auto;
	z-index: 100000;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.skip-link:focus {
	left: 16px;
	top: 16px;
	width: auto;
	height: auto;
	padding: 10px 16px;
	background: var(--ws-dark);
	color: var(--ws-white);
	text-decoration: none;
}

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

body.ws-nav-open .skip-link {
	visibility: hidden;
	pointer-events: none;
}

.container {
	width: var(--ws-container);
	margin-inline: auto;
}

.site-main {
	margin: 0;
	padding: 0;
	max-width: none;
	width: 100%;
	overflow-x: clip;
}

/* CTA podstron (O nas, Kariera) — tekst + guziki obok na desktopie */
.wsn-about-closing__cta,
.wsn-career-apply__actions {
	min-width: 0;
}

.wsn-about-closing__cta .wsr-btn,
.wsn-career-apply__actions .wsr-btn {
	display: flex;
}

@media (max-width: 899px) {
	.wsn-about-closing__inner,
	.wsn-career-apply__inner {
		display: flex;
		flex-direction: column;
		align-items: stretch;
	}
}

@media (min-width: 900px) {
	.wsn-about-closing__inner,
	.wsn-career-apply__inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 236px);
		gap: clamp(28px, 4vw, 40px);
		align-items: center;
	}

	.wsn-about-closing__cta,
	.wsn-career-apply__actions {
		width: 100%;
		max-width: 236px;
		min-width: 0;
	}
}

/* Podstrony — treść pod hero */
.ws-page-content {
	padding: 56px 0 80px;
}

.ws-page-content .content-area {
	max-width: 760px;
}

.ws-page-content .content-area > :first-child {
	margin-top: 0;
}

.ws-page-content .content-area > :last-child {
	margin-bottom: 0;
}

/* Cookie notice */
.ccz-cookie-notice.is-dismissed,
.ccz-cookie-notice[hidden],
html.ccz-cookie-accepted .ccz-cookie-notice {
	display: none !important;
}

.ccz-cookie-notice {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 100000;
	padding: clamp(12px, 2.5vw, 20px);
	pointer-events: auto;
}

.ccz-cookie-notice__panel {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: clamp(14px, 2.5vw, 22px);
	align-items: center;
	width: min(100%, 1120px);
	margin: 0 auto;
	padding: clamp(16px, 2.8vw, 22px) clamp(18px, 3vw, 26px);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 4px;
	background: linear-gradient(135deg, #1a1a1a 0%, #121212 100%);
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
	color: var(--ws-white);
	pointer-events: auto;
}

.ccz-cookie-notice__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 1px solid rgba(197, 160, 125, 0.35);
	color: var(--ws-gold);
}

.ccz-cookie-notice__icon svg {
	width: 24px;
	height: 24px;
}

.ccz-cookie-notice__title {
	margin: 0 0 6px;
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ccz-cookie-notice__text {
	margin: 0;
	color: #c8ced5;
	font-size: 0.88rem;
	line-height: 1.55;
}

.ccz-cookie-notice__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	justify-content: flex-end;
}

.ccz-cookie-notice__more.button--ghost,
.ccz-cookie-notice__accept {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 18px;
	border-radius: 0;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}

.ccz-cookie-notice__more.button--ghost {
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: transparent;
	color: var(--ws-white);
}

.ccz-cookie-notice__more.button--ghost:hover,
.ccz-cookie-notice__more.button--ghost:focus-visible {
	border-color: var(--ws-white);
}

.ccz-cookie-notice__accept {
	border: 0;
	background: var(--ws-gold);
	color: var(--ws-dark);
}

.ccz-cookie-notice__accept:hover,
.ccz-cookie-notice__accept:focus-visible {
	background: var(--ws-gold-hover);
}

@media (max-width: 720px) {
	.ccz-cookie-notice__panel {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.ccz-cookie-notice__actions {
		grid-column: 1 / -1;
		justify-content: stretch;
	}

	.ccz-cookie-notice__actions .button {
		flex: 1 1 140px;
	}
}

/* ——— Wspólne karty kontaktowe ——— */
.wsn-contact-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.wsn-contact-card {
	display: grid;
	gap: 14px;
	padding: 18px 20px;
	border: 1px solid var(--ws-line);
	border-left: 3px solid var(--ws-gold);
	background: #fff;
	box-shadow: 0 10px 28px rgba(17, 24, 39, 0.05);
}

.wsn-contact-card__name {
	margin: 0;
	color: var(--ws-gold);
	font-family: var(--ws-sans);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.wsn-contact-card__links {
	display: grid;
	gap: 10px;
}

.wsn-contact-card__link {
	display: grid;
	grid-template-columns: 36px 1fr;
	gap: 12px;
	align-items: center;
	padding: 10px 12px;
	border: 1px solid #e4e6e9;
	background: #fafbfc;
	color: var(--ws-dark);
	text-decoration: none;
	transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.wsn-contact-card__link:hover,
.wsn-contact-card__link:focus-visible {
	border-color: rgba(197, 160, 125, 0.45);
	background: #faf7f3;
	color: var(--ws-dark);
	transform: translateY(-1px);
}

.wsn-contact-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(197, 160, 125, 0.35);
	color: var(--ws-gold);
	background: rgba(255, 255, 255, 0.85);
}

.wsn-contact-card__icon svg {
	display: block;
	width: 18px;
	height: 18px;
}

.wsn-contact-card__meta {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.wsn-contact-card__type {
	color: var(--ws-muted);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.wsn-contact-card__meta strong {
	color: var(--ws-dark);
	font-family: var(--ws-sans);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.35;
	word-break: break-word;
}

.wsn-contact-cards--dark .wsn-contact-card {
	border-color: rgba(255, 255, 255, 0.1);
	background: linear-gradient(165deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.wsn-contact-cards--dark .wsn-contact-card__link {
	border-color: rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.03);
	color: var(--ws-white);
}

.wsn-contact-cards--dark .wsn-contact-card__link:hover,
.wsn-contact-cards--dark .wsn-contact-card__link:focus-visible {
	border-color: rgba(197, 160, 125, 0.45);
	background: rgba(197, 160, 125, 0.08);
	color: var(--ws-white);
}

.wsn-contact-cards--dark .wsn-contact-card__icon {
	background: rgba(255, 255, 255, 0.04);
}

.wsn-contact-cards--dark .wsn-contact-card__type {
	color: #9aa3ad;
}

.wsn-contact-cards--dark .wsn-contact-card__meta strong {
	color: var(--ws-white);
}

.wsn-rich-text > :first-child {
	margin-top: 0;
}

.wsn-rich-text > :last-child {
	margin-bottom: 0;
}

.wsn-rich-text p + p {
	margin-top: 1em;
}

.wsn-rich-text a {
	color: var(--ws-gold);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.wsn-rich-text a:hover,
.wsn-rich-text a:focus-visible {
	color: var(--ws-gold-hover);
}

.wsn-rich-text ul,
.wsn-rich-text ol {
	padding-left: 1.25em;
}

.wsn-rich-text li + li {
	margin-top: 0.35em;
}

@media (max-width: 980px) {
	.wsn-contact-cards {
		grid-template-columns: 1fr;
	}
}
