/* Lending Process "Four clear steps" — Residential Lending page (components/lending-process/lending-process.php) */

/* Soft grey rounded panel holding the two columns. */
.lending-process {
	display: grid;
	grid-template-columns: 42% 1fr;
	gap: 56px;
	align-items: stretch;
	background: var(--color-card-grey);
	border-radius: var(--radius-section);
	max-width: var(--content-max);
	margin-inline: auto;
	padding: 72px var(--side-padding);
}

/* ---- Left intro ---- */
/* Full-height column so the image can sit flush with the bottom of the steps. */
.lending-process__intro {
	display: flex;
	flex-direction: column;
}
/* Push the image to the bottom of the column and let it meet the panel's bottom
   edge by cancelling the panel's 72px bottom padding. */
.lending-process__media {
	margin-top: auto;
	margin-bottom: -72px;
}
/* Title — DM Serif Display Regular 40, navy (Figma). */
.lending-process__title {
	font-family: var(--font-display);
	font-weight: var(--weight-regular);
	font-size: 40px;
	line-height: 1.15;
	color: var(--color-navy-mid);
	margin: 0 0 20px;
}
/* Subtitle — Montserrat Regular 18, navy (Figma). */
.lending-process__subtitle {
	font-family: var(--font-body);
	font-weight: var(--weight-regular);
	font-size: 18px;
	line-height: 1.6;
	color: var(--color-navy-mid);
	margin: 0 0 32px;
}
.lending-process__media img {
	width: 100%;
	height: auto;
	border-radius: var(--radius-card);
	object-fit: cover;
	display: block;
}

/* ---- Right step list ---- */
.lending-process__steps {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Each step — plain navy icon on the left, title + text on the right; light card. */
.lp-step {
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 18px;
	align-items: start;
	background: var(--color-off-white);
	border: 1px solid var(--color-navy-mid);
	border-radius: 20px;
	padding: 24px 28px;
	transition: background-color 0.45s ease;
}
/* Hover: fill navy, flip text light and the icon white. */
.lp-step:hover {
	background: var(--color-navy-mid);
}
.lp-step__icon {
	display: flex;
	align-items: flex-start;
	justify-content: center;
}
.lp-step__icon img {
	width: 40px;
	height: 40px;
	object-fit: contain;
	transition: filter 0.45s ease;
}
.lp-step:hover .lp-step__icon img {
	filter: brightness(0) invert(1);
}
/* Title — Montserrat SemiBold 18, navy (Figma). */
.lp-step__title {
	font-family: var(--font-body);
	font-size: 18px;
	font-weight: var(--weight-semibold);
	color: var(--color-navy-mid);
	margin: 0 0 8px;
	transition: color 0.45s ease;
}
/* Text — Montserrat Regular 18, navy (Figma). */
.lp-step__text {
	font-family: var(--font-body);
	font-size: 18px;
	font-weight: var(--weight-regular);
	line-height: 1.6;
	color: var(--color-navy-mid);
	margin: 0;
	transition: color 0.45s ease;
}
.lp-step:hover .lp-step__title,
.lp-step:hover .lp-step__text {
	color: var(--color-off-white);
}

@media (max-width: 1024px) {
	.lending-process {
		grid-template-columns: 1fr;
		gap: 40px;
		border-radius: 0;
		padding: 56px 24px;
	}
	.lending-process__title { font-size: 32px; }
}
@media (max-width: 768px) {
	.lending-process__title { font-size: 28px; }
	.lp-step { padding: 20px; }
}
