/**
 * DnesTepujem redesign footer.
 * Scoped to the isolated redesign preview.
 */

.dt-redesign-preview .dt-footer {
	padding: clamp(84px, 9vw, 128px) 0 0;
	border-top: 1px solid var(--dt-color-border);
	background: var(--dt-color-background);
	color: var(--dt-color-text-primary);
}

.dt-redesign-preview .dt-footer a {
	color: inherit;
	text-decoration: none;
}

.dt-redesign-preview .dt-footer__menu a:is(:hover, :active),
.dt-redesign-preview .dt-footer__contact a:is(:hover, :active),
.dt-redesign-preview .dt-footer__bottom a:is(:hover, :active) {
	background: var(--dt-color-accent);
	color: var(--dt-color-text-primary);
}

.dt-redesign-preview .dt-footer a:focus-visible {
	border-radius: 4px;
	outline: 3px solid var(--dt-color-accent);
	outline-offset: 3px;
}

.dt-redesign-preview .dt-footer__main {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(180px, 0.65fr) minmax(240px, 0.75fr);
	gap: clamp(44px, 6vw, 88px);
	padding-bottom: clamp(68px, 7vw, 104px);
}

.dt-redesign-preview .dt-footer__logo-link {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-bottom: var(--dt-space-lg);
}

.dt-redesign-preview .dt-footer__mascot {
	width: 72px;
	height: 72px;
	flex: none;
	object-fit: contain;
}

.dt-redesign-preview .dt-footer__wordmark {
	font-size: clamp(1.35rem, 2vw, 2rem);
	font-weight: 900;
	letter-spacing: -0.06em;
	line-height: 1;
	white-space: nowrap;
}

.dt-redesign-preview .dt-footer__description {
	max-width: 440px;
	margin: 0;
	font-size: 1rem;
	line-height: 1.7;
}

.dt-redesign-preview .dt-footer__heading {
	margin: 0 0 var(--dt-space-md);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.dt-redesign-preview .dt-footer__menu {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dt-redesign-preview .dt-footer__menu a {
	font-size: 1rem;
	font-weight: 650;
}

.dt-redesign-preview .dt-footer__contact {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	gap: 7px;
	font-size: 0.94rem;
	line-height: 1.55;
}

.dt-redesign-preview .dt-footer__contact-primary {
	margin-bottom: 2px;
	font-size: 1.25rem;
	font-weight: 800;
}

.dt-redesign-preview .dt-footer__address {
	margin-top: var(--dt-space-sm);
	color: var(--dt-color-text-secondary);
	font-style: normal;
}

.dt-redesign-preview .dt-footer__address strong {
	color: var(--dt-color-text-primary);
}

.dt-redesign-preview .dt-footer__company-data {
	margin: var(--dt-space-sm) 0 0;
	font-size: 0.78rem;
	line-height: 1.65;
}

.dt-redesign-preview .dt-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: var(--dt-space-lg);
}

.dt-redesign-preview .dt-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 8px 14px;
	border: 1px solid color-mix(in srgb, var(--dt-color-text-primary) 18%, var(--dt-color-border));
	border-radius: var(--dt-radius-pill);
	background: color-mix(in srgb, var(--dt-color-surface) 78%, var(--dt-color-background));
	box-shadow: 0 6px 16px rgba(24, 24, 24, 0.05);
	color: var(--dt-color-text-primary);
	font-size: 0.8rem;
	font-weight: 700;
	transition:
		background-color var(--dt-transition-fast),
		border-color var(--dt-transition-fast),
		box-shadow var(--dt-transition-fast),
		color var(--dt-transition-fast),
		transform var(--dt-transition-fast);
}

.dt-redesign-preview .dt-footer__social-link:visited {
	color: var(--dt-color-text-primary);
}

.dt-redesign-preview .dt-footer__social-link:is(:hover, :focus-visible, :active) {
	border-color: var(--dt-color-accent);
	border-radius: var(--dt-radius-pill);
	background: color-mix(in srgb, var(--dt-color-accent) 14%, var(--dt-color-surface));
	color: var(--dt-color-text-primary);
}

.dt-redesign-preview .dt-footer__social-link:hover {
	box-shadow: 0 9px 20px rgba(24, 24, 24, 0.08);
	transform: translateY(-1px);
}

.dt-redesign-preview .dt-footer__social-link:active {
	box-shadow: 0 4px 10px rgba(24, 24, 24, 0.06);
	transform: translateY(0);
}

.dt-redesign-preview .dt-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 84px;
	border-top: 1px solid var(--dt-color-border);
	text-align: center;
}

.dt-redesign-preview .dt-footer__bottom p {
	margin: 0;
	font-size: 0.78rem;
}

.dt-redesign-preview .dt-footer__bottom span {
	margin: 0 8px;
	color: var(--dt-color-border);
}

@media (max-width: 900px) {
	.dt-redesign-preview .dt-footer__main {
		grid-template-columns: 1fr 1fr;
	}

	.dt-redesign-preview .dt-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 640px) {
	.dt-redesign-preview .dt-footer__main {
		grid-template-columns: 1fr;
		gap: var(--dt-space-lg);
		text-align: center;
	}

	.dt-redesign-preview .dt-footer__brand {
		grid-column: auto;
	}

	.dt-redesign-preview .dt-footer__description {
		margin-inline: auto;
	}

	.dt-redesign-preview .dt-footer__social {
		justify-content: center;
	}

	.dt-redesign-preview .dt-footer__menu {
		justify-items: center;
	}

	.dt-redesign-preview .dt-footer__contact {
		align-items: center;
		text-align: center;
	}

	.dt-redesign-preview .dt-footer__logo-link {
		gap: 10px;
	}

	.dt-redesign-preview .dt-footer__mascot {
		width: 60px;
		height: 60px;
	}

	.dt-redesign-preview .dt-footer__wordmark {
		font-size: clamp(1.15rem, 6vw, 1.5rem);
	}
}
