/* ==========================================================================
   PROBLEMA — Componente (template-parts/problem.php)
   Extraído de global.css
   ========================================================================== */

#problema {
	background: var(--navy2);
}

.problema-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(2rem, 4vw, 4rem);
	align-items: start;
}

/* Columna izquierda */
.problema-col-izq {
	display: flex;
	flex-direction: column;
}

.problema-col-izq .section-title {
	margin-bottom: 2rem;
}

.problema-callout {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	border-left: 3px solid var(--gold);
	padding: 0.4rem 0 0.4rem 1.4rem;
	margin-bottom: 2.2rem;
}

.problema-callout p {
	font-size: 0.95rem;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.6;
}

.problema-parrafo {
	font-size: 0.92rem;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.6);
	line-height: 1.9;
	margin-bottom: 1.4rem;
}

.problema-col-izq strong,
.problema-callout strong {
	color: var(--gold);
	font-weight: 600;
}

.problema-frase {
	max-width: 640px;
	margin: 3rem 0;
	padding: 1.75rem 2rem;
	border-left: 4px solid var(--gold);
	background: rgba(255, 255, 255, 0.03);
	backdrop-filter: blur(4px);
	position: relative;
}

.problema-frase p {
	margin: 0;
	color: var(--light);
	/* font-size: clamp(1rem, 1.2vw, 1.2rem); */
	font-size: clamp(1rem, 1.2vw, 1.2rem);
	line-height: 1.8;
	font-weight: 300;
}

.problema-frase span {
	display: inline-block;
	margin-bottom: 0.45rem;
	font-family: var(--font-heading);
	/* font-size: clamp(1.8rem, 3vw, 2.6rem); */
	font-size: clamp(1.1rem, 1.3vw, 1.5rem);
	font-weight: 600;
	color: var(--white);
	line-height: 1.15;
}

.problema-frase::before {
	content: "❝";
	position: absolute;
	top: -18px;
	left: 14px;
	font-size: 4rem;
	color: rgba(201, 164, 92, 0.15);
	font-family: Georgia, serif;
	pointer-events: none;
}

.problema-box {
	display: flex;
	align-items: center;
	gap: 1.4rem;
	border: 1px solid rgba(198, 170, 71, 0.25);
	border-radius: 6px;
	padding: 1.8rem;
	margin-top: 1.2rem;
}

.problema-box p {
	font-size: 0.9rem;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.8;
}

/* Íconos circulares (izquierda) */
.problema-icon {
	width: 58px;
	height: 58px;
	flex-shrink: 0;
	border-radius: 50%;
	border: 1px solid rgba(198, 170, 71, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--gold);
}

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

/* Columna derecha */
.problema-img-wrap {
	overflow: hidden;
	border-radius: 6px;
	border: 1px solid rgba(198, 170, 71, 0.2);
	aspect-ratio: 16 / 10;
	margin-bottom: 2.5rem;
}

.problema-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s;
}

.problema-img-wrap:hover img {
	transform: scale(1.04);
}

.problema-riesgos-titulo {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--gold);
	text-align: center;
	margin-bottom: 2rem;
}

.riesgos-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.8rem 1.4rem;
}

.riesgo-item {
	display: flex;
	align-items: flex-start;
	gap: 0.9rem;
}

.riesgo-item-icon {
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	border-radius: 50%;
	border: 1px solid rgba(198, 170, 71, 0.35);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--gold);
	transition:
		border-color 0.3s,
		background 0.3s;
}

.riesgo-item-icon svg {
	width: 20px;
	height: 20px;
}

.riesgo-item:hover .riesgo-item-icon {
	border-color: var(--gold);
	background: rgba(198, 170, 71, 0.08);
}

.riesgo-item p {
	font-size: 0.85rem;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.75);
	line-height: 1.5;
	padding-top: 0.15rem;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
	.problema-grid {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.riesgos-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.riesgos-grid {
		grid-template-columns: 1fr;
	}
}
