/* BBP Stat widget — the full Trust Stats section: a stat-card grid beside
   a heading/paragraph/photo/buttons content block. */

.elementor-widget-bbp-stat {
	width: 100%;
	flex: 0 0 100%;
}

.bbp-stat-section {
	display: flex;
	align-items: flex-start;
	gap: 60px;
	width: 100%;
}

/* Stat card grid
   ------------------------------------------------------------------ */
.bbp-stat-grid {
	flex: 0 0 44%;
	display: grid;
	grid-template-columns: repeat(var(--bbp-stat-cols, 2), 1fr);
	gap: 24px;
}

.bbp-stat-card {
	position: relative;
	box-sizing: border-box;
	background-color: var(--bbp-bg-card);
	border: 1px solid var(--bbp-border-card);
	border-radius: 20px;
	padding: 48px 32px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.bbp-stat-glow {
	position: absolute;
	right: -20%;
	bottom: -25%;
	width: 65%;
	height: 65%;
	background: radial-gradient(circle, rgba(201, 162, 39, 0.55) 0%, rgba(201, 162, 39, 0) 70%);
	filter: blur(30px);
	pointer-events: none;
	z-index: 0;
}

.bbp-stat-icon {
	position: relative;
	z-index: 1;
	width: 62px;
	height: 62px;
	background-color: #060606;
	border: 1px solid #161616;
	border-radius: 11px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
}

.bbp-stat-icon img {
	width: 34px;
	height: 34px;
}

.bbp-stat-number {
	position: relative;
	z-index: 1;
	font-family: 'Lato', var(--bbp-font-family);
	font-weight: 900;
	font-size: 48px;
	line-height: 1;
	color: var(--bbp-text-white);
	transition: all 0.3s;
}

.bbp-stat-card:hover .bbp-stat-number {
	color: var(--bbp-gold);
}

.bbp-stat-label {
	position: relative;
	z-index: 1;
	font-family: 'Lato', var(--bbp-font-family);
	font-weight: 400;
	font-size: 16px;
	color: var(--bbp-text-muted);
	margin-top: 8px;
}

/* Content column
   ------------------------------------------------------------------ */
.bbp-stat-content {
	flex: 1;
	min-width: 0;
}

.bbp-stat-heading {
	font-family: var(--bbp-heading-font);
	font-weight: 400;
	font-size: 44px;
	line-height: 1.1;
	color: var(--bbp-text-white);
	text-transform: uppercase;
	margin: 0 0 20px;
}

.bbp-stat-heading .bbp-text-gold {
	color: var(--bbp-gold);
}

.bbp-stat-paragraph p {
	color: rgba(255, 255, 255, 0.9);
	font-family: var(--bbp-font-family);
	font-size: 18px;
	line-height: 1.6;
	max-width: 480px;
	margin: 0 0 28px;
}

.bbp-stat-photo {
	position: relative;
	width: 100%;
	aspect-ratio: 1674 / 1497;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	margin-top: -100px;
}

.bbp-stat-buttons {
	position: absolute;
	left: 40px;
	bottom: 100px;
	display: flex;
	gap: 10px;
	z-index: 2;
}

.bbp-stat-buttons--inline {
	position: static;
	margin-top: 8px;
}

/* Responsive
   ------------------------------------------------------------------ */
@media (max-width: 900px) {
	.bbp-stat-section {
		flex-direction: column;
	}

	.bbp-stat-grid {
		flex-basis: auto;
		width: 100%;
		grid-template-columns: repeat(2, 1fr);
	}

	.bbp-stat-heading {
		font-size: 32px;
	}
}

@media (max-width: 480px) {
	.bbp-stat-section {
		gap: 32px;
	}

	.bbp-stat-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.bbp-stat-card {
		padding: 24px;
	}

	.bbp-stat-number {
		font-size: 36px;
	}

	.bbp-stat-buttons {
		left: 7px;
		bottom: 70px;
		flex-wrap: wrap;
	}
}
