/**
 * Kotler footer
 * Dark section (ink bg + light text + blue accents).
 * Mobile-first responsive: stacked → 2 col → 4 col.
 */

.kotler-footer {
	background: var(--kotler-ink, #0a1628);
	color: rgba(255, 255, 255, 0.82);
	padding: var(--space-24, 6rem) var(--container-padding-mobile, 1.25rem) var(--space-8, 2rem);
	margin-top: 0;
	margin-bottom: 0;
	font-family: var(--font-body, 'Geist', system-ui, sans-serif);
	font-size: var(--text-base, 1rem);
	line-height: 1.6;
}

.kotler-footer__inner {
	max-width: var(--container-max, 1400px);
	margin: 0 auto;
}

/* === Grid === */

.kotler-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-12, 3rem);
	padding-bottom: var(--space-12, 3rem);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 640px) {
	.kotler-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 1024px) {
	.kotler-footer {
		padding-left: var(--container-padding-desktop, 2.5rem);
		padding-right: var(--container-padding-desktop, 2.5rem);
	}
	.kotler-footer__grid {
		grid-template-columns: 2fr 1fr 1fr 1.5fr;
		gap: var(--space-16, 4rem);
	}
}

/* === Brand column === */

.kotler-footer__logo,
.kotler-footer__logo:link,
.kotler-footer__logo:visited {
	font-family: var(--font-display, 'Plus Jakarta Sans', system-ui, sans-serif);
	font-size: var(--text-2xl, 1.75rem);
	font-weight: 700;
	color: #ffffff;
	text-decoration: none;
	display: inline-flex;
	align-items: baseline;
	gap: 0.15em;
	margin-bottom: var(--space-6, 1.5rem);
	letter-spacing: -0.02em;
}

.kotler-footer__logo:hover,
.kotler-footer__logo:focus-visible,
.kotler-footer__logo:active {
	color: #ffffff;
	opacity: 0.85;
}

.kotler-footer__logo-img {
	display: block;
	width: 160px;
	height: 44px;
	object-fit: contain;
}

.kotler-footer__tagline {
	color: rgba(255, 255, 255, 0.7);
	max-width: 36ch;
	margin: 0 0 var(--space-6, 1.5rem);
}

.kotler-footer__address {
	font-style: normal;
	color: rgba(255, 255, 255, 0.7);
	font-size: var(--text-sm, 0.875rem);
	line-height: 1.7;
}

.kotler-footer__address strong {
	color: rgba(255, 255, 255, 0.9);
	font-weight: 600;
}

.kotler-footer__address em {
	font-style: normal;
	color: rgba(255, 255, 255, 0.4);
}

/* === Columns (nav lists) === */

.kotler-footer__col {
	min-width: 0;
}

.kotler-footer__heading {
	font-family: var(--font-display, 'Plus Jakarta Sans', system-ui, sans-serif);
	font-size: var(--text-sm, 0.875rem);
	font-weight: 600;
	color: #ffffff;
	margin: 0 0 var(--space-4, 1rem);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.kotler-footer__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: var(--space-3, 0.75rem);
}

.kotler-footer__link,
.kotler-footer__link:link,
.kotler-footer__link:visited {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: color 180ms ease-out;
	display: inline-block;
	font-size: var(--text-base, 1rem);
}

.kotler-footer__link:hover,
.kotler-footer__link:focus-visible {
	color: var(--kotler-blue-light, #4da3f9);
	outline: none;
}

.kotler-footer__link:focus-visible {
	outline: 2px solid var(--kotler-blue, #0080f6);
	outline-offset: 4px;
	border-radius: 2px;
}

.kotler-footer__link:active {
	color: var(--kotler-blue, #0080f6);
}

.kotler-footer__link--strong,
.kotler-footer__link--strong:link,
.kotler-footer__link--strong:visited {
	color: #ffffff;
	font-weight: 500;
}

.kotler-footer__link--mute,
.kotler-footer__link--mute:link,
.kotler-footer__link--mute:visited {
	color: rgba(255, 255, 255, 0.5);
	font-size: var(--text-sm, 0.875rem);
}

/* === Contact list === */

.kotler-footer__list--contact {
	margin-bottom: var(--space-6, 1.5rem);
}

.kotler-footer__contact-meta {
	color: rgba(255, 255, 255, 0.5);
	font-size: var(--text-sm, 0.875rem);
}

/* === CTA button === */

.kotler-footer__cta,
.kotler-footer__cta:link,
.kotler-footer__cta:visited {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	background: var(--kotler-blue, #0080f6);
	color: #ffffff;
	font-family: var(--font-display, 'Plus Jakarta Sans', system-ui, sans-serif);
	font-weight: 600;
	font-size: var(--text-sm, 0.875rem);
	padding: 0.75rem 1.25rem;
	border-radius: 999px;
	text-decoration: none;
	transition: background 180ms ease-out, transform 180ms ease-out;
	margin-bottom: var(--space-6, 1.5rem);
}

.kotler-footer__cta:hover,
.kotler-footer__cta:focus-visible {
	background: var(--kotler-blue-dark, #0066c4);
	color: #ffffff;
	transform: translateY(-1px);
	outline: none;
}

.kotler-footer__cta:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 3px;
}

.kotler-footer__cta:active {
	background: var(--kotler-blue-dark, #0066c4);
	color: #ffffff;
	transform: translateY(0);
}

.kotler-footer__cta-arrow {
	transition: transform 200ms ease-out;
}

.kotler-footer__cta:hover .kotler-footer__cta-arrow {
	transform: translateX(2px);
}

/* === Socials === */

.kotler-footer__socials {
	display: flex;
	gap: var(--space-2, 0.5rem);
}

.kotler-footer__social,
.kotler-footer__social:link,
.kotler-footer__social:visited {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.7);
	transition: background 180ms ease-out, color 180ms ease-out, border-color 180ms ease-out;
	text-decoration: none;
}

.kotler-footer__social:hover,
.kotler-footer__social:focus-visible {
	background: var(--kotler-blue, #0080f6);
	border-color: var(--kotler-blue, #0080f6);
	color: #ffffff;
	outline: none;
}

.kotler-footer__social:focus-visible {
	outline: 2px solid var(--kotler-blue-light, #4da3f9);
	outline-offset: 3px;
}

.kotler-footer__social:active {
	background: var(--kotler-blue-dark, #0066c4);
	color: #ffffff;
}

/* === SEO text === */

.kotler-footer__seo {
	padding: var(--space-8, 2rem) 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.kotler-footer__seo p {
	color: rgba(255, 255, 255, 0.45);
	font-size: var(--text-sm, 0.875rem);
	line-height: 1.7;
	margin: 0;
	max-width: 95ch;
}

/* === Bottom strip === */

.kotler-footer__bottom {
	display: flex;
	flex-direction: column;
	gap: var(--space-3, 0.75rem);
	padding-top: var(--space-6, 1.5rem);
	font-size: var(--text-sm, 0.875rem);
}

@media (min-width: 768px) {
	.kotler-footer__bottom {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}
}

.kotler-footer__copyright {
	margin: 0;
	color: rgba(255, 255, 255, 0.5);
}

.kotler-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-6, 1.5rem);
	list-style: none;
	padding: 0;
	margin: 0;
}

/* === Reduced motion === */

@media (prefers-reduced-motion: reduce) {
	.kotler-footer__cta,
	.kotler-footer__cta-arrow,
	.kotler-footer__social,
	.kotler-footer__link {
		transition: none;
	}
	.kotler-footer__cta:hover {
		transform: none;
	}
}

/* ============================================================
   LOKALIZACJE / SEO LOCAL LANDINGS (Tura 6) - subtle crosslinking
   ============================================================ */
.kotler-footer__locations {
	padding: 1.75rem 0 1.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	margin-top: 0;
}

.kotler-footer__locations-heading {
	font-family: var(--font-display, 'Plus Jakarta Sans', system-ui, sans-serif);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.45);
	margin: 0 0 0.875rem;
}

.kotler-footer__locations-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem 1.25rem;
}

.kotler-footer__locations-link,
.kotler-footer__locations-link:link,
.kotler-footer__locations-link:visited {
	display: inline-block;
	font-size: 0.8125rem;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.5);
	text-decoration: none;
	transition: color 0.2s;
}

.kotler-footer__locations-link:hover,
.kotler-footer__locations-link:focus-visible,
.kotler-footer__locations-link:active {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.kotler-footer__locations-link:focus-visible {
	outline: 2px solid var(--kotler-blue, #0080f6);
	outline-offset: 3px;
}

@media (min-width: 768px) {
	.kotler-footer__locations-list {
		gap: 0.5rem 1.5rem;
	}
	.kotler-footer__locations-link {
		font-size: 0.875rem;
	}
}
