/**
 * Home — Hero
 * Figma (frame 1440): hero 1440 × ~700, arco superior, bloque de texto 1040px.
 * Eyebrow = Body/L Marion · Título = Heading/H1 64 / 99.9% · Texto = Heading/H5 24 / Auto.
 */

.home-hero {
	width: 100%;
}

.home-hero__media {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 700px;
	overflow: hidden;
	border-radius: var(--radius-arch);
	background-color: var(--color-navy);
	isolation: isolate;
}

.home-hero__img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
}

.home-hero__media::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--overlay-image);
}

.home-hero__content {
	width: 100%;
	max-width: calc(1040px + 2 * 136px);
	padding: 120px 136px 80px;
	color: var(--color-light);
}

.home-hero__eyebrow {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 24px;
	color: var(--color-light);
}

.home-hero__pin {
	display: inline-flex;
	flex-shrink: 0;
}

.home-hero__pin svg {
	width: 22px;
	height: 22px;
}

.home-hero__title {
	/* El bloque mide 1040px, pero en Figma el título corta después de "trabaja" */
	max-width: 800px;
	margin-bottom: 28px;
	line-height: 99.9%;
	color: var(--color-light);
}

.home-hero__text {
	max-width: 544px;
	margin: 0 0 44px;
	color: var(--color-light);
}

/* Botón "Ver video" — neutraliza los estilos de <button> de Hello Elementor */
.home-hero .home-hero__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 145px;
	min-height: 41px;
	padding: 10px 28px;
	border: 1px solid var(--color-light);
	border-radius: var(--radius-pill);
	background: transparent;
	color: var(--color-light);
	font-family: var(--font-sans);
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
}

.home-hero .home-hero__btn:hover,
.home-hero .home-hero__btn:focus-visible {
	background: var(--color-light);
	color: var(--color-navy);
}

/* ---------- Modal ---------- */
.home-hero__modal {
	width: min(1100px, 92vw);
	max-width: none;
	padding: 0;
	border: 0;
	border-radius: var(--radius-sm);
	background: var(--color-black);
	overflow: visible;
}

.home-hero__modal::backdrop {
	background: rgba(0, 0, 0, .8);
}

.home-hero__video {
	display: block;
	width: 100%;
	max-height: 80vh;
	border-radius: var(--radius-sm);
}

.home-hero .home-hero__modal-close {
	position: absolute;
	top: -48px;
	right: 0;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--color-white);
	font-size: 36px;
	line-height: 1;
	cursor: pointer;
}

/* ---------- Tablet (sin diseño aún: adaptación propia) ---------- */
@media (max-width: 1024px) {
	.home-hero__media {
		min-height: 620px;
		border-radius: 180px 180px 0 0;
	}

	.home-hero__content {
		padding: 120px 48px 64px;
	}

	.home-hero__title {
		font-size: 48px;
	}
}

/* ---------- Móvil (sin diseño aún: adaptación propia) ---------- */
@media (max-width: 767px) {
	.home-hero__media {
		align-items: flex-end;
		min-height: 88svh;
		border-radius: 120px 120px 0 0;
	}

	.home-hero__content {
		padding: 140px 24px 48px;
	}

	.home-hero__eyebrow {
		margin-bottom: 16px;
		font-size: 18px;
		line-height: 22px;
	}

	.home-hero__title {
		margin-bottom: 16px;
		font-size: 38px;
		line-height: 1.05;
	}

	.home-hero__text {
		margin-bottom: 32px;
		font-size: 18px;
		line-height: 23px;
	}
}
