/* Homepage */

.homepage-main {
	background-color: var(--global-color-2);
	min-height: 100vh;
}

.homepage-main .page-width-boxed {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
	min-height: 100vh;
	padding-top: 20px;
	padding-bottom: 20px;
}

.homepage-left {
	/* width: 500px; */
	flex-shrink: 0;
	display: flex;
	align-items: center;
	box-sizing: border-box;
	padding-left: 50px;
	padding-right: 50px;
}

.homepage-left-inner {
	width: 386px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 45px;
}

.homepage-brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	gap: 10px;
}

.homepage-brand-icon {
	width: 49px;
	height: 42px;
	display: block;
	object-fit: contain;
}

.homepage-brand-title {
	font-family: var(--global-font-family-1);
	font-weight: 400;
	font-size: 30.299px;
	line-height: 1.2;
	letter-spacing: 0;
	color: var(--global-color-1);
	margin: 0;
	white-space: nowrap;
	text-align: center;
}

.homepage-form-block {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 15px;
	align-items: flex-start;
}

.homepage-form-intro {
	font-family: var(--global-font-family-2);
	font-weight: 400;
	font-size: 13.333px;
	line-height: normal;
	color: var(--global-color-3);
	text-align: center;
	margin: 0;
	width: 100%;
}

.homepage-hero {
	flex: 1;
	position: relative;
	overflow: hidden;
	border-radius: 30px;
	container-type: inline-size;
	container-name: hero;
}

.homepage-hero-media {
	/* position: absolute; */
	/* top: -3.39%; */
	/* left: -3.23%; */
	width: 100%;
	height: 100%;
	background-image: url('../images/hero.jpg');
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	z-index: 0;
}

.homepage-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, #315265 0%, rgba(255, 255, 255, 0) 100%);
	mix-blend-mode: multiply;
	pointer-events: none;
	z-index: 1;
}

/* .homepage-star {
	position: absolute;
	top: 68px;
	right: -6px;
	width: 37px;
	height: 40px;
	display: block;
	object-fit: contain;
	transform: rotate(180deg);
	z-index: 2;
	pointer-events: none;
} */

.homepage-hero-top {
	position: absolute;
	top: 48px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	z-index: 2;
}

.homepage-art-logo-link {
	display: block;
	line-height: 0;
}

.homepage-art-logo {
	width: 87px;
	height: 126px;
	display: block;
	object-fit: contain;
}

.homepage-phone {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 22px;
	padding: 20px 35px;
	border-radius: 115px;
	background: rgba(0, 0, 0, 0.12);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	text-decoration: none;
	box-sizing: border-box;
}

.homepage-phone-icon {
	width: 24px;
	height: 24px;
	display: block;
	object-fit: contain;
	flex-shrink: 0;
}

.homepage-phone-number {
	font-family: var(--global-font-family-3);
	font-weight: 600;
	font-size: 26.602px;
	line-height: 1;
	color: var(--global-color-2);
	white-space: nowrap;
}

.homepage-phone-caption {
	font-family: var(--global-font-family-4);
	font-weight: 400;
	font-size: 20px;
	line-height: 1;
	color: var(--global-color-2);
	margin: 14px 0 0;
	white-space: nowrap;
}

.homepage-uskoro {
	position: absolute;
	left: 50%;
	bottom: -2px;
	transform: translateX(-50%);
	margin: 0;
	padding: 0;
	font-family: var(--global-font-family-1);
	font-weight: 400;
	font-size: min(215px, 18vw);
	font-size: min(215px, 23cqi);
	line-height: 0.72;
	color: var(--global-color-6);
	white-space: nowrap;
	z-index: 2;
	pointer-events: none;
	text-box-trim: trim-end;
	text-box-edge: cap alphabetic;
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
	.homepage-main .page-width-boxed {
		flex-direction: column;
		align-items: stretch;
		min-height: 0;
		gap: 30px;
		padding-top: 20px;
		padding-bottom: 24px;
	}

	.homepage-hero {
		order: -1;
		flex: none;
		width: 100%;
		aspect-ratio: 16 / 11;
		border-radius: 20px;
	}

	.homepage-hero-media {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
	}

	.homepage-left {
		width: 100%;
		padding: 0;
		flex-shrink: 1;
		align-items: center;
		justify-content: flex-start;
	}

	.homepage-left-inner {
		width: 100%;
		max-width: 420px;
		margin: 0 auto;
	}

	.homepage-hero-top {
		top: 32px;
	}

	.homepage-art-logo {
		width: 60px;
		height: 87px;
	}

	.homepage-phone {
		gap: 8px;
		margin-top: 16px;
		padding: 14px 24px;
		border-radius: 80px;
	}

	.homepage-phone-icon {
		width: 16px;
		height: 16px;
	}

	.homepage-phone-number {
		font-size: 18px;
	}

	.homepage-phone-caption {
		font-size: 14px;
		margin-top: 10px;
	}
}

@media screen and (min-width: 1024px) and (max-width: 1199px) {
	.homepage-left {
		padding-left: 24px;
		padding-right: 24px;
	}

	.homepage-left-inner {
		width: 320px;
	}

	.homepage-hero {
		border-radius: 22px;
	}

	.homepage-hero-media {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
	}

	.homepage-hero-top {
		top: 36px;
	}

	.homepage-art-logo {
		width: 64px;
		height: 93px;
	}

	.homepage-phone {
		gap: 8px;
		margin-top: 16px;
		padding: 14px 24px;
		border-radius: 80px;
	}

	.homepage-phone-icon {
		width: 18px;
		height: 18px;
	}

	.homepage-phone-number {
		font-size: 20px;
	}

	.homepage-phone-caption {
		font-size: 15px;
		margin-top: 10px;
	}
}

@media screen and (max-width: 767px) {
	.homepage-main .page-width-boxed {
		flex-direction: column;
		align-items: stretch;
		min-height: 0;
		gap: 20px;
		padding-top: 18px;
		padding-bottom: 20px;
	}

	.homepage-hero {
		order: -1;
		flex: none;
		width: 100%;
		aspect-ratio: 354.51 / 377;
		border-radius: 11px;
	}

	.homepage-hero-media {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
	}

	.homepage-left {
		width: 100%;
		padding: 0;
		flex-shrink: 1;
		align-items: center;
		justify-content: flex-start;
	}

	.homepage-left-inner {
		width: 100%;
	}

	.homepage-hero-top {
		top: 23px;
	}

	.homepage-art-logo {
		width: 43px;
		height: 63px;
	}

	.homepage-phone {
		gap: 5px;
		margin-top: 11px;
		padding: 10px 18px;
		border-radius: 58px;
	}

	.homepage-phone-icon {
		width: 12px;
		height: 12px;
	}

	.homepage-phone-number {
		font-size: 13.305px;
	}

	.homepage-phone-caption {
		font-size: 10px;
		margin-top: 7px;
	}
}
