/*
 * RomaniaHUB – Servicii de promovare ([romaniahub_promovare]).
 * Aceleași reguli ca restul site-ului: colțuri 20px la carduri, 12px la butoane,
 * 24px între carduri și în interiorul lor, 72px între secțiuni.
 */

.rh-pr {
	--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-pr *,
.rh-pr *::before,
.rh-pr *::after {
	box-sizing: border-box;
}

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

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

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

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

.rh-pr-wrap > section {
	margin-top: 72px;
}

.rh-pr-wrap > section:first-child {
	margin-top: 56px;
}

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

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

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

.rh-pr .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;
}

.rh-pr .rh-fs-lead {
	max-width: 640px;
}

/* ---------- Comun ---------- */

.rh-pr 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-pr-head {
	max-width: 760px;
	margin-bottom: 28px;
}

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

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

.rh-pr-note {
	margin: 20px 0 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--rh-muted);
}

.rh-pr-note a {
	color: var(--rh-accent-ink) !important;
	font-weight: 700;
}

/* Butoane */
.rh-pr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 22px;
	border: 0;
	border-radius: 12px;
	background: linear-gradient(90deg, #6c1cff, #4b2dff);
	color: #fff !important;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none !important;
	box-shadow: 0 10px 24px rgba(108, 28, 255, .25);
	transition: transform .15s ease, box-shadow .15s ease;
}

.rh-pr-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 30px rgba(108, 28, 255, .32);
}

.rh-pr-btn--ghost,
.rh-pr-btn--soft {
	background: #efe8ff;
	color: var(--rh-accent-ink) !important;
	box-shadow: none;
}

.rh-pr-btn--ghost:hover,
.rh-pr-btn--soft:hover {
	background: #e6dbff;
	box-shadow: none;
}

.rh-pr-btn--white {
	background: #fff;
	color: var(--rh-accent-ink) !important;
	box-shadow: 0 10px 24px rgba(18, 12, 38, .25);
}

/* ---------- Advertoriale (textul de prezentare) ---------- */

.rh-pr-intro {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: start;
	gap: 56px;
}

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

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

.rh-pr-intro__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
}

.rh-pr-benefits {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.rh-pr-benefit {
	display: flex;
	align-items: flex-start;
	gap: 18px;
}

.rh-pr-benefit__icon {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: linear-gradient(140deg, #6c1cff, #3b6cff);
	color: #fff;
}

.rh-pr .rh-pr-benefit h3 {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.25;
	color: var(--rh-ink);
}

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

/* ---------- Prețuri ---------- */

.rh-pr-plans__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: start;
	gap: 24px;
}

.rh-pr-plan {
	position: relative;
	display: flex;
	flex-direction: column;
}

.rh-pr .rh-pr-plan h3 {
	margin: 0 0 6px;
	font-size: 20px;
	font-weight: 800;
	color: var(--rh-ink);
}

.rh-pr-plan__text {
	min-height: 44px;
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--rh-muted);
}

.rh-pr-plan__price {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-bottom: 20px;
}

.rh-pr-plan__price b {
	font-size: 44px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -1.5px;
	color: var(--rh-ink);
}

.rh-pr-plan__price span {
	font-size: 14px;
	font-weight: 700;
	color: var(--rh-muted);
}

.rh-pr-plan .rh-pr-btn {
	width: 100%;
}

.rh-pr-plan__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 24px 0 0 !important;
	padding: 24px 0 0 !important;
	border-top: 1px solid #f0edf6;
	list-style: none !important;
}

.rh-pr-plan__list li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 !important;
	font-size: 14px;
	line-height: 1.4;
	color: var(--rh-ink);
	list-style: none !important;
}

.rh-pr-plan__list li span {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #e6f9ee;
	color: #18a058;
}

.rh-pr-plan__list li.is-off {
	color: #a49fbb;
	text-decoration: line-through;
	text-decoration-color: rgba(164, 159, 187, .5);
}

.rh-pr-plan__list li.is-off span {
	background: #f0edf6;
	color: #a49fbb;
}

/* Premium: cardul evidențiat */
.rh-pr-plan--popular {
	border: 0;
	background:
		radial-gradient(circle at 90% 0%, rgba(169, 139, 255, .45) 0, rgba(169, 139, 255, 0) 50%),
		linear-gradient(160deg, #3d0aa3 0%, #1d0f4a 100%);
	box-shadow: 0 20px 44px rgba(61, 10, 163, .3);
}

.rh-pr .rh-pr-plan--popular h3,
.rh-pr-plan--popular .rh-pr-plan__price b {
	color: #fff;
}

.rh-pr-plan--popular .rh-pr-plan__text,
.rh-pr-plan--popular .rh-pr-plan__price span {
	color: #ddd5f7;
}

.rh-pr-plan--popular .rh-pr-btn {
	background: #fff;
	color: var(--rh-accent-ink) !important;
	box-shadow: 0 10px 24px rgba(18, 12, 38, .25);
}

.rh-pr-plan--popular .rh-pr-plan__list {
	border-top-color: rgba(255, 255, 255, .14);
}

.rh-pr-plan--popular .rh-pr-plan__list li {
	color: #fff;
}

.rh-pr-plan--popular .rh-pr-plan__list li span {
	background: rgba(168, 240, 198, .18);
	color: #a8f0c6;
}

.rh-pr-plan__badge {
	position: absolute;
	top: 24px;
	right: 24px;
	padding: 5px 12px;
	border-radius: 999px;
	background: #3ccf7e;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .4px;
	text-transform: uppercase;
}

/* ---------- Pachete de comunicare (tabel) ---------- */

.rh-pr-table {
	padding: 8px 24px;
}

.rh-pr-table__row {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr 1fr 120px;
	align-items: center;
	gap: 16px;
	padding: 18px 0;
	border-bottom: 1px solid #f0edf6;
}

.rh-pr-table__row:last-child {
	border-bottom: 0;
}

.rh-pr-table__row--head span {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 15px;
	font-weight: 800;
	color: var(--rh-ink);
}

.rh-pr-table__row--head small {
	font-size: 13px;
	font-weight: 600;
	color: var(--rh-muted);
}

.rh-pr-table__qty {
	font-size: 14px;
	color: var(--rh-muted);
}

.rh-pr-table__qty b {
	display: block;
	font-size: 20px;
	font-weight: 800;
	color: var(--rh-ink);
}

.rh-pr-table__price {
	font-size: 13px;
	font-weight: 600;
	color: var(--rh-muted);
}

.rh-pr-table__price b {
	margin-right: 4px;
	font-size: 20px;
	font-weight: 800;
	color: var(--rh-ink);
}

.rh-pr-table__off em {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 999px;
	background: #e6f9ee;
	color: #18a058;
	font-size: 14px;
	font-style: normal;
	font-weight: 800;
}

/* ---------- Banda de jos ---------- */

.rh-pr-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 40px 48px;
	border-radius: 20px;
	background:
		radial-gradient(circle at 90% 0%, rgba(169, 139, 255, .45) 0, rgba(169, 139, 255, 0) 45%),
		linear-gradient(120deg, #3d0aa3 0%, #6c1cff 100%);
	color: #fff;
}

.rh-pr .rh-pr-cta h2 {
	margin: 0 0 8px;
	color: #fff;
}

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

.rh-pr-cta__actions {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.rh-pr-cta__mail {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #fff !important;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
}

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

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

	.rh-pr-plans__grid {
		grid-template-columns: minmax(0, 1fr);
		max-width: 560px;
	}

	.rh-pr-plan__text {
		min-height: 0;
	}

	/* Tabelul devine câte un card pe rând */
	.rh-pr-table__row--head {
		display: none;
	}

	.rh-pr-table__row {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.rh-pr-table__qty {
		grid-column: 1 / 3;
	}

	.rh-pr-table__off {
		grid-column: 3;
		grid-row: 1;
		justify-self: end;
	}

	.rh-pr-table__price::before {
		content: attr(data-label);
		display: block;
		margin-bottom: 2px;
		font-size: 12px;
		font-weight: 800;
		letter-spacing: .4px;
		text-transform: uppercase;
		color: var(--rh-accent-ink);
	}

	.rh-pr-table__price b {
		display: block;
		margin: 0;
	}

	.rh-pr-cta {
		flex-direction: column;
		align-items: flex-start;
	}

	.rh-pr-cta__actions {
		align-items: flex-start;
	}
}

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

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

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

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

	.rh-pr-wrap > section,
	.rh-pr-wrap > section:first-child {
		margin-top: 48px;
	}

	.rh-pr-wrap > section:first-child {
		margin-top: 32px;
	}

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

	.rh-pr-benefits {
		gap: 12px;
	}

	.rh-pr-benefit {
		flex-direction: column;
		gap: 14px;
	}

	.rh-pr-plans__grid {
		gap: 12px;
	}

	.rh-pr-table {
		padding: 4px 16px;
	}

	.rh-pr-table__row {
		gap: 12px 8px;
	}

	.rh-pr-table__price b {
		font-size: 18px;
	}

	.rh-pr-cta {
		padding: 28px 20px;
	}

	.rh-pr-intro__actions .rh-pr-btn,
	.rh-pr-cta__actions,
	.rh-pr-cta__actions .rh-pr-btn {
		width: 100%;
	}

	.rh-pr-cta__actions {
		align-items: stretch;
	}

	.rh-pr-cta__mail {
		justify-content: center;
	}
}
