/**
 * Alterna homepage body styles — scoped to .elevora-home*
 * Does not restyle Header / Footer chrome.
 */

.elevora-home .elementor-heading-title {
	white-space: pre-line;
}

.elevora-home .elementor-widget-text-editor p:last-child {
	margin-bottom: 0;
}

.elevora-home .elementor-widget-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ——— Hero ——— */
.elevora-home-hero {
	position: relative;
	color: #fff;
	isolation: isolate;
}

/* Left-weighted overlay — slightly stronger for text, lobby still visible. */
.elevora-home-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: linear-gradient(
		90deg,
		rgba(12, 12, 12, 0.9) 0%,
		rgba(12, 12, 12, 0.74) 34%,
		rgba(12, 12, 12, 0.48) 64%,
		rgba(12, 12, 12, 0.34) 100%
	);
}

.elevora-home-hero > .e-con-inner,
.elevora-home-hero > .elementor-element,
.elevora-home-hero .elevora-home-hero__inner {
	position: relative;
	z-index: 1;
}

.elevora-home-hero__inner {
	min-height: clamp(34rem, 72vh, 48rem);
}

.elevora-home-hero__title .elementor-heading-title {
	font-family: var(--elevora-font-serif) !important;
	font-size: clamp(2.75rem, 1.7rem + 3.4vw, 4.65rem) !important;
	line-height: 1.02 !important;
	letter-spacing: -0.025em;
	max-width: 11ch;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.elevora-home-hero__sub .elementor-heading-title {
	font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.3rem) !important;
	font-weight: 500 !important;
	letter-spacing: 0.01em;
	color: #c5a059 !important;
	max-width: 28ch;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.28);
}

.elevora-home-hero__text,
.elevora-home-hero__text p {
	color: rgba(255, 255, 255, 0.88);
	max-width: 34rem;
	font-size: clamp(0.94rem, 0.9rem + 0.2vw, 1.02rem);
	line-height: 1.7;
	text-shadow: 0 1px 14px rgba(0, 0, 0, 0.3);
}

.elevora-home-hero__actions {
	margin-top: 0.15rem;
	gap: 0.85rem !important;
}

.elevora-home-hero__stats {
	margin-top: 1.15rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.elevora-home-hero__stat-value .elementor-heading-title {
	line-height: 1 !important;
}

.elevora-home-hero__stat-label .elementor-heading-title {
	font-size: 0.78rem !important;
	letter-spacing: 0.02em;
}

.elevora-home-hero__slides {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	font-family: var(--elevora-font-sans);
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.45);
}

.elevora-home-hero__slides .is-active {
	color: #c5a059;
}

.elevora-home-hero__aside-note,
.elevora-home-hero__aside-note p {
	max-width: 11rem;
	text-align: right;
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.55);
	line-height: 1.5;
}

/* ——— Intro ——— */
.elevora-home-intro__title .elementor-heading-title {
	font-family: var(--elevora-font-serif) !important;
	font-size: clamp(2rem, 1.45rem + 1.9vw, 2.85rem) !important;
	line-height: 1.12 !important;
	max-width: 14ch;
}

.elevora-home-intro__copy,
.elevora-home-intro__copy p {
	color: var(--elevora-color-text-muted);
	max-width: 32rem;
	line-height: 1.75;
	font-size: 0.98rem;
}

.elevora-home-intro__media {
	overflow: hidden;
}

.elevora-home-intro__media .elevora-home-intro__image img,
.elevora-home-intro__media img {
	width: 100%;
	aspect-ratio: 5 / 4;
	object-fit: cover;
	object-position: center 40%;
	display: block;
}

/* ——— Services ——— */
.elevora-home-services__heading .elementor-heading-title {
	font-family: var(--elevora-font-serif) !important;
	font-size: clamp(2rem, 1.45rem + 1.9vw, 2.85rem) !important;
	line-height: 1.12 !important;
	max-width: 16ch;
}

.elevora-home-services__side-copy,
.elevora-home-services__side-copy p {
	color: var(--elevora-color-text-muted);
	line-height: 1.7;
	max-width: 28rem;
	font-size: 0.95rem;
}

.elevora-home-services__card {
	min-width: min(100%, 13.5rem);
}

.elevora-home-services__image {
	overflow: hidden;
	border-radius: 0;
}

.elevora-home-services__image img,
.elevora-home-services__card img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	object-position: center center;
	display: block;
	transition: transform 0.45s ease;
}

@media (prefers-reduced-motion: no-preference) {
	.elevora-home-services__card:hover img {
		transform: scale(1.03);
	}
}

.elevora-home-services__num .elementor-heading-title {
	letter-spacing: 0.1em;
	font-size: 0.75rem !important;
	margin-top: 0.85rem !important;
}

.elevora-home-services__title .elementor-heading-title {
	font-size: clamp(1.05rem, 1rem + 0.25vw, 1.2rem) !important;
	line-height: 1.25 !important;
	margin-top: 0.35rem !important;
}

.elevora-home-services__desc,
.elevora-home-services__desc p {
	color: var(--elevora-color-text-muted);
	font-size: 0.875rem;
	line-height: 1.6;
	min-height: 3.6em;
	max-width: 24ch;
}

.elevora-home-services__arrow .elementor-button {
	width: 2.35rem !important;
	height: 2.35rem !important;
	min-height: 2.35rem !important;
	padding: 0 !important;
	border-radius: 50% !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	margin-top: 0.35rem;
}

/* ——— About ——— */
.elevora-home-about__image img,
.elevora-home-about__media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: center 30%;
	display: block;
}

.elevora-home-about__media {
	position: relative;
}

.elevora-home-about__play {
	display: inline-flex;
	align-items: center;
	gap: 0.85rem;
	margin-top: 1rem;
	text-decoration: none;
	color: #1a1a1a;
	cursor: default;
	user-select: none;
	pointer-events: none;
}

.elevora-home-about__play-btn {
	width: 3.25rem;
	height: 3.25rem;
	border: 1px solid #1a1a1a;
	border-radius: 50%;
	position: relative;
	flex: 0 0 auto;
}

.elevora-home-about__play-btn::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 55%;
	transform: translate(-50%, -50%);
	border-style: solid;
	border-width: 6px 0 6px 10px;
	border-color: transparent transparent transparent #1a1a1a;
}

.elevora-home-about__play-label {
	font-family: var(--elevora-font-sans);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: 1.35;
	text-transform: uppercase;
}

.elevora-home-about__title .elementor-heading-title,
.elevora-home-about__serif .elementor-heading-title {
	font-family: var(--elevora-font-serif) !important;
	font-size: clamp(1.85rem, 1.4rem + 1.4vw, 2.45rem) !important;
	line-height: 1.18 !important;
	max-width: 12ch;
}

.elevora-home-about__copy,
.elevora-home-about__copy p {
	color: var(--elevora-color-text-muted);
	line-height: 1.7;
	max-width: 30rem;
	font-size: 0.95rem;
}

.elevora-home-about__feature {
	padding-left: 0.85rem;
	border-left: 2px solid #c5a059;
}

.elevora-home-about__feature-title .elementor-heading-title {
	white-space: pre-line;
	line-height: 1.35 !important;
	font-size: 0.92rem !important;
}

/* ——— Stats ——— */
.elevora-home-stats {
	padding-block: 0.25rem;
}

.elevora-home-stats__item {
	position: relative;
	min-width: min(100%, 9.5rem);
	padding-inline: 0.35rem;
	text-align: center;
}

.elevora-home-stats__item:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 18%;
	right: -6%;
	width: 1px;
	height: 64%;
	background: rgba(255, 255, 255, 0.14);
}

.elevora-home-stats__value .elementor-heading-title {
	font-family: var(--elevora-font-serif) !important;
	font-size: clamp(2.2rem, 1.7rem + 1.6vw, 3.1rem) !important;
	line-height: 1 !important;
}

.elevora-home-stats__label .elementor-heading-title {
	font-size: 0.78rem !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #c5a059 !important;
	margin-top: 0.45rem !important;
}

/* ——— Projects ——— */
.elevora-home-projects__heading .elementor-heading-title {
	font-family: var(--elevora-font-serif) !important;
	font-size: clamp(2rem, 1.45rem + 1.9vw, 2.85rem) !important;
	line-height: 1.12 !important;
	max-width: 14ch;
}

.elevora-home-projects__side-copy,
.elevora-home-projects__side-copy p {
	color: var(--elevora-color-text-muted);
	max-width: 28rem;
	font-size: 0.95rem;
	line-height: 1.7;
}

.elevora-home-projects__grid {
	align-items: stretch;
}

.elevora-home-projects__card {
	position: relative;
	overflow: hidden;
	min-width: min(100%, 11.5rem);
	border-radius: 0;
}

.elevora-home-projects__image {
	overflow: hidden;
}

.elevora-home-projects__image img,
.elevora-home-projects__card img {
	width: 100%;
	display: block;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.elevora-home-projects__card:not(.elevora-home-projects__card--featured) img {
	aspect-ratio: 4 / 3;
	object-position: center 35%;
}

.elevora-home-projects__card--featured {
	align-self: stretch;
}

.elevora-home-projects__card--featured img {
	aspect-ratio: 3 / 4;
	min-height: 100%;
	height: 100%;
	object-position: center 20%;
}

@media (prefers-reduced-motion: no-preference) {
	.elevora-home-projects__card:hover img {
		transform: scale(1.04);
	}
}

.elevora-home-projects__caption-wrap {
	position: absolute;
	inset: auto 0 0 0;
	pointer-events: none;
	z-index: 2;
}

.elevora-home-projects__caption-wrap .elementor-widget-container {
	pointer-events: none;
}

.elevora-home-projects__caption {
	padding: 1.35rem 1.15rem 1.1rem;
	background: linear-gradient(to top, rgba(12, 12, 12, 0.88) 0%, rgba(12, 12, 12, 0.35) 55%, transparent 100%);
	color: #fff;
	pointer-events: auto;
}

.elevora-home-projects__name {
	margin: 0 0 0.2rem;
	font-family: var(--elevora-font-sans);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.elevora-home-projects__meta {
	margin: 0;
	font-size: 0.78rem;
	color: rgba(255, 255, 255, 0.7);
	letter-spacing: 0.02em;
}

.elevora-home-projects__link {
	display: inline-flex;
	margin-top: 0.65rem;
	color: #c5a059;
	text-decoration: none;
	font-size: 0.8125rem;
	font-weight: 600;
}

.elevora-home-projects__link:hover {
	color: #fff;
}

.elevora-home-projects__grid-right {
	align-content: stretch;
}

/* ——— Service CTA ——— */
.elevora-home-service-cta__image img,
.elevora-home-service-cta__media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: center center;
	display: block;
}

.elevora-home-service-cta__title .elementor-heading-title {
	font-family: var(--elevora-font-serif) !important;
	font-size: clamp(1.85rem, 1.35rem + 1.6vw, 2.5rem) !important;
	line-height: 1.12 !important;
	max-width: 16ch;
}

.elevora-home-service-cta__copy,
.elevora-home-service-cta__copy p {
	color: rgba(255, 255, 255, 0.72);
	max-width: 32rem;
	font-size: 0.95rem;
	line-height: 1.7;
}

/* Phone button widget */
.elevora-phone-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	min-height: 2.85rem;
	padding: 0.85rem 1.45rem;
	font-family: var(--elevora-font-sans);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	border-radius: 0;
	box-sizing: border-box;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.elevora-phone-btn--outline {
	color: #1a1a1a;
	border: 1px solid #c5a059;
	background: #c5a059;
}

.elevora-phone-btn--outline:hover {
	border-color: #b3904a;
	background: #b3904a;
	color: #1a1a1a;
}

.elevora-phone-btn--solid {
	color: #1a1a1a;
	background: #c5a059;
	border: 1px solid #c5a059;
}

.elevora-phone-btn--solid:hover {
	background: #b3904a;
	border-color: #b3904a;
	color: #1a1a1a;
}

.elevora-phone-btn--ghost {
	color: #fff;
	border: 0;
	background: transparent;
	padding-inline: 0;
	min-height: auto;
}

.elevora-phone-btn__icon {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.elevora-phone-btn__icon svg {
	display: block;
}

.elevora-phone-btn__text {
	line-height: 1.2;
}

/* ——— Certs ——— */
.elevora-home-certs__heading .elementor-heading-title {
	font-family: var(--elevora-font-serif) !important;
	font-size: clamp(1.85rem, 1.35rem + 1.6vw, 2.5rem) !important;
	line-height: 1.12 !important;
	max-width: 18ch;
}

.elevora-home-certs__desc,
.elevora-home-certs__desc p {
	color: var(--elevora-color-text-muted);
	max-width: 32rem;
	font-size: 0.95rem;
}

.elevora-home-certs__item {
	min-width: min(100%, 8rem);
	text-align: center;
}

.elevora-home-certs__image img,
.elevora-home-certs__item img {
	width: 100%;
	max-width: 9.5rem;
	margin-inline: auto;
	aspect-ratio: 3 / 2;
	object-fit: contain;
	display: block;
	border: 1px solid var(--elevora-color-border);
	background: #f7f5f2;
	padding: 0.85rem;
}

/* ——— Final CTA ——— */
.elevora-home-final {
	position: relative;
	isolation: isolate;
}

.elevora-home-final::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: linear-gradient(
		180deg,
		rgba(12, 12, 12, 0.55) 0%,
		rgba(12, 12, 12, 0.7) 100%
	);
}

.elevora-home-final > .e-con-inner,
.elevora-home-final > .elementor-element,
.elevora-home-final .elevora-home-final__inner {
	position: relative;
	z-index: 1;
}

.elevora-home-final__title .elementor-heading-title {
	font-family: var(--elevora-font-serif) !important;
	font-size: clamp(1.85rem, 1.3rem + 1.8vw, 2.85rem) !important;
	line-height: 1.12 !important;
	max-width: 18ch;
	margin-inline: auto;
}

.elevora-home-final .elevora-eyebrow-el .elementor-heading-title {
	text-align: center;
}

/* ——— Eyebrows (homepage) ——— */
.elevora-home .elevora-eyebrow-el .elementor-heading-title {
	font-size: 0.72rem !important;
	letter-spacing: 0.14em !important;
	font-weight: 600 !important;
}

/* ——— Responsive ——— */
@media (max-width: 1024px) {
	.elevora-home-hero__aside {
		display: none !important;
	}

	.elevora-home-hero__content {
		width: 100% !important;
	}

	.elevora-home-hero__inner {
		min-height: 0 !important;
		padding-top: 6.5rem !important;
		padding-bottom: 3.5rem !important;
	}

	.elevora-home-hero::before {
		background: linear-gradient(
			180deg,
			rgba(12, 12, 12, 0.88) 0%,
			rgba(12, 12, 12, 0.64) 55%,
			rgba(12, 12, 12, 0.46) 100%
		);
	}

	.elevora-home-stats__item:not(:last-child)::after {
		display: none;
	}

	.elevora-home-services__card,
	.elevora-home-intro__text,
	.elevora-home-intro__media,
	.elevora-home-about__media,
	.elevora-home-about__content,
	.elevora-home-service-cta__media,
	.elevora-home-service-cta__content,
	.elevora-home-projects__card--featured,
	.elevora-home-projects__grid-right {
		width: 100% !important;
	}

	.elevora-home-services__card {
		width: calc(50% - 0.5rem) !important;
	}

	.elevora-home-projects__card:not(.elevora-home-projects__card--featured) {
		width: calc(50% - 0.5rem) !important;
	}

	.elevora-home-projects__card--featured img {
		aspect-ratio: 16 / 10;
		min-height: 0;
	}
}

@media (max-width: 767px) {
	.elevora-home-hero__actions {
		flex-direction: column !important;
		align-items: stretch !important;
	}

	.elevora-home-hero__actions .elementor-widget-button,
	.elevora-home-hero__actions .elementor-button {
		width: 100%;
	}

	.elevora-home-hero__title .elementor-heading-title {
		max-width: 100%;
	}

	.elevora-home-services__card,
	.elevora-home-stats__item,
	.elevora-home-certs__item,
	.elevora-home-projects__card,
	.elevora-home-about__feature {
		width: 100% !important;
	}

	.elevora-home-projects__card:not(.elevora-home-projects__card--featured) {
		width: 100% !important;
	}

	.elevora-home-services__desc,
	.elevora-home-services__desc p {
		min-height: 0;
		max-width: none;
	}

	.elevora-home-intro__media img {
		aspect-ratio: 4 / 3;
	}
}
