/* ==========================================================================
   COBRANZA ESTRATÉGICA — Cuándo intervenir en Cobranza
   (template-parts/ce-cuando.php) — Extraído de cobranza-estrategica.html
   (#ce-cuando). Prefijo ce-cuando-* (clases únicas).
   ========================================================================== */

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

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

.ce-cuando-title {
	font-family: "Cormorant Garamond", serif;
	font-size: clamp(2.2rem, 4.5vw, 3.4rem);
	font-weight: 600;
	color: var(--white);
	line-height: 1.1;
}

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

.ce-cuando-line {
	display: block;
	width: 60px;
	height: 2px;
	background: var(--gold);
	margin: 1.4rem 0 1.8rem;
}

.ce-cuando-lead {
	font-size: 1.05rem;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.5;
	margin-bottom: 1rem;
}

.ce-cuando-list {
	list-style: none;
	display: flex;
	flex-direction: column;
}

.ce-cuando-list li {
	position: relative;
	padding: 0.85rem 0 0.85rem 1.6rem;
	border-bottom: 1px solid rgba(198, 170, 71, 0.12);
	font-size: 0.92rem;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.78);
	line-height: 1.5;
}

.ce-cuando-list li:last-child {
	border-bottom: none;
}

.ce-cuando-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1.3em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--gold);
}

/* Imagen con esquinas redondeadas */
.ce-cuando-frame {
	border: 1px solid rgb(198, 170, 71);
	border-radius: 16px;
	overflow: hidden;
	max-width: 440px;
	width: 100%;
	margin: 0 auto;
}

.ce-cuando-img {
	aspect-ratio: 4 / 5;
	overflow: hidden;
}

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

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

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