:root {
	--k-font: "Source Sans 3", "Source Sans Pro", Arial, sans-serif;
	--k-ease: cubic-bezier(.22, .61, .36, 1);
	--k-gutter: clamp(16px, 4.17vw, 80px);
}

body {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	font-family: var(--k-font);
	font-weight: 400;
	color: rgb(75, 36, 32);
	line-height: 1.6;
}
hr {opacity: 0.2;}
a {
	color: inherit;
	text-decoration: none;
}

h1 {
	margin: 0;
}

body.kartell-uskoro {
	min-height: 100svh;
	background: url("../img/kartell/uskoro.jpg") 54% 55% / max(115.6vw, 141.7vh) auto no-repeat rgb(240, 240, 240);
}

.uskoro {
	display: flex;
	flex: 1 0 auto;
	flex-direction: column;
	align-items: center;
	padding: 16vh var(--k-gutter) 40px;
	text-align: center;
}

.uskoro-logo {
	margin: 0;
	line-height: 0;
	animation: k-thanks-in 1s var(--k-ease) .1s both;
}

.uskoro-logo img {
	display: block;
	width: clamp(240px, 36.6vw, 1000px);
	height: auto;
}

.uskoro-text {
	margin: clamp(20px, 2.4vw, 64px) 0 0;
	font: 300 clamp(20px, 2.08vw, 56px) / 1.25 var(--k-font);
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: rgb(75, 36, 32);
	animation: k-thanks-in 1s var(--k-ease) .35s both;
}

.uskoro-contact {
	margin: clamp(12px, 1.2vw, 22px) 0 0;
	font: 400 clamp(13px, 1.15vw, 22px) / 1.45 var(--k-font);
	font-style: normal;
	letter-spacing: 0.01em;
	color: rgb(75, 36, 32);
	text-align: center;
	animation: k-thanks-in 1s var(--k-ease) .6s both;
}

.uskoro-contact-place,
.uskoro-contact a {
	display: block;
}

.uskoro-contact a {
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
	color: inherit;
	text-decoration: none;
	text-underline-offset: 3px;
}

.uskoro-contact a:hover,
.uskoro-contact a:focus {
	color: rgb(75, 36, 32);
	text-decoration: underline;
}

.uskoro-contact a:focus-visible {
	outline: 2px solid rgb(75, 36, 32);
	outline-offset: 3px;
}

@keyframes k-thanks-in {
	0% {
		opacity: 0;
		transform: translateY(16px);
	}
}

/* uski/portretni ekrani — slika uz dno, sofa preko cijele širine, logo i natpis iznad */
@media (max-aspect-ratio: 4/3) {
	body.kartell-uskoro {
		background-size: 130vw auto;
		background-position: 42% 100%;
	}

	.uskoro {
		padding-top: 14vh;
	}

	.uskoro-logo img {
		width: clamp(240px, 60vw, 560px);
	}

	.uskoro-text {
		font-size: clamp(20px, 4.2vw, 36px);
	}

	.uskoro-contact {
		margin-top: 12px;
		font-size: clamp(13px, 3.4vw, 16px);
	}
}

/* mobitel uspravno — veća sofa, bliže natpisu (bez praznine u sredini) */
@media (max-aspect-ratio: 3/4) {
	body.kartell-uskoro {
		background-image: url("../img/kartell/uskoro-mobile.jpg");
		background-size: 190vw auto;
		background-position: 44% 7%;
	}

	.uskoro {
		padding-top: 14vh;
	}

	.uskoro-contact {
		margin-top: 12px;
		font-size: clamp(13px, 3.6vw, 15px);
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
	}
}
