/*
 * RomaniaHUB – pagina Despre RomaniaHUB ([romaniahub_despre]) și banda [romaniahub_partener].
 */

.rh-ab {
	--rh-accent: #6c1cff;
	--rh-accent-ink: #5612d6;
	--rh-ink: #16141f;
	--rh-muted: #5b5870;
	--rh-dark: #120c26;
	padding-bottom: 56px;
	background: #f4f2f9;
	color: var(--rh-ink);
}

.rh-ab *,
.rh-ab *::before,
.rh-ab *::after {
	box-sizing: border-box;
}

.rh-ab--band-only {
	padding: 0;
	background: none;
}

/* Widgetul Elementor în care stă shortcode-ul: fără margini în jur */
.elementor-widget-wrap:has(> .elementor-widget .rh-ab),
.e-con:has(> .elementor-widget .rh-ab) {
	padding: 0 !important;
}

.elementor-widget:has(.rh-ab) {
	margin-bottom: 0 !important;
}

.elementor-section:has(.rh-ab:not(.rh-ab--band-only)) > .elementor-container,
.e-con:has(> .elementor-widget .rh-ab:not(.rh-ab--band-only)) {
	max-width: none !important;
}

.rh-ab-wrap {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 10px;
}

.rh-ab--band-only .rh-ab-wrap {
	padding: 0;
}

/* ---------- Hero ---------- */

.rh-ab .rh-fs-hero--short.rh-ab-hero {
	padding: 30px 0 40px;
}

.rh-ab-hero .rh-fs-wrap {
	max-width: 1440px;
	padding: 0 10px;
}

.rh-ab .rh-fs-hero .rh-fs-title {
	margin: 0;
	font-size: clamp(30px, 3vw, 44px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -1px;
	color: #fff;
}

/* ---------- Titlurile secțiunilor ---------- */

.rh-ab-kicker {
	display: inline-block;
	margin-bottom: 10px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .6px;
	text-transform: uppercase;
	color: var(--rh-accent-ink);
}

.rh-ab h2 {
	margin: 0 0 14px;
	font-size: clamp(26px, 2.4vw, 36px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -.8px;
	color: var(--rh-ink);
}

.rh-ab-head {
	max-width: 760px;
	margin-bottom: 28px;
}

.rh-ab-head p {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--rh-muted);
}

.rh-ab section + section {
	margin-top: 72px;
}

/* ---------- De ce RomaniaHUB ---------- */

.rh-ab-intro {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	align-items: center;
	gap: 56px;
	padding-top: 56px;
}

.rh-ab-intro__text p {
	margin: 0 0 14px;
	font-size: 16px;
	line-height: 1.7;
	color: var(--rh-muted);
}

.rh-ab-intro__text .rh-ab-lead {
	margin-bottom: 18px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.6;
	color: var(--rh-ink);
}

.rh-ab-intro__media {
	position: relative;
	align-self: stretch;
	min-height: 420px;
}

.rh-ab .rh-ab-intro__media img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	border-radius: 20px;
	box-shadow: 0 20px 44px rgba(18, 12, 38, .16);
}

.rh-ab-since {
	position: absolute;
	left: -24px;
	bottom: 28px;
	display: flex;
	align-items: center;
	gap: 14px;
	max-width: 280px;
	padding: 16px 24px;
	border-radius: 20px;
	background: var(--rh-dark);
	color: #fff;
	box-shadow: 0 16px 34px rgba(18, 12, 38, .3);
}

.rh-ab-since b {
	font-size: 34px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -1px;
	background: linear-gradient(90deg, #a98bff, #6f9bff);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.rh-ab-since span {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	color: #d6d1ea;
}

/* ---------- Valorile ---------- */

.rh-ab-values__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.rh-ab-value {
	position: relative;
	padding: 24px;
	border: 1px solid #ebe8f3;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 6px 20px rgba(18, 12, 38, .05);
}

.rh-ab-value__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 18px;
	border-radius: 12px;
	background: linear-gradient(140deg, #6c1cff, #3b6cff);
	color: #fff;
}

.rh-ab-value__num {
	position: absolute;
	top: 22px;
	right: 24px;
	font-size: 15px;
	font-weight: 800;
	color: #d8d1ee;
}

.rh-ab .rh-ab-value h3 {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 800;
	color: var(--rh-ink);
}

.rh-ab-value p {
	margin: 0;
	font-size: 14px;
	line-height: 1.65;
	color: var(--rh-muted);
}

/* ---------- Ce găsești pe RomaniaHUB ---------- */

.rh-ab-what__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.rh-ab-what__card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 24px;
	overflow: hidden;
	border-radius: 20px;
	background: var(--rh-dark);
	color: #fff !important;
	text-decoration: none !important;
	transition: transform .2s ease, box-shadow .2s ease;
}

.rh-ab-what__card::before {
	content: "";
	position: absolute;
	top: -90px;
	right: -90px;
	width: 220px;
	height: 220px;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 50%;
	pointer-events: none;
}

.rh-ab-what__card:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 36px rgba(18, 12, 38, .22);
}

.rh-ab-what__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-bottom: 18px;
	border-radius: 12px;
	background: rgba(169, 139, 255, .18);
	color: #c9b8ff;
}

.rh-ab-what__count {
	margin-bottom: 4px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .3px;
	color: #a98bff;
}

.rh-ab .rh-ab-what__card h3 {
	margin: 0 0 6px;
	font-size: 20px;
	font-weight: 800;
	color: #fff;
}

.rh-ab-what__card p {
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 1.55;
	color: #cfc8e6;
}

.rh-ab-what__go {
	margin-top: auto;
	font-size: 14px;
	font-weight: 800;
	color: #fff;
}

/* ---------- Banda cu poză „Ai o firmă?” ---------- */

.rh-ab .rh-band {
	margin-top: 72px;
}

.rh-ab--band-only .rh-band {
	margin-top: 0;
}

.rh-band {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 440px;
	padding: 48px 32px;
	overflow: hidden;
	border-radius: 20px;
	background-color: #120c26;
	/* Poza se vede ca în banda de acum de pe prima pagină: doar un strat negru de 50% peste ea */
	background-image:
		linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)),
		var(--rh-band-img, none);
	background-size: cover;
	background-position: center bottom;
	color: #fff;
	text-align: center;
}

.rh-band__inner {
	max-width: 860px;
}

.rh-band p {
	max-width: 680px;
	margin-left: auto !important;
	margin-right: auto !important;
}

.rh-band h2 {
	margin: 0 0 12px;
	font-size: clamp(26px, 2.4vw, 36px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -.8px;
	color: #fff !important;
}

.rh-band p {
	margin: 0 0 24px;
	font-size: 16px;
	line-height: 1.6;
	color: #e3dbff;
}

.rh-band__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 22px;
	border-radius: 12px;
	background: #fff;
	color: #5612d6 !important;
	font-size: 15px;
	font-weight: 800;
	text-decoration: none !important;
	box-shadow: 0 10px 24px rgba(18, 12, 38, .25);
	transition: transform .15s ease;
}

.rh-band__btn:hover {
	transform: translateY(-2px);
}

/* ---------- Tabletă ---------- */

@media (max-width: 1100px) {
	.rh-ab-intro {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.rh-ab-intro__media {
		min-height: 360px;
	}

	.rh-ab-since {
		left: 16px;
	}

	.rh-ab-values__grid,
	.rh-ab-what__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ---------- Telefon ---------- */

@media (max-width: 767px) {
	.rh-ab {
		padding-bottom: 40px;
	}

	.rh-ab .rh-fs-hero--short.rh-ab-hero {
		padding: 20px 0 28px;
	}

	.rh-ab .rh-fs-hero .rh-fs-title {
		font-size: 30px;
	}

	.rh-ab section + section,
	.rh-ab .rh-band {
		margin-top: 48px;
	}

	.rh-ab-intro {
		padding-top: 32px;
	}

	.rh-ab-intro__text .rh-ab-lead {
		font-size: 16px;
	}

	.rh-ab-intro__text p {
		font-size: 15px;
	}

	.rh-ab-intro__media {
		min-height: 260px;
	}

	.rh-ab-since {
		left: 12px;
		bottom: 12px;
		padding: 12px 16px;
	}

	.rh-ab-since b {
		font-size: 28px;
	}

	.rh-ab-values__grid,
	.rh-ab-what__grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.rh-band {
		min-height: 0;
		padding: 32px 20px;
		border-radius: 20px;
	}

	.rh-band p {
		font-size: 15px;
	}
}
