/* ==========================================================================
   CONTACTO — Hablemos sobre su empresa / hero (template-parts/ct-hero.php)
   Extraído de contacto.html (#ct-hero). Prefijo "ct-hero-" (clases únicas).
   ========================================================================== */

#ct-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 88vh;
	overflow: hidden;
	background: var(--navy);
	padding: 0;
}

.ct-hero-img {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.ct-hero-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	filter: brightness(0.62);
}

.ct-hero-img::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, rgba(13, 27, 42, 0.7), rgba(13, 27, 42, 0.4));
}

.ct-hero-logo {
	position: absolute;
	z-index: 1;
	right: 7%;
	top: 50%;
	transform: translateY(-50%);
	width: clamp(200px, 26vw, 420px);
	height: auto;
	pointer-events: none;
}

.ct-hero-panel {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: var(--navy);
	clip-path: polygon(0 0, 62% 0, 50% 100%, 0 100%);
}

.ct-hero-inner {
	position: relative;
	z-index: 2;
	width: 100%;
	padding: 8rem 5% 5rem;
}

.ct-hero-content {
	max-width: 600px;
}

.ct-hero-eyebrow {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 1.8rem;
}

.ct-hero-eyebrow::before {
	content: "";
	width: 44px;
	height: 1px;
	background: var(--gold);
}

.ct-hero-title {
	font-family: "Cormorant Garamond", serif;
	font-size: clamp(2.6rem, 5.5vw, 4.4rem);
	font-weight: 600;
	color: var(--white);
	line-height: 1.05;
}

.ct-hero-title em {
	font-style: normal;
	color: var(--gold);
}

.ct-hero-p {
	font-size: 1rem;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.72);
	line-height: 1.8;
	max-width: 480px;
	margin: 1.8rem 0 2.4rem;
}

@media (max-width: 900px) {
	/* El panel navy ocupa todo; se ocultan imagen y logo */
	#ct-hero {
		min-height: auto;
	}

	.ct-hero-panel {
		clip-path: none;
	}

	.ct-hero-img,
	.ct-hero-logo {
		display: none;
	}

	.ct-hero-inner {
		padding: 8rem 5% 4rem;
	}

	.ct-hero-content {
		max-width: 100%;
	}

	.ct-hero-p {
		max-width: none;
	}
}

@media (max-width: 600px) {
	.ct-hero-inner {
		padding: 7rem 5% 3.5rem;
	}
}
