/* ==========================================================================
   COBRANZA ESTRATÉGICA — Método de intervención (template-parts/ce-metodo.php)
   Extraído de cobranza-estrategica.html (#ce-metodo). Prefijo ce-met-* (únicas).
   Reutiliza el ornamento .ce-orn (definido en ce-soluciones.css).
   ========================================================================== */

#ce-metodo {
	background: var(--navy2);
}

.ce-met-header {
	text-align: center;
	max-width: 760px;
	margin: 0 auto 3.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.ce-met-title {
	font-family: "Cormorant Garamond", serif;
	font-size: clamp(2.2rem, 5vw, 3.6rem);
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--white);
	line-height: 1.1;
}

.ce-met-subtitle {
	font-size: clamp(1rem, 1.5vw, 1.2rem);
	font-weight: 400;
	color: var(--gold);
	line-height: 1.5;
}

.ce-met-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2.5rem, 5vw, 5rem);
	align-items: center;
}

.ce-met-img {
	overflow: hidden;
	border-radius: 16px;
	border: 1px solid rgba(198, 170, 71, 0.35);
	aspect-ratio: 4 / 3;
}

.ce-met-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s;
}

.ce-met-img:hover img {
	transform: scale(1.04);
}

.ce-met-steps {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1.8rem;
}

/* Línea vertical que conecta los iconos */
.ce-met-steps::before {
	content: "";
	position: absolute;
	left: 28px;
	top: 28px;
	bottom: 28px;
	width: 2px;
	background: rgba(198, 170, 71, 0.35);
	z-index: 0;
}

.ce-met-step {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 1.4rem;
}

.ce-met-icon {
	width: 56px;
	height: 56px;
	flex-shrink: 0;
	border-radius: 50%;
	border: 1px solid var(--gold);
	background: var(--navy2);
	color: var(--gold);
	display: flex;
	align-items: center;
	justify-content: center;
	transition:
		border-color 0.3s,
		background 0.3s;
}

.ce-met-icon svg {
	width: 26px;
	height: 26px;
}

.ce-met-step:hover .ce-met-icon {
	background: rgba(198, 170, 71, 0.1);
}

.ce-met-step-title {
	font-family: "Cormorant Garamond", serif;
	font-size: clamp(1.3rem, 2vw, 1.6rem);
	font-weight: 600;
	color: var(--white);
	line-height: 1.2;
	margin-bottom: 0.25rem;
}

.ce-met-step-text {
	font-size: 0.88rem;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.62);
	line-height: 1.6;
}

@media (max-width: 900px) {
	.ce-met-grid {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.ce-met-img {
		max-width: 560px;
		width: 100%;
		margin: 0 auto;
	}
}
