/**
 * CRBNFIX Solutions Map Widget CSS
 * Explicit Typography Rules & Inverted Section Backgrounds:
 * - Heading (Light Background): 2rem (32px)
 * - Subheading / Kicker (Light Background): 12px uppercase
 * - Description / Lead: 16px
 * - Heading (Dark Background): 35px
 *
 * Section Backgrounds:
 * - Section 1 (OUR SOLUTIONS 6 Cards Grid): Light BG #f8faf8
 * - Section 2 (THE OPPORTUNITY Flowchart): Dark Forest Green #061d10
 * - Section 3 (OUR APPROACH): White #ffffff
 * - Section 4 (WHO WE WORK WITH): Dark Forest Green #061d10
 */

.crbnfix-solutions-widget {
	width: 100%;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #111a13;
	box-sizing: border-box;
}

.crbnfix-solutions-widget * {
	box-sizing: border-box;
}

/* Container */
.crbnfix-solutions-widget .sol-container {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}

/* Subheadings / Kickers */
.crbnfix-solutions-widget .sol-kicker {
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: #18944d;
	margin-bottom: 12px;
	display: block;
}

.crbnfix-solutions-widget .sol-kicker-light {
	color: #9bc89a;
}

/* Headings on Light BG - 2rem (32px) */
.crbnfix-solutions-widget .sol-title-light-bg {
	font-family: 'Outfit', 'Inter', sans-serif;
	font-size: 2rem;
	/* 32px */
	font-weight: 800;
	line-height: 1.2;
	color: #111a13;
	margin: 0 0 16px 0;
	letter-spacing: -0.5px;
}

/* Headings on Dark BG - 35px */
.crbnfix-solutions-widget .sol-title-dark-bg {
	font-family: 'Outfit', 'Inter', sans-serif;
	font-size: 35px;
	font-weight: 800;
	line-height: 1.2;
	color: #ffffff;
	margin: 0 0 16px 0;
	letter-spacing: -0.5px;
}

/* Generic Fallback Heading */
.crbnfix-solutions-widget .sol-title {
	font-family: 'Outfit', 'Inter', sans-serif;
	font-size: 2rem;
	font-weight: 800;
	line-height: 1.2;
	color: #111a13;
	margin: 0 0 16px 0;
}

/* Descriptions & Subtitles - 16px */
.crbnfix-solutions-widget .sol-subtitle-lead,
.crbnfix-solutions-widget .sol-opp-desc {
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: #4a524d;
	margin: 0 0 16px 0;
}

.crbnfix-solutions-widget .sol-desc-dark-bg {
	color: #a3b8a8;
}


/* ==========================================================================
   SECTION 1: OUR SOLUTIONS (6 CARDS GRID - LIGHT BG #F8FAF8)
   ========================================================================== */
.sol-sec-solutions {
	background-color: #f8faf8;
	padding: 60px 0;
	border-bottom: 1px solid #e0eae2;
}

.sol-sec-header-center {
	text-align: left;
	max-width: 100%;
	margin: 0 0 45px 0;
}

.sol-sec-header-center .sol-subtitle-lead {
	max-width: 780px;
}

.sol-cards-grid-6 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

/* White Card Style */
.sol-card-item {
	background: #ffffff;
	border: 1px solid #dce8de;
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
	transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.sol-card-item:hover {
	transform: translateY(-6px);
	border-color: #18944d;
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.sol-card-img-box {
	aspect-ratio: 16 / 10;
	width: 100%;
	overflow: hidden;
	position: relative;
	background: #eef5ef;
}

.sol-card-img-box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.45s ease;
}

.sol-card-item:hover .sol-card-img-box img {
	transform: scale(1.06);
}

.sol-card-num-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	background: #061d10;
	color: #ffffff;
	font-family: 'Outfit', sans-serif;
	font-size: 12px;
	font-weight: 800;
	padding: 4px 10px;
	border-radius: 4px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.sol-card-content {
	padding: 24px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.sol-card-h3 {
	font-family: 'Outfit', sans-serif;
	font-size: 20px;
	font-weight: 800;
	color: #111a13;
	margin: 0 0 10px 0;
	line-height: 1.25;
}

.sol-card-p {
	font-family: 'Inter', sans-serif;
	font-size: 14.5px;
	line-height: 1.6;
	color: #4a524d;
	margin: 0 0 22px 0;
	flex-grow: 1;
}

.sol-card-btn-bar {
	margin-top: auto;
}

/* Primary Theme Match Button */
.sol-card-btn-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 12px 20px;
	background-color: #18944d;
	color: #ffffff;
	border-radius: 6px;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 4px 14px rgba(24, 148, 77, 0.25);
}

.sol-card-btn-link:hover {
	background-color: #11664c;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(24, 148, 77, 0.38);
}


/* ==========================================================================
   SECTION 2: THE OPPORTUNITY (DARK FOREST GREEN #061D10)
   ========================================================================== */
.sol-sec-opportunity {
	background-color: #061d10;
	padding: 90px 0;
}

.sol-opp-grid {
	display: flex;
	gap: 60px;
	align-items: center;
}

.sol-opp-left {
	flex: 0 0 46%;
	max-width: 520px;
}

/* Diagram Box Right (Dark Card Style) */
.sol-opp-right {
	flex: 1;
	background: #0d2817;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	padding: 38px 30px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
	text-align: center;
}

.sol-diagram-flow {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

.diagram-node-top {
	background: #ffffff;
	color: #061d10;
	padding: 12px 28px;
	border-radius: 6px;
	font-family: 'Outfit', sans-serif;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.5px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.diagram-node-platform {
	background: #18944d;
	color: #ffffff;
	padding: 12px 28px;
	border-radius: 6px;
	font-family: 'Outfit', sans-serif;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.5px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.diagram-node-apps {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #ffffff;
	padding: 12px 28px;
	border-radius: 6px;
	font-family: 'Outfit', sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.5px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.diagram-arrow-down {
	color: #4ade80;
	display: flex;
	align-items: center;
	justify-content: center;
}

.diagram-branches-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	width: 100%;
}

.diagram-branch-card {
	background: #11321e;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	padding: 18px 12px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	font-family: 'Outfit', sans-serif;
	font-size: 12.5px;
	font-weight: 800;
	color: #ffffff;
	text-align: center;
	transition: border-color 0.25s ease, transform 0.25s ease;
}

.diagram-branch-card:hover {
	border-color: #4ade80;
	transform: translateY(-2px);
}

.diagram-branch-card svg {
	color: #4ade80;
}

.diagram-node-value {
	background: #4ade80;
	border: none;
	color: #061d10;
	padding: 13px 32px;
	border-radius: 6px;
	font-family: 'Outfit', sans-serif;
	font-size: 14.5px;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	box-shadow: 0 6px 18px rgba(74, 222, 128, 0.3);
}


/* ==========================================================================
   SECTION 3: OUR APPROACH (WHITE BACKGROUND)
   ========================================================================== */
.sol-sec-approach {
	background-color: #ffffff;
	padding: 90px 0;
	border-top: 1px solid #e0eae2;
}

.sol-approach-grid {
	display: flex;
	gap: 60px;
	align-items: flex-start;
}

.sol-approach-left {
	flex: 0 0 40%;
	max-width: 440px;
}

.sol-approach-right {
	flex: 1;
}

/* 5 Horizontal Process Steps */
.sol-process-spine {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
}

.process-step-node {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	flex: 1;
	position: relative;
}

.process-step-num {
	font-family: 'Outfit', sans-serif;
	font-size: 12px;
	font-weight: 800;
	color: #18944d;
	margin-bottom: 8px;
}

.process-step-circle {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: #eef5ef;
	border: 2px solid #18944d;
	color: #061d10;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
	transition: all 0.3s ease;
}

.process-step-node:hover .process-step-circle {
	background: #18944d;
	color: #ffffff;
	transform: scale(1.08);
}

.process-step-title {
	font-family: 'Outfit', sans-serif;
	font-size: 13.5px;
	font-weight: 800;
	color: #111a13;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 4px;
}

.process-step-text {
	font-family: 'Inter', sans-serif;
	font-size: 12.5px;
	color: #525a54;
	line-height: 1.4;
}

.process-step-arrow {
	color: #18944d;
	font-size: 20px;
	flex-shrink: 0;
	margin-top: -24px;
}


/* ==========================================================================
   SECTION 4: WHO WE WORK WITH (DARK FOREST GREEN #061D10)
   ========================================================================== */
.sol-sec-work-with {
	background-color: #061d10;
	padding: 90px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sol-work-grid-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.work-card-item {
	background: #0d2817;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	padding: 28px 22px;
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.work-card-item:hover {
	transform: translateY(-5px);
	border-color: #18944d;
	box-shadow: 0 14px 35px rgba(0, 0, 0, 0.3);
}

.work-card-icon {
	width: 46px;
	height: 46px;
	border-radius: 8px;
	background: rgba(24, 148, 77, 0.2);
	color: #4ade80;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
}

.work-card-h4 {
	font-family: 'Outfit', sans-serif;
	font-size: 15px;
	font-weight: 800;
	color: #ffffff;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	margin: 0 0 10px 0;
}

.work-card-p {
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	line-height: 1.55;
	color: #a3b8a8;
	margin: 0;
}


/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {

	.sol-opp-grid,
	.sol-approach-grid {
		flex-direction: column;
		gap: 40px;
	}

	.sol-opp-left,
	.sol-approach-left {
		max-width: 100%;
		flex: none;
	}

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

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

	.sol-process-spine {
		flex-wrap: wrap;
		gap: 20px;
		justify-content: center;
	}

	.process-step-arrow {
		display: none;
	}
}

@media (max-width: 640px) {

	.sol-cards-grid-6,
	.sol-work-grid-4 {
		grid-template-columns: 1fr;
	}

	.diagram-branches-3 {
		grid-template-columns: 1fr;
	}

	.sol-sec-solutions,
	.sol-sec-opportunity,
	.sol-sec-approach,
	.sol-sec-work-with {
		padding: 55px 0;
	}
}