/**
 * Lending homepage — unified 2026 SaaS section system.
 */

/* —— Shared section shell —— */
.dr-landing-section {
	position: relative;
	padding: 56px 0 64px;
	scroll-margin-top: var(--dr-scroll-margin-top);
}

.dr-landing-section--alt {
	background: color-mix(in srgb, var(--dr-primary) 5%, white);
}

.dr-landing-section__head {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 40px;
}

.dr-landing-section__head h2 {
	margin-bottom: 12px;
	font-size: clamp(1.75rem, 4vw, 2.35rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	color: var(--dr-text-primary);
}

.dr-landing-section .dr-section-subtitle {
	margin-bottom: 0;
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--dr-text-secondary);
}

/* —— Lending hero: viewport-fit + trust bar (scoped to .dr-hero-banner) —— */
#banner.dr-hero-banner {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	padding-top: 12px;
	padding-bottom: 16px;
	padding-left: 5%;
	min-height: calc(100vh - var(--dr-scroll-margin-top));
	min-height: calc(100dvh - var(--dr-scroll-margin-top));
	overflow: hidden;
}

#banner.dr-hero-banner .dr-hero-banner__inner {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 0;
	width: 100%;
	max-width: 100%;
	padding-left: 0;
	padding-right: 15px;
	padding-bottom: 8px;
}

#banner.dr-hero-banner .dr-hero-banner__row {
	flex: 0 1 auto;
	align-items: flex-start !important;
	min-height: 0;
	margin-left: 0;
	margin-right: 0;
	width: 100%;
}

#banner.dr-hero-banner .dr-hero-banner__row > [class*="col-"] {
	min-height: 0;
	display: flex;
	flex-direction: column;
}

#banner.dr-hero-banner .dr-hero-banner__row > [class*="col-"]:first-child {
	justify-content: flex-end;
}

#banner.dr-hero-banner .intro-info,
#banner.dr-hero-banner #int {
	padding-top: 0;
	margin-top: 0;
	min-height: 0;
}

#banner.dr-hero-banner h1,
#banner.dr-hero-banner h2 {
	margin-top: 0 !important;
	padding-top: 0 !important;
	margin-bottom: 0.35em;
	font-size: clamp(1.625rem, 3vw, 2.35rem);
	line-height: 1.15;
}

#banner.dr-hero-banner .hero-tagline {
	margin: 0 0 0.65em;
	font-size: clamp(0.875rem, 1.5vw, 1.05rem);
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

#banner.dr-hero-banner .hero-cta-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 0;
}

#banner.dr-hero-banner .hero-cta-wrap .btn-get-started,
#banner.dr-hero-banner .hero-cta-wrap .btn-services {
	padding: 12px 20px;
	font-size: 13px;
}

/* Hero video: sizing/position from style.css (production); lift above bottom wave only */
@media (min-width: 992px) {
	#banner.dr-hero-banner .dr-hero-video-wrap {
		margin-bottom: 72px;
	}
}

@media (min-width: 1200px) {
	#banner.dr-hero-banner .dr-hero-video-wrap {
		margin-bottom: 88px;
	}
}

@media (min-width: 992px) {
	#banner.dr-hero-banner {
		padding-top: 0;
		padding-bottom: 28px;
		max-height: calc(100vh - var(--dr-scroll-margin-top));
		max-height: calc(100dvh - var(--dr-scroll-margin-top));
		overflow: visible;
	}

	#banner.dr-hero-banner .dr-hero-banner__inner {
		padding-top: 10vh;
		padding-bottom: 20px;
	}

	#banner.dr-hero-banner .dr-hero-banner__row {
		align-items: center !important;
	}

	#banner.dr-hero-banner .dr-hero-banner__row > .col-lg-6:first-child {
		padding-right: 16px;
	}

	/* Left copy block (headline, CTAs, trust) — nudge down toward wave */
	#banner.dr-hero-banner .dr-hero-banner__row > .col-lg-6:first-child .intro-info {
		transform: translateY(28px);
	}
}

@media (min-width: 1200px) {
	#banner.dr-hero-banner .dr-hero-banner__row > .col-lg-6:first-child .intro-info {
		transform: translateY(36px);
	}
}

/* Frosted trust bar on gradient */
.dr-landing-trust-bar {
	margin-top: 10px;
	max-width: 100%;
}

.dr-landing-trust-bar__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
	margin: 0;
	padding: 8px 12px;
	list-style: none;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 10px;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.dr-landing-trust-bar__item {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1 1 auto;
	min-width: 0;
	padding: 2px 10px;
	border-right: 1px solid rgba(255, 255, 255, 0.35);
}

.dr-landing-trust-bar__item:last-child {
	border-right: none;
}

.dr-landing-trust-bar__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	font-size: 11px;
	color: #fff;
	opacity: 0.95;
	flex-shrink: 0;
}

.dr-landing-trust-bar__text {
	display: inline-flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.2em;
	min-width: 0;
	line-height: 1.2;
	white-space: nowrap;
}

.dr-landing-trust-bar__value {
	font-size: 0.875rem;
	font-weight: 700;
	color: #fff;
}

.dr-landing-trust-bar__label {
	font-size: 0.75rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.92);
	text-transform: none;
}

@media (min-width: 992px) {
	.dr-landing-trust-bar__list {
		flex-wrap: nowrap;
	}

	.dr-landing-trust-bar__item {
		flex: 1 1 0;
		justify-content: center;
		padding: 2px 8px;
	}
}

@media (max-width: 575px) {
	.dr-landing-trust-bar__list {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 6px 4px;
		padding: 10px;
	}

	.dr-landing-trust-bar__item {
		border-right: none;
		padding: 4px 6px;
		justify-content: flex-start;
	}

	.dr-landing-trust-bar__text {
		white-space: normal;
	}
}

/* Tablet / mobile: clear fixed header; stack hero content from the top */
@media (max-width: 991px) {
	main#main.main-padded {
		padding-top: var(--dr-main-top-padding, 73px) !important;
	}

	#banner.dr-hero-banner {
		min-height: 0;
		max-height: none;
		overflow: visible;
		padding-top: 12px;
		padding-bottom: 20px;
		padding-left: 0;
	}

	#banner.dr-hero-banner .dr-hero-banner__inner {
		justify-content: flex-start;
		padding-top: 0;
		padding-left: 15px;
		padding-right: 15px;
	}

	#banner.dr-hero-banner .dr-hero-banner__row > [class*="col-"]:first-child {
		justify-content: flex-start;
	}

	#banner.dr-hero-banner h1,
	#banner.dr-hero-banner h2 {
		margin-top: 0 !important;
		padding-top: 0 !important;
	}

	#banner.dr-hero-banner .hero-tagline {
		display: block;
		-webkit-line-clamp: unset;
		overflow: visible;
		overflow-wrap: anywhere;
	}
}

/* Override style.css breakpoint h1 margin-top 20% */
@media (min-width: 992px) and (max-width: 1200px) {
	#banner.dr-hero-banner h1,
	#banner.dr-hero-banner h2 {
		margin-top: 0 !important;
	}
}

/* First section after hero */
#banner.dr-hero-banner + #why-us.dr-landing-section {
	padding-top: 44px;
}

/* —— Card grids (why + migration types) —— */
.dr-landing-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

@media (min-width: 576px) {
	.dr-landing-cards--why {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 992px) {
	.dr-landing-cards--why {
		grid-template-columns: repeat(4, 1fr);
	}

	.dr-landing-cards--migration {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	.dr-landing-cards--migration {
		grid-template-columns: repeat(2, 1fr);
	}
}

.dr-landing-card {
	height: 100%;
}

.dr-landing-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 44px;
	padding: 24px 22px;
	text-decoration: none;
	color: inherit;
	background: var(--dr-bg-light-paper);
	border: 1px solid color-mix(in srgb, var(--dr-primary) 14%, #e8f5f3);
	border-radius: 14px;
	box-shadow: 0 4px 20px rgba(13, 148, 136, 0.06);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

a.dr-landing-card__link:hover,
a.dr-landing-card__link:focus {
	border-color: color-mix(in srgb, var(--dr-primary) 35%, #e8f5f3);
	box-shadow: 0 10px 28px rgba(13, 148, 136, 0.12);
	transform: translateY(-2px);
	text-decoration: none;
	color: inherit;
}

.dr-landing-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 14px;
	font-size: 1.25rem;
	color: var(--dr-primary-dark);
	background: color-mix(in srgb, var(--dr-primary) 12%, white);
	border-radius: 12px;
}

.dr-landing-card__icon--lg {
	width: 56px;
	height: 56px;
	font-size: 1.5rem;
}

.dr-landing-card__title {
	margin: 0 0 10px;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--dr-text-primary);
}

.dr-landing-card__text {
	flex: 1;
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--dr-text-secondary);
}

.dr-landing-card__more {
	margin-top: 14px;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--dr-primary-dark);
}

.dr-landing-card__more .fa {
	margin-left: 4px;
	font-size: 0.75rem;
}

/* —— Key capabilities (production six-box grid on mint background) —— */
#capabilities.dr-capabilities-section {
	background: var(--dr-bg-light);
	padding-left: 2%;
	padding-right: 2%;
	overflow: hidden;
}

#capabilities.dr-capabilities-section .dr-landing-section__head {
	margin-bottom: 32px;
}

#capabilities .dr-capabilities-section__grid {
	padding-left: 0;
	padding-right: 0;
}

#capabilities .dr-capabilities-grid {
	margin-left: 0;
	margin-right: 0;
}

#capabilities .small_card {
	background: transparent;
	border: none;
	box-shadow: none;
	padding: 25px 15px;
	height: auto;
	margin-bottom: 0;
}

#capabilities .small_card img,
#capabilities .small_card picture {
	display: inline-block;
	width: auto;
	height: auto;
	max-width: 100%;
	margin-bottom: 15px;
}

#capabilities .small_card h2 {
	margin: 0 0 10px;
	color: var(--dr-text-primary);
}

#capabilities .small_card p {
	margin: 0;
	color: var(--dr-text-secondary);
}

/* Key capabilities + What we deliver: one continuous mint band (matches Key capabilities) */
#capabilities.dr-capabilities-section {
	padding-bottom: 0;
}

#capabilities.dr-capabilities-section .small_card {
	padding: 20px 15px 12px;
}

#capabilities.dr-capabilities-section + #what-we-deliver.dr-home-showcase {
	padding-top: 12px;
	background: var(--dr-bg-light);
}

#capabilities.dr-capabilities-section + #what-we-deliver.dr-home-showcase .dr-home-showcase__bg {
	background: var(--dr-bg-light);
	background-attachment: scroll;
}

#capabilities.dr-capabilities-section + #what-we-deliver .dr-home-showcase__header {
	margin-bottom: 20px;
}

/* —— Trust strip (pricing intro; matches landing card / highlight pills) —— */
.dr-landing-pricing-wrap .dr-landing-trust-logos {
	padding: 48px 0 8px;
	background: transparent;
	border: none;
}

.dr-landing-trust-logos__head {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 24px;
}

.dr-landing-trust-logos__eyebrow {
	display: inline-block;
	margin: 0 0 12px;
	padding: 6px 14px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--dr-primary-dark);
	background: color-mix(in srgb, var(--dr-primary) 12%, white);
	border: 1px solid color-mix(in srgb, var(--dr-primary) 28%, transparent);
	border-radius: 999px;
}

.dr-landing-trust-logos__lead {
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.65;
	font-weight: 400;
	color: var(--dr-text-secondary);
}

.dr-landing-trust-logos__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dr-landing-trust-logos__pill {
	display: inline-block;
	padding: 8px 16px;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--dr-primary-dark);
	background: var(--dr-bg-light-paper);
	border: 1px solid color-mix(in srgb, var(--dr-primary) 22%, transparent);
	border-radius: 999px;
	box-shadow: 0 2px 8px rgba(13, 148, 136, 0.06);
}

/* —— What we deliver: same mint as Key capabilities; sticky art on desktop —— */
.dr-home-showcase.dr-landing-showcase {
	background: var(--dr-bg-light);
}

.dr-home-showcase.dr-landing-showcase .dr-home-showcase__rows {
	gap: 48px;
}

.dr-landing-showcase .dr-home-showcase__media-frame {
	padding: 0;
	border-radius: 0;
	background: var(--dr-bg-light);
	border: none;
	box-shadow: none;
}

.dr-landing-showcase .dr-home-showcase__media-frame img,
.dr-landing-showcase .dr-home-showcase__media-frame picture {
	background: var(--dr-bg-light);
}

.dr-landing-showcase .dr-home-showcase__block-title {
	font-size: 1.25rem;
	color: var(--dr-text-primary);
}

.dr-home-showcase__footer-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.dr-home-showcase__cta--outline {
	color: var(--dr-primary-dark);
	background: #fff;
	border: 1px solid rgba(20, 184, 166, 0.55);
	box-shadow: none;
	opacity: 1;
}

.dr-home-showcase__cta--outline:hover,
.dr-home-showcase__cta--outline:focus {
	color: var(--dr-primary-dark);
	background: rgba(20, 184, 166, 0.08);
	border-color: var(--dr-primary-dark);
	box-shadow: none;
	opacity: 1;
	transform: translateY(-1px);
}

/* —— Pricing + contact surfaces —— */
.dr-landing-pricing-wrap,
#pricing.dr-landing-pricing-wrap.full_price {
	background: color-mix(in srgb, var(--dr-primary) 4%, white) !important;
	box-shadow: none;
	margin-top: 0;
	margin-bottom: 0;
	overflow: visible;
	padding-top: 0;
}

.dr-landing-pricing-wrap .dr-landing-trust-logos + .pricing-section--title {
	padding-top: 32px;
}

#pricing-section-title {
	scroll-margin-top: var(--dr-scroll-margin-top);
}

.dr-landing-pricing-wrap .pricing-section--title {
	padding-bottom: 0;
}

.dr-landing-pricing-wrap .fusion-layout-column {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	animation: none !important;
}

/* Override legacy 93px side padding on .pricing-fusion-column (style.css) */
.dr-landing-pricing-wrap .full_price .fusion-column-wrapper.pricing-fusion-column,
.dr-landing-pricing-wrap .pricing-fusion-column {
	box-sizing: border-box;
	width: 100%;
	max-width: min(1320px, 94vw);
	margin: 0 auto;
	padding: 0 clamp(20px, 3vw, 40px) 64px !important;
}

.dr-landing-pricing-wrap .pricing-section--title .container {
	max-width: min(1320px, 94vw);
	padding-left: clamp(20px, 3vw, 40px);
	padding-right: clamp(20px, 3vw, 40px);
}

.dr-landing-pricing-wrap #business {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
	width: 100%;
	max-width: none;
	margin: 0 auto;
	padding: 0;
}

@media (min-width: 992px) {
	.dr-landing-pricing-wrap #business {
		grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
		gap: 36px;
		align-items: stretch;
	}
}

@media (min-width: 1200px) {
	.dr-landing-pricing-wrap #business {
		gap: 40px;
	}
}

/* Cards: keep style.css inner structure (plhead bands); no extra outer padding */
.dr-landing-pricing-wrap #Businessleftlist,
.dr-landing-pricing-wrap #Businessreghtlist {
	padding: 0;
	min-height: 0;
}

.dr-landing-pricing-wrap #Businessleftlist p.plhead,
.dr-landing-pricing-wrap #Businessreghtlist p.plhead {
	padding: 28px 32px 22px;
	font-size: 1.25rem;
}

.dr-landing-pricing-wrap #Businessleftlist .pricing-benefits-intro {
	padding: 24px 32px 0;
}

.dr-landing-pricing-wrap #Businessleftlist .pricing-benefits-intro p {
	font-size: 1rem;
	line-height: 1.6;
	margin-bottom: 24px;
}

.dr-landing-pricing-wrap #Businessleftlist ul.pricing-benefits-list,
.dr-landing-pricing-wrap #Businessleftlist ul.description.pricing-benefits-list {
	padding: 0 32px 32px !important;
}

.dr-landing-pricing-wrap #Businessleftlist ul.pricing-benefits-list li,
.dr-landing-pricing-wrap #Businessleftlist ul.description.pricing-benefits-list li {
	padding: 14px 0;
	gap: 14px;
	font-size: 0.9375rem;
	line-height: 1.55;
}

.dr-landing-pricing-wrap .request-quote-subtitle {
	padding: 0 32px;
	margin-bottom: 20px;
	font-size: 1rem;
	line-height: 1.6;
}

.dr-landing-pricing-wrap #Businessreghtlist.request-quote-form .request-quote-form-inner {
	padding: 0 32px 32px;
}

.dr-landing-pricing-wrap .request-quote-form-inner .equal_set {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px 28px;
	padding: 0 !important;
	float: none;
	width: 100%;
}

.dr-landing-pricing-wrap .request-quote-form-inner .equal_set .left_sele,
.dr-landing-pricing-wrap .request-quote-form-inner .equal_set .right_sele {
	float: none;
	width: auto;
	min-width: 0;
}

.dr-landing-pricing-wrap .request-quote-form-inner .equal_set label {
	white-space: normal;
	margin-bottom: 8px;
	font-size: 0.875rem;
}

.dr-landing-pricing-wrap .request-quote-form .input_name_box,
.dr-landing-pricing-wrap .request-quote-form-inner .input_name_box {
	padding: 12px 16px;
	font-size: 1rem;
	min-height: 44px;
	box-sizing: border-box;
}

.dr-landing-pricing-wrap .request-quote-platform-gate {
	padding: 20px 22px 22px;
}

.dr-landing-pricing-wrap .request-quote-platform-grid {
	gap: 20px 28px;
}

.dr-landing-pricing-wrap .migration-type-checkboxes {
	gap: 12px;
}

.dr-landing-pricing-wrap .request-quote-submit {
	margin-top: 8px;
}

@media (max-width: 991px) {
	.dr-landing-pricing-wrap .full_price .fusion-column-wrapper.pricing-fusion-column,
	.dr-landing-pricing-wrap .pricing-fusion-column {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}

	.dr-landing-pricing-wrap #Businessleftlist p.plhead,
	.dr-landing-pricing-wrap #Businessreghtlist p.plhead,
	.dr-landing-pricing-wrap #Businessleftlist .pricing-benefits-intro,
	.dr-landing-pricing-wrap #Businessleftlist ul.pricing-benefits-list,
	.dr-landing-pricing-wrap #Businessleftlist ul.description.pricing-benefits-list,
	.dr-landing-pricing-wrap .request-quote-subtitle,
	.dr-landing-pricing-wrap #Businessreghtlist.request-quote-form .request-quote-form-inner {
		padding-left: 24px;
		padding-right: 24px;
	}

	.dr-landing-pricing-wrap .request-quote-form-inner .equal_set {
		grid-template-columns: 1fr;
		gap: 18px;
	}
}

.dr-landing-contact {
	padding-bottom: 64px;
}

.dr-landing-contact .contact-form-card,
.dr-landing-contact .contact-info-card {
	background: var(--dr-bg-light-paper);
	border: 1px solid color-mix(in srgb, var(--dr-primary) 12%, #e8f5f3);
	border-radius: 14px;
	padding: 28px 24px;
	box-shadow: 0 4px 20px rgba(13, 148, 136, 0.06);
}

/* Hero: avoid excessive viewport height on tablet/mobile */
@media (max-width: 991px) {
	#banner.dr-hero-banner {
		min-height: auto;
		max-height: none;
	}

	.dr-landing-contact .contact-row > [class*="col-"] + [class*="col-"] {
		margin-top: 20px;
	}
}

@media (max-width: 767px) {
	.dr-landing-contact .contact-form-card,
	.dr-landing-contact .contact-info-card {
		padding: 22px 18px;
	}

	#contact .form .form-row .form-group[class*="col-"] {
		flex: 0 0 100%;
		max-width: 100%;
	}
}

@media (max-width: 575px) {
	#contact .form .btn-contact-submit {
		display: block;
		width: 100%;
	}
}

/* —— Reduced motion —— */
@media (prefers-reduced-motion: reduce) {
	.dr-landing-card__link,
	.dr-home-showcase__cta {
		transition: none;
	}

	a.dr-landing-card__link:hover,
	a.dr-landing-card__link:focus,
	.dr-home-showcase__cta:hover,
	.dr-home-showcase__cta:focus {
		transform: none;
	}
}

@media (max-width: 575px) {
	.dr-landing-section {
		padding: 44px 0 52px;
	}
}
