/* ==========================================================================
   CCSOL Redesign — Trusted Growth Framework homepage section (v1.4.0)
   Matches mockup 4: dark navy section, connected-phase visual
   (numbered circles joined by a line with chevrons), three phase cards,
   trust bar. All rules are scoped to .ccsol-fw-* so nothing leaks onto
   other pages, and the classes are FRESH — the old
   `ccsol-framework-premium` class is deliberately NOT used (conflicting
   Site Fixes hide/show CSS targets it).

   The section is printed inside a <template> in the footer (front page
   only) and moved into place after section.ccsol-brand-promise by
   assets/js/framework.js. It becomes the 7th child of <main>, so the
   homepage rule body.home main>:nth-child(5){display:none!important}
   (which hides HOW WE WORK) keeps targeting the right section.
   ========================================================================== */

/* --- Section --- */
.ccsol-fw {
	display: block;
	background:
		radial-gradient(900px 420px at 50% -80px, rgba(30, 144, 255, .18), transparent 62%),
		radial-gradient(700px 380px at 8% 90%, rgba(30, 144, 255, .10), transparent 60%),
		radial-gradient(700px 380px at 92% 90%, rgba(0, 174, 239, .08), transparent 60%),
		linear-gradient(180deg, #071224 0%, #060d1a 55%, #050b16 100%);
	color: #c3d0e8;
	font-family: inherit;
	overflow-x: clip;
	padding: 76px 0 72px;
}

.ccsol-fw-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
}

/* --- Heading --- */
.ccsol-fw-head {
	text-align: center;
	margin-bottom: 44px;
}

.ccsol-fw-eyebrow {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	color: #4da3ff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .22em;
	text-transform: uppercase;
	margin-bottom: 16px;
}

.ccsol-fw-eyebrow::before,
.ccsol-fw-eyebrow::after {
	content: "";
	height: 1px;
	width: 72px;
	background: linear-gradient(90deg, transparent, rgba(77, 163, 255, .75));
}

.ccsol-fw-eyebrow::after {
	background: linear-gradient(90deg, rgba(77, 163, 255, .75), transparent);
}

.ccsol-fw-title {
	color: #fff;
	font-size: 40px;
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: -.01em;
	margin: 0 auto 14px;
	max-width: 840px;
}

.ccsol-fw-sub {
	font-size: 17px;
	line-height: 1.65;
	margin: 0 auto;
	max-width: 640px;
}

/* --- Connected-phase visual --- */
.ccsol-fw-flow {
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	max-width: 920px;
	margin: 0 auto 40px;
}

/* The horizontal line joining the circles (behind them). */
.ccsol-fw-flow::before {
	content: "";
	position: absolute;
	left: 12%;
	right: 12%;
	top: 48px;
	height: 2px;
	background: linear-gradient(90deg, rgba(77, 163, 255, .15), rgba(77, 163, 255, .7) 25%, rgba(77, 163, 255, .7) 75%, rgba(77, 163, 255, .15));
	box-shadow: 0 0 12px rgba(77, 163, 255, .45);
}

.ccsol-fw-node {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 0 0 auto;
	width: 150px;
	text-align: center;
}

.ccsol-fw-node-ico {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	color: #7cc4ff;
	background: radial-gradient(circle at 35% 30%, #123a6b 0%, #081a36 68%);
	border: 1.5px solid rgba(77, 163, 255, .65);
	box-shadow: 0 0 24px rgba(30, 144, 255, .35), inset 0 0 18px rgba(30, 144, 255, .18);
	margin-bottom: 14px;
}

.ccsol-fw-node-num {
	display: inline-block;
	color: #4da3ff;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .12em;
	border: 1px solid rgba(77, 163, 255, .55);
	border-radius: 6px;
	padding: 3px 10px;
	margin-bottom: 8px;
	background: rgba(7, 18, 36, .8);
}

.ccsol-fw-node-label {
	color: #4da3ff;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .2em;
	text-transform: uppercase;
}

.ccsol-fw-chevron {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 96px;
	color: #4da3ff;
	opacity: .9;
	flex: 0 0 auto;
}

/* --- Phase cards --- */
.ccsol-fw-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.ccsol-fw-card {
	position: relative;
	background: linear-gradient(180deg, #0c1f3d 0%, #081426 100%);
	border: 1px solid rgba(77, 163, 255, .28);
	border-radius: 18px;
	padding: 34px 26px 30px;
	text-align: center;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .35), 0 0 0 1px rgba(77, 163, 255, .04);
	overflow: hidden;
}

/* Soft glow at the bottom edge, like the mockup cards. */
.ccsol-fw-card::after {
	content: "";
	position: absolute;
	left: 20%;
	right: 20%;
	bottom: -1px;
	height: 2px;
	background: linear-gradient(90deg, transparent, rgba(77, 163, 255, .8), transparent);
	box-shadow: 0 0 14px rgba(77, 163, 255, .6);
}

.ccsol-fw-card-ico {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 74px;
	height: 74px;
	margin: 0 auto 18px;
	border-radius: 50%;
	color: #7cc4ff;
	background: radial-gradient(circle at 35% 30%, #123a6b 0%, #081a36 68%);
	border: 1.5px solid rgba(77, 163, 255, .55);
	box-shadow: 0 0 20px rgba(30, 144, 255, .3), inset 0 0 14px rgba(30, 144, 255, .16);
}

.ccsol-fw-card-phase {
	color: #4da3ff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .18em;
	margin: 0 0 10px;
}

.ccsol-fw-card-title {
	color: #fff;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.3;
	margin: 0 0 12px;
}

.ccsol-fw-card-desc {
	font-size: 15px;
	line-height: 1.65;
	margin: 0 0 20px;
}

/* Divider with a centre glow, like the mockup. */
.ccsol-fw-card-desc::after {
	content: "";
	display: block;
	width: 56px;
	height: 2px;
	margin: 20px auto 0;
	background: linear-gradient(90deg, transparent, #35b6e8, transparent);
	box-shadow: 0 0 10px rgba(53, 182, 232, .7);
}

.ccsol-fw-checks {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: left;
}

.ccsol-fw-checks li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: #e6eefc;
	font-size: 15px;
	line-height: 1.5;
	padding-top: 7px;
	padding-bottom: 7px;
}

.ccsol-fw-check-ico {
	flex: 0 0 auto;
	color: #35b6e8;
	margin-top: 1px;
}

/* v1.0.2 clipping lesson: card text lost the leftmost 1-3px of first
   glyphs at the content-box edge on /updates/. Inset framework card
   text 3px from the start so first glyphs clear the edge. */
.ccsol-fw-card-title,
.ccsol-fw-card-desc,
.ccsol-fw-checks li {
	padding-left: 3px;
}

/* --- Trust bar --- */
.ccsol-fw-trust {
	display: flex;
	align-items: center;
	gap: 36px;
	flex-wrap: wrap;
	margin-top: 36px;
	background: rgba(10, 34, 68, .55);
	border: 1px solid rgba(77, 163, 255, .25);
	border-radius: 16px;
	padding: 22px 30px;
}

.ccsol-fw-trust-label {
	display: flex;
	align-items: center;
	gap: 16px;
	flex: 0 0 auto;
}

.ccsol-fw-trust-shield {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #4da3ff;
	filter: drop-shadow(0 0 8px rgba(0, 174, 239, .55));
}

.ccsol-fw-trust-text {
	display: flex;
	flex-direction: column;
	line-height: 1.4;
}

.ccsol-fw-trust-text strong {
	color: #fff;
	font-size: 16px;
	font-weight: 800;
}

.ccsol-fw-trust-text span {
	color: #9fb2d8;
	font-size: 14px;
}

.ccsol-fw-trust-items {
	list-style: none;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0;
	margin: 0 0 0 auto;
	padding: 0;
}

.ccsol-fw-trust-items li {
	display: flex;
	align-items: center;
	gap: 9px;
	color: #e6eefc;
	font-size: 15px;
	font-weight: 600;
	padding: 6px 22px;
	border-left: 1px solid rgba(77, 163, 255, .22);
}

.ccsol-fw-trust-items li:first-child {
	border-left: none;
}

.ccsol-fw-trust-ico {
	display: flex;
	color: #4da3ff;
}

/* --- Responsive --- */
@media (max-width: 920px) {
	.ccsol-fw-grid {
		grid-template-columns: minmax(0, 1fr);
		max-width: 560px;
		margin-left: auto;
		margin-right: auto;
	}

	.ccsol-fw-trust {
		flex-direction: column;
		align-items: flex-start;
		gap: 18px;
	}

	.ccsol-fw-trust-items {
		margin-left: 0;
	}

	.ccsol-fw-trust-items li {
		padding-left: 0;
		border-left: none;
		padding-right: 18px;
	}
}

@media (max-width: 640px) {
	.ccsol-fw {
		padding: 56px 0 52px;
	}

	.ccsol-fw-title {
		font-size: 29px;
	}

	.ccsol-fw-sub {
		font-size: 16px;
	}

	.ccsol-fw-eyebrow::before,
	.ccsol-fw-eyebrow::after {
		width: 36px;
	}

	.ccsol-fw-flow {
		margin-bottom: 32px;
	}

	.ccsol-fw-flow::before {
		top: 32px;
	}

	.ccsol-fw-node {
		width: 92px;
	}

	.ccsol-fw-node-ico {
		width: 64px;
		height: 64px;
		margin-bottom: 10px;
	}

	.ccsol-fw-node-ico svg {
		width: 26px;
		height: 26px;
	}

	.ccsol-fw-chevron {
		height: 64px;
	}

	.ccsol-fw-node-label {
		font-size: 11px;
		letter-spacing: .12em;
	}

	.ccsol-fw-trust-items li {
		padding-top: 4px;
		padding-bottom: 4px;
	}
}
