/* ===== Hero ===== */
#hero {
	position: relative;
	height: 800px;
	overflow: hidden;
	background: var(--color-black);

	@media (max-width: 1200px) {
		height: 624px;
	}

	@media (max-width: 767px) {
		height: auto;
	}
}

#hero .container {
	height: 100%;
}

.hero__bg {
	position: absolute;
	inset: 0;

	&::before {
		content: "";
		position: absolute;
		inset: 0;
		top: 0;
		height: 380px;
		background: linear-gradient(
			180deg,
			rgba(36, 35, 33, 0.8) 65%,
			rgba(36, 35, 33, 0) 100%
		);
		z-index: 1;
	}

	&::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		height: 200px;
		background: linear-gradient(
			0deg,
			rgba(36, 35, 33, 0.8) 65%,
			rgba(36, 35, 33, 0) 100%
		);
		z-index: 1;
	}

	@media (max-width: 1200px) {
		&::before {
			height: 260px;
		}

		&::after {
			height: 212px;
		}
	}

	@media (max-width: 767px) {
		display: none;
	}
}

.hero__bg-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: right center;

	@media (max-width: 1200px) {
		object-position: 56% 0%;
		transform: scale(1.35);
	}
}

.hero__content {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding-top: 60px;
	padding-bottom: 32px;

	@media (max-width: 1200px) {
		padding-top: 40px;
	}

	@media (max-width: 767px) {
		height: auto;
		padding-top: 32px;
		padding-bottom: 12px;
		gap: 32px;
		justify-content: flex-start;
	}
}

/* Heading */
.hero__heading {
	position: relative;

	@media (max-width: 767px) {
		display: flex;
		flex-direction: column;
		gap: 20px;
	}
}

.hero__title {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 64px;
	line-height: 133.333%;

	text-transform: uppercase;
	color: var(--color-white);

	strong,
	span {
		color: var(--color-orange);
	}

	@media (max-width: 1200px) {
		font-size: 36px;
		line-height: 48px;
		max-width: 700px;
	}

	@media (max-width: 767px) {
		font-size: 24px;
		line-height: 32px;
		max-width: 240px;
	}
}

.hero__tagline {
	position: absolute;
	right: 280px;
	top: 181px;
	width: 285px;
	font-family: var(--font-heading);
	font-weight: 500;
	font-size: 19px;
	line-height: 24px;
	color: var(--color-black-light);
	text-transform: uppercase;

	@media (max-width: 1440px) {
		right: 20px;
		top: 181px;
	}

	@media (max-width: 1200px) {
		/* top: 105px; */
		/* width: 240px; */
		/* font-size: 12px; */
		/* line-height: 16px; */

		top: 105px;
		right: 30px;
		width: 200px;
		font-size: 12px;
		line-height: 16px;
	}

	@media (max-width: 767px) {
		position: static;
		order: -1;
		width: auto;
		font-family: var(--font-body);
		font-weight: 600;
		font-size: 14px;
		line-height: 14px;
		color: rgba(255, 255, 255, 0.48);
		text-transform: none;
	}
}

/* Form */
.hero__form-wrap {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.hero__form-label {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 22px;
	line-height: 32px;
	color: var(--color-orange);

	@media (max-width: 1200px) {
		font-size: 15px;
		line-height: 24px;
	}
}

.hero__form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.hero__form-row {
	display: flex;
	align-items: stretch;
	gap: 20px;

	.input-wrap {
		flex: 1;
	}

	@media (max-width: 1200px) {
		gap: 12px;
	}

	@media (max-width: 767px) {
		flex-direction: column;

		.btn--primary {
			width: 100%;
			justify-content: center;
		}
	}
}

/* Consent */
.hero__consent {
	display: flex;
	align-items: center;
	gap: 4px;
	flex-wrap: wrap;
}

.hero__consent-check {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	cursor: pointer;

	input[type="checkbox"] {
		appearance: none;
		-webkit-appearance: none;
		width: 16px;
		height: 16px;
		border: 1px solid var(--color-white);
		flex-shrink: 0;
		cursor: pointer;

		&:checked {
			background: var(--color-orange);
			border-color: var(--color-orange);
		}
	}

	span {
		font-size: 14px;
		line-height: 14px;
		color: var(--color-white);
		white-space: nowrap;
	}
}

.hero__consent-link {
	font-size: 14px;
	font-weight: 600;
	line-height: 14px;
	color: var(--color-white);
	text-decoration: underline;

	&:hover {
		color: var(--color-orange);
	}
}

#hero .hero__consent-check {
	& input[type="checkbox"] {
		transform: translateY(2px);
	}
}
