/**
 * Hero home — vídeo full-bleed + overlay + copy IQDC
 */

.iqdc-hero {
	--iqdc-hero-accent: #008bff;
	--iqdc-hero-cta: #2a63be;
	--iqdc-hero-text: #ffffff;
	--iqdc-hero-pad-x: clamp(1.25rem, 4vw, 3rem);

	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	min-height: 100vh;
	padding: 150px var(--iqdc-hero-pad-x) 120px;
	overflow: hidden;
	color: var(--iqdc-hero-text);
	background-color: #000000;
	isolation: isolate;
	text-align: left;
}

.iqdc-hero *,
.iqdc-hero *::before,
.iqdc-hero *::after {
	box-sizing: border-box;
}

.iqdc-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.iqdc-hero__video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.iqdc-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	/* Negro L→R: decreciente, derecha sigue con tinte (no limpio). */
	background: linear-gradient(
		to right,
		rgba(0, 0, 0, 0.92) 0%,
		rgba(0, 0, 0, 0.4) 100%
	);
}

.iqdc-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 56rem;
	margin: 0;
	padding: 0;
}

.iqdc-hero__title {
	margin: 0 0 1.25rem;
	font-family: Roboto, "Segoe UI", system-ui, -apple-system, sans-serif;
	font-size: 61px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--iqdc-hero-text);
}

.iqdc-hero__title-line {
	display: block;
	white-space: nowrap;
}

.iqdc-hero__accent {
	color: var(--iqdc-hero-accent);
}

.iqdc-hero__body {
	max-width: 42rem;
	margin: 0 0 1.75rem;
	font-family: Roboto, "Segoe UI", system-ui, -apple-system, sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5;
	color: var(--iqdc-hero-text);
}

.iqdc-hero__body p {
	margin: 0 0 0.35em;
}

.iqdc-hero__body p:last-child {
	margin-bottom: 0;
}

.iqdc-hero__body u {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.iqdc-hero__cta-wrap {
	display: inline-flex;
	border: 2px solid transparent;
	border-radius: 4px;
	transition: border-color 0.2s ease;
}

.iqdc-hero__cta-wrap:hover,
.iqdc-hero__cta-wrap:focus-within {
	border-color: #ffffff;
}

.iqdc-hero__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85em 1.6em;
	font-family: Montserrat, "Segoe UI", system-ui, -apple-system, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1em;
	text-transform: capitalize;
	text-decoration: none;
	color: #ffffff !important;
	background-color: var(--iqdc-hero-cta);
	border-radius: 50px;
	border: none;
	cursor: pointer;
	transition: background-color 0.2s ease, filter 0.2s ease;
}

.iqdc-hero__cta:hover,
.iqdc-hero__cta:focus-visible {
	background-color: #2457a8;
	color: #ffffff !important;
	filter: brightness(1.05);
}

.iqdc-hero__cta:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 3px;
}

@media (max-width: 1024px) {
	.iqdc-hero {
		padding: 90px 20px 60px;
	}

	.iqdc-hero__title {
		font-size: clamp(1.75rem, 4.5vw, 2.75rem);
	}

	.iqdc-hero__title-line {
		white-space: normal;
	}
}

@media (max-width: 767px) {
	.iqdc-hero__title {
		font-size: 28px;
	}

	.iqdc-hero__body {
		font-size: 15px;
		line-height: 1.5;
	}
}
