:root {
	--cs-blue: #00add4;
	--cs-pink: #e85e8d;
	--cs-white: #ffffff;
	--cs-font: "Asap Condensed", "Arial Narrow", sans-serif;
}

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

html,
body {
	margin: 0;
	padding: 0;
}

body.cs {
	background: var(--cs-white) url("../img/pattern.webp?v=2") center top / cover no-repeat;
	font-family: var(--cs-font);
	font-weight: 900;
	color: var(--cs-blue);
	-webkit-font-smoothing: antialiased;
}

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

.cs__page {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 100vh;
	min-height: 100svh;
	overflow: hidden;
}

/* Likovi */
.cs__cloud,
.cs__heart {
	position: absolute;
	z-index: 0;
	pointer-events: none;
}

.cs__cloud {
	top: 4px;
	right: 1.4%;
	width: 18vw;
	max-width: 260px;
}

.cs__heart {
	top: 26.9%;
	left: 3.9%;
	width: 16.3vw;
	max-width: 235px;
}

/* Sadržaj */
.cs__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	width: 413px;
	max-width: calc(100% - 32px);
	margin-top: 24.7vh;
}

.cs__title {
	margin: 0;
	font-size: 70px;
	font-weight: 900;
	line-height: 0.87;
	text-align: center;
	text-transform: uppercase;
}

.cs__title > span {
	display: block;
}

.cs__title-main {
	color: var(--cs-blue);
}

.cs__title-accent {
	color: var(--cs-pink);
}

.cs__cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	padding: 12px 17px;
	border-radius: 60px;
	background: var(--cs-pink);
	color: var(--cs-white);
	font-size: 18px;
	line-height: 0.87;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.cs__cta:hover,
a.cs__cta:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(232, 94, 141, 0.35);
}

a.cs__cta:focus-visible {
	outline: 2px solid var(--cs-blue);
	outline-offset: 3px;
}

.cs__cta-text {
	padding-top: 2px;
}

.cs__cta-icon {
	flex: 0 0 24px;
	width: 24px;
}

/* Ulazna animacija (GSAP, assets/js/intro.js) */
.cs-anim .cs__logo,
.cs-anim .cs__title-word,
.cs-anim .cs__cta,
.cs-anim .cs__cloud,
.cs-anim .cs__heart {
	visibility: hidden;
}

.cs-anim .cs__cta {
	transition: none;
}

.cs__title-word {
	display: inline-block;
}

/* Logo */
.cs__logo {
	position: relative;
	z-index: 1;
	width: 100%;
	margin-top: auto;
	padding: 48px 1.95vw 3vh 3.125vw;
}

.cs__logo img {
	width: 100%;
}

/* Tablet */
@media (max-width: 1024px) {
	body.cs {
		background-size: 1440px auto;
		background-repeat: repeat;
	}

	.cs__cloud {
		width: 22vw;
	}

	.cs__heart {
		width: 19vw;
		top: 30%;
	}

	.cs__content {
		margin-top: 22vh;
	}
}

/* Mobile (Figma: 393 x 852) */
@media (max-width: 767px) {
	body.cs {
		background-size: 1198px auto;
	}

	.cs__page {
		min-height: max(100svh, 800px);
	}

	.cs__logo {
		order: -1;
		width: 255px;
		max-width: calc(100% - 48px);
		margin-top: 0;
		padding: 43px 0 0;
	}

	.cs__content {
		gap: 24px;
		width: 343px;
		max-width: calc(100% - 32px);
		margin-top: 161px;
	}

	.cs__title {
		width: 276px;
		max-width: 100%;
		font-size: min(48px, 12.2vw);
	}

	.cs__cta {
		justify-content: center;
		gap: 12px;
		font-size: 14px;
	}

	.cs__cloud {
		top: auto;
		right: 9px;
		bottom: 126px;
		width: 184px;
	}

	.cs__heart {
		top: auto;
		left: 25px;
		bottom: 27px;
		width: 131px;
		transform: rotate(-15deg);
	}
}

@media (max-width: 374px) {
	.cs__cta {
		padding: 12px 14px;
		font-size: 12px;
	}
}
