/* ==========================================================================
   METODOLOGÍA — Soluciones (template-parts/metodologia-soluciones.php)
   Página Metodología. Extraído de metodologia.html (#metodologia-3).
   Prefijo m3-* (clases únicas). La .card-titulo original se renombró a
   .m3-card-titulo para mantener el prefijo de sección.
   ========================================================================== */

#metodologia-3 {
	background: var(--navy2);
}

.m3-header {
	max-width: 760px;
	margin: 0 auto 3.5rem;
	text-align: center;
}

.m3-eyebrow {
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	color: var(--gold);
	margin-bottom: 1.2rem;
}

.m3-title {
	font-family: "Cormorant Garamond", serif;
	font-size: clamp(1.8rem, 6vw, 4.5rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--gold);
	line-height: 1;
	margin-bottom: 1.4rem;
}

.m3-line {
	width: 56px;
	height: 2px;
	background: var(--gold);
	margin: 0 auto 1.6rem;
}

.m3-desc {
	font-size: 0.95rem;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.65);
	line-height: 1.9;
}

.m3-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem;
}

.m3-card {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(198, 170, 71, 0.2);
	border-radius: 14px;
	background-size: cover;
	background-position: center;
	padding: 2.8rem 2.6rem;
	min-height: 440px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.m3-card-titulo {
	display: flex;
	gap: 1rem;
}

.m3-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		100deg,
		rgba(10, 21, 32, 0.97) 40%,
		rgba(10, 21, 32, 0.9) 50%,
		rgba(10, 21, 32, 0.55) 75%,
		rgba(10, 21, 32, 0.35) 100%
	);
	z-index: 0;
}

.m3-card > * {
	position: relative;
	z-index: 1;
}

.m3-card-icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	border: 1px solid rgba(198, 170, 71, 0.4);
	background: rgba(198, 170, 71, 0.06);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--gold);
	margin-bottom: 1.8rem;
}

.m3-card-icon svg {
	width: 30px;
	height: 30px;
}

.m3-card-title {
	font-family: "Cormorant Garamond", serif;
	font-size: clamp(1.6rem, 2.4vw, 2rem);
	font-weight: 600;
	color: var(--gold);
	line-height: 1.15;
	margin-bottom: 1.2rem;
}

.m3-card-line {
	width: 48px;
	height: 2px;
	background: var(--gold);
	margin-bottom: 1.4rem;
}

.m3-card-text {
	font-size: 0.88rem;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.8;
	margin-bottom: 2rem;
	max-width: 42ch;
}

.m3-card-btn {
	width: 100%;
	max-width: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	padding: 0.9rem 1.4rem;
	border: 1px solid var(--gold);
	border-radius: 4px;
	background: transparent;
	color: var(--gold);
	font-family: inherit;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition:
		background 0.25s,
		color 0.25s;
}

.m3-card-btn svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	transition: transform 0.25s;
}

.m3-card-btn:hover {
	background: var(--gold);
	color: var(--navy);
}

.m3-card-btn:hover svg {
	transform: translateX(4px);
}

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