/**
 * Stopka WS Nieruchomości.
 */

.ws-footer-company {
	background: linear-gradient(180deg, #1c1c1c 0%, #1a1a1a 100%);
	border-top: 1px solid rgba(197, 160, 125, 0.18);
	color: #c8ced5;
	text-align: center;
}

.ws-footer-company .container {
	display: flex;
	justify-content: center;
}

.ws-footer-company__list {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 14px 0;
	margin: 0;
	padding: 20px 12px 22px;
	list-style: none;
	max-width: 100%;
}

.ws-footer-company__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	flex: 0 1 auto;
	min-width: 0;
	padding: 0;
	text-align: center;
}

.ws-footer-company__item:not(:last-child)::after {
	content: "";
	display: inline-block;
	width: 4px;
	height: 4px;
	margin: 0 18px;
	border-radius: 50%;
	background: rgba(197, 160, 125, 0.45);
	flex-shrink: 0;
}

.ws-footer-company__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	color: #c5a07d;
}

.ws-footer-company__icon svg {
	display: block;
	width: 16px;
	height: 16px;
}

.ws-footer-company__content {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	gap: 5px;
	min-width: 0;
}

.ws-footer-company__label {
	color: #9aa3ad;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: 1.2;
	text-transform: uppercase;
}

.ws-footer-company__label::after {
	content: ":";
}

.ws-footer-company__value {
	color: #f1f3f5;
	font-size: 0.84rem;
	font-weight: 500;
	line-height: 1.35;
	word-break: break-word;
}

.site-footer.ws-footer {
	background: linear-gradient(180deg, #1a1a1a 0%, #121212 100%);
	border-top: 0;
	color: #c8ced5;
	padding: 0;
	margin-top: 0;
}

.site-footer.ws-footer a {
	color: #d8dde3;
	text-decoration: none;
	transition: color 0.2s ease;
}

.site-footer.ws-footer a:hover,
.site-footer.ws-footer a:focus-visible {
	color: #c5a07d;
}

.ws-footer__grid {
	display: grid;
	grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
	gap: 36px 28px;
	padding: 52px 0 40px;
}

.ws-footer__brand .site-logo-image-link {
	display: inline-flex;
	width: min(240px, 100%);
	margin-bottom: 14px;
}

.ws-footer__brand .site-logo-image {
	display: block;
	width: 100%;
	max-height: 52px;
	object-fit: contain;
}

.ws-footer__tagline {
	margin: 0 0 20px;
	max-width: 28ch;
	color: #9aa3ad;
	font-size: 0.88rem;
	line-height: 1.6;
}

.ws-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ws-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	min-height: 38px;
	padding: 0 12px;
	border: 1px solid rgba(197, 160, 125, 0.35);
	border-radius: 2px;
	color: #e8eaed !important;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ws-footer__social a:hover {
	background: rgba(197, 160, 125, 0.12);
	border-color: #c5a07d;
	color: #c5a07d !important;
}

.ws-footer__col h3 {
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(197, 160, 125, 0.25);
	color: #ffffff !important;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 0.95rem;
	font-weight: 400;
	letter-spacing: 0.04em;
	text-transform: none;
}

.ws-footer__col ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ws-footer__col li {
	margin-bottom: 10px;
	font-size: 0.86rem;
	line-height: 1.5;
}

.ws-footer__col li:last-child {
	margin-bottom: 0;
}

.ws-footer__contact li {
	color: #b8c0c8;
}

.ws-footer__bar {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 28px 0 30px;
	text-align: center;
}

.ws-footer__legal {
	width: 100%;
	text-align: center;
}

.ws-footer__legal p {
	margin: 0;
}

.ws-footer__copyright {
	color: #eef2f6 !important;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ws-footer__rights {
	margin-top: 5px !important;
	color: #8f98a3 !important;
	font-size: 0.74rem;
	letter-spacing: 0;
	text-transform: none;
	font-weight: 400;
}

.ws-footer__award {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	flex-shrink: 0;
}

.ws-footer__award a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.ws-footer__award-badge {
	display: block;
	width: clamp(96px, 11vw, 132px);
	height: auto;
	filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.28));
}

.ws-footer__realization {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	flex-shrink: 0;
}

.ws-footer__realization span {
	color: #8f98a3;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	white-space: nowrap;
}

.ws-footer__realization img {
	display: block;
	width: 132px;
	max-width: 34vw;
	height: auto;
	opacity: 0.92;
}

@media (min-width: 1081px) {
	.ws-footer-company__list {
		gap: 14px 0;
		padding: 22px 16px 24px;
	}

	.ws-footer-company__item:not(:last-child)::after {
		margin: 0 22px;
	}
}

@media (max-width: 720px) {
	.ws-footer-company__list {
		flex-direction: column;
		align-items: center;
		gap: 16px;
		padding: 18px 16px 20px;
	}

	.ws-footer-company__item {
		flex-direction: column;
		gap: 7px;
		width: 100%;
		max-width: 22rem;
	}

	.ws-footer-company__item:not(:last-child)::after {
		display: none;
	}

	.ws-footer-company__content {
		flex-direction: column;
		align-items: center;
		gap: 3px;
	}

	.ws-footer-company__value {
		font-size: 0.88rem;
	}
}

@media (min-width: 1081px) {
	.ws-footer__bar {
		flex-direction: row;
		align-items: center;
		justify-content: center;
		gap: 20px 28px;
		text-align: center;
	}

	.ws-footer__legal {
		width: 100%;
		text-align: left;
	}

	.ws-footer__award {
		width: auto;
		min-width: 180px;
	}

	.ws-footer__award-badge {
		width: 128px;
	}

	.ws-footer__realization {
		display: inline-flex;
		justify-content: flex-end;
		width: 100%;
		text-align: left;
	}

	.ws-footer__legal,
	.ws-footer__realization {
		flex: 1 1 0;
	}
}

@media (max-width: 980px) {
	.ws-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 28px 20px;
		padding: 40px 0 32px;
	}

	.ws-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 560px) {
	.ws-footer__grid {
		grid-template-columns: 1fr;
	}
}
