/**
 * Front page hero section styles.
 *
 * @package Novacare
 */

/* -------------------------------------------------------------------------
   Front page — header overlay on hero
   ------------------------------------------------------------------------- */
.home .site-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	background: transparent;
	border: none;
}

.home .site-content {
	padding-top: 0;
}

.home .site-main--front-page {
	padding-block: 0;
}

/* -------------------------------------------------------------------------
   Hero section
   ------------------------------------------------------------------------- */
.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 100vh;
	min-height: 100svh;
	overflow: hidden;
	color: #ffffff;
}

.hero__background {
	position: absolute;
	inset: 0;
	background-color: #1e2d28;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	transform: scale(1.02);
}

.hero__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(16, 24, 21, 0.88) 0%, rgba(16, 24, 21, 0.62) 42%, rgba(16, 24, 21, 0.18) 100%),
		linear-gradient(180deg, rgba(16, 24, 21, 0.15) 0%, rgba(16, 24, 21, 0.45) 100%);
}

.hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	padding-block: clamp(7rem, 14vh, 9rem) clamp(3rem, 8vh, 5rem);
}

.hero__content {
	max-width: 38rem;
}

.hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	margin: 0 0 1.5rem;
	padding: 0.5rem 0.875rem;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.08);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.92);
}

.hero__eyebrow-dot {
	width: 0.375rem;
	height: 0.375rem;
	border-radius: 50%;
	background-color: #c8a46e;
	flex-shrink: 0;
}

.hero__title {
	display: block;
	margin: 0 0 1.25rem;
	font-family: "Playfair Display", serif;
	font-size: 85px;
	font-weight: 500;
	font-style: normal;
	line-height: 86px;
	letter-spacing: 0;
	color: #F5F1E7;
	white-space: normal;
}

.hero__title-highlight {
	font-style: italic;
	color: #c8a46e;
}

.hero__description {
	margin: 0 0 2rem;
	max-width: 34rem;
	font-family: "DM Sans", sans-serif;
	font-size: 17px;
	font-weight: 400;
	font-style: normal;
	line-height: 29.75px;
	letter-spacing: 0;
	color: #F5F1E7;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.875rem;
	margin-bottom: clamp(2.5rem, 6vh, 4rem);
}

.hero__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.625rem;
	min-height: 3rem;
	padding: 0.875rem 1.5rem;
	font-family: "DM Sans", sans-serif;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.hero__btn--primary {
	background-color: #c8a46e;
	color: #ffffff;
	border: 1px solid #c8a46e;
}

.hero__btn--primary:hover,
.hero__btn--primary:focus {
	background-color: #b8945f;
	border-color: #b8945f;
	color: #ffffff;
	transform: translateY(-1px);
}

.hero__btn--ghost {
	background: transparent;
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.55);
}

.hero__btn--ghost:hover,
.hero__btn--ghost:focus {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.85);
	color: #ffffff;
}

.hero__btn-icon {
	flex-shrink: 0;
}

.hero__trust {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hero__trust-item {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.8125rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.82);
}

.hero__trust-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.72);
}

.hero__trust-icon svg {
	display: block;
}

/* RTL */
body.is-rtl .hero__content {
	text-align: right;
}

body.is-rtl .hero__eyebrow {
	flex-direction: row-reverse;
}

body.is-rtl .hero__actions {
	flex-direction: row-reverse;
}

body.is-rtl .hero__trust {
	flex-direction: row-reverse;
}

body.is-rtl .hero__trust-item {
	flex-direction: row-reverse;
}

body.is-rtl .hero__btn-icon {
	transform: scaleX(-1);
}

@media (max-width: 767px) {
	.hero__overlay {
		background:
			linear-gradient(180deg, rgba(16, 24, 21, 0.55) 0%, rgba(16, 24, 21, 0.82) 100%);
	}

	.hero__inner {
		padding-block: clamp(6.5rem, 18vh, 8rem) 3rem;
	}

	.hero__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.hero__btn {
		width: 100%;
	}

	.hero__trust {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.875rem;
	}

	body.is-rtl .hero__trust {
		align-items: flex-end;
	}
}
