/* =========================================
   PAGRINDINIO PUSLAPIO HERO
   ========================================= */

.front-page {
	margin: 0;
	padding: 0;
}

.front-hero {
	position: relative;
	min-height: 650px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: #111;
}

.front-hero-background {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;

	filter: grayscale(100%) contrast(1.08);
	transform: scale(1.01);
}

.front-hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.38);
}

.front-hero-content {
	position: relative;
	z-index: 2;
	width: min(1100px, calc(100% - 48px));
	text-align: center;
	color: #fff;
}

.front-hero-title {
	margin: 0 0 24px;
	color: #fff;
	font-size: clamp(52px, 7vw, 92px);
	line-height: 0.98;
	font-weight: 700;
	letter-spacing: -0.035em;
}

.front-hero-text {
	max-width: 760px;
	margin: 0 auto 34px;
	color: #fff;
	font-size: clamp(20px, 2vw, 28px);
	line-height: 1.45;
	font-weight: 400;
}

/* =========================================
   HERO MYGTUKAS
   ========================================= */

.front-hero-button,
.front-hero-button:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-width: 190px;
	min-height: 56px;
	padding: 14px 28px;

	background: transparent;
	color: #fff;

	border: 2px solid #fff;
	border-radius: 999px;

	text-decoration: none;
	font-size: 16px;
	font-weight: 600;

	transition:
		background-color .25s ease,
		border-color .25s ease,
		color .25s ease;
}

.front-hero-button:hover,
.front-hero-button:focus-visible {
	background: #FFD54A;
	border-color: #FFD54A;
	color: #111;
}

/* =========================================
   GRAIN EFEKTAS
   ========================================= */

.front-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	opacity: 0.13;

	background-image:
		repeating-radial-gradient(
			circle at 0 0,
			rgba(255,255,255,.18) 0,
			rgba(255,255,255,.18) 1px,
			transparent 1px,
			transparent 3px
		);

	background-size: 4px 4px;
	mix-blend-mode: soft-light;
}

/* =========================================
   PLANŠETĖ
   ========================================= */

@media (max-width: 900px) {

	.front-hero {
		min-height: 580px;
	}

	.front-hero-content {
		width: min(100% - 36px, 760px);
	}

}

/* =========================================
   TELEFONAS
   ========================================= */

@media (max-width: 600px) {

	.front-hero {
		min-height: 520px;
	}

	.front-hero-content {
		width: calc(100% - 32px);
	}

	.front-hero-title {
		margin-bottom: 20px;
		font-size: clamp(42px, 13vw, 60px);
		line-height: 1;
	}

	.front-hero-text {
		margin-bottom: 28px;
		font-size: 18px;
		line-height: 1.5;
	}

	.front-hero-button {
		min-width: 170px;
		min-height: 52px;
	}

}