/* Reefed Mini Group Widgets 1.3.0 */
:root {
	--rmg-navy: #112f6b;
	--rmg-blue: #2e64cd;
	--rmg-orange: #ff6900;
	--rmg-orange-dark: #e95c00;
	--rmg-green: #3aa367;
	--rmg-text: #183465;
	--rmg-muted: #657496;
	--rmg-line: #e4eaf3;
	--rmg-soft-blue: #f1f6ff;
	--rmg-soft-orange: #fff7eb;
	--rmg-radius: 18px;
}

.rmg-block,
.rmg-block * {
	box-sizing: border-box;
}

.rmg-block {
	width: 100%;
	color: var(--rmg-text);
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.35;
}

.rmg-shell {
	width: min(100%, 1180px);
	margin-inline: auto;
	padding-inline: 28px;
}

.rmg-title {
	margin: 0;
	color: var(--rmg-navy);
	font-size: clamp(28px, 3.2vw, 42px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.035em;
}

.rmg-title--center {
	text-align: center;
}

.rmg-btn {
	display: inline-flex;
	min-height: 54px;
	align-items: center;
	justify-content: center;
	padding: 14px 30px;
	border: 0;
	border-radius: 10px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.1;
	text-decoration: none !important;
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.rmg-btn--primary {
	color: #fff !important;
	background: linear-gradient(180deg, #ff7a12 0%, var(--rmg-orange) 100%);
	box-shadow: 0 8px 20px rgba(255, 105, 0, .24);
}

.rmg-btn--primary:hover {
	color: #fff !important;
	background: linear-gradient(180deg, #ff871f 0%, var(--rmg-orange-dark) 100%);
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(255, 105, 0, .3);
}

.rmg-btn--outline {
	min-height: 48px;
	padding: 12px 28px;
	border: 2px solid #7ba0df;
	color: var(--rmg-blue) !important;
	background: transparent;
}

.rmg-btn--outline:hover {
	color: #fff !important;
	background: var(--rmg-blue);
}

/* Hero */
.rmg-hero {
	overflow: hidden;
	padding: 18px 0 38px;
}

.rmg-hero__inner {
	position: relative;
	display: grid;
	min-height: 600px;
	grid-template-columns: 49% 51%;
	align-items: stretch;
}

.rmg-hero__copy {
	position: relative;
	z-index: 3;
	padding: 4px 0 30px;
}

.rmg-badge {
	display: inline-flex;
	min-height: 47px;
	align-items: center;
	gap: 8px;
	padding: 9px 20px;
	border-radius: 999px;
	color: #fff;
	background: linear-gradient(90deg, #2f66ce, #356fd5);
	box-shadow: 0 6px 18px rgba(46, 100, 205, .2);
	font-size: 16px;
	font-weight: 700;
	white-space: nowrap;
}

.rmg-badge img {
	width: 21px;
	height: 21px;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

.rmg-badge img + img {
	width: 24px;
	height: 24px;
	margin-left: -4px;
}

.rmg-kicker {
	margin-top: 26px;
	color: var(--rmg-orange);
	font-size: 20px;
	font-weight: 800;
}

.rmg-hero__title {
	margin: 14px 0 0;
	color: var(--rmg-navy);
	font-size: clamp(46px, 5.7vw, 76px);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.045em;
}

.rmg-hero__title span {
	color: var(--rmg-blue);
}

.rmg-hero__title em {
	color: var(--rmg-orange);
	font-style: normal;
}

.rmg-hero__subtitle {
	margin-top: 24px;
	color: var(--rmg-navy);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.45;
}

.rmg-actions {
	display: flex;
	align-items: center;
	gap: 36px;
	margin-top: 22px;
}

.rmg-link {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: var(--rmg-blue) !important;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none !important;
}

.rmg-link span {
	font-size: 27px;
	font-weight: 400;
	line-height: 1;
}

.rmg-hero__visual {
	position: absolute;
	z-index: 1;
	top: -18px;
	right: -4vw;
	bottom: 0;
	width: 59%;
	overflow: hidden;
}

.rmg-hero__visual::before {
	content: "";
	position: absolute;
	z-index: 2;
	inset: 0;
	background:
		linear-gradient(90deg, #fff 0%, rgba(255,255,255,.94) 10%, rgba(255,255,255,.18) 34%, transparent 55%),
		linear-gradient(0deg, #fff 0%, rgba(255,255,255,.18) 16%, transparent 38%);
	pointer-events: none;
}

.rmg-hero__visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 25%;
}

/* Offer */
.rmg-offer {
	padding: 12px 0 18px;
}

.rmg-offer__grid {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.rmg-offer__card {
	display: flex;
	min-height: 126px;
	align-items: center;
	gap: 25px;
	padding: 20px 34px;
	border: 1px solid var(--rmg-line);
	border-radius: var(--rmg-radius);
}

.rmg-offer__card--blue {
	background: linear-gradient(100deg, #f0f5ff 0%, #f9fbff 100%);
}

.rmg-offer__card--orange {
	background: linear-gradient(100deg, #fffaf2 0%, #fff3df 100%);
}

.rmg-offer__card strong {
	display: block;
	color: var(--rmg-navy);
	font-size: clamp(30px, 3.3vw, 48px);
	font-weight: 800;
	line-height: 1.05;
}

.rmg-offer__card small {
	display: block;
	margin-top: 5px;
	color: var(--rmg-muted);
	font-size: 14px;
}

.rmg-icon-disc {
	display: inline-flex;
	width: 66px;
	height: 66px;
	flex: 0 0 66px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255,255,255,.85);
}

.rmg-icon-disc img {
	width: 42px;
	height: 42px;
	object-fit: contain;
}

.rmg-offer__or {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	display: inline-flex;
	width: 74px;
	height: 74px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--rmg-line);
	border-radius: 50%;
	color: var(--rmg-navy);
	background: #fff;
	font-size: 18px;
	font-weight: 700;
	transform: translate(-50%, -50%);
}

.rmg-offer__note {
	margin: 8px 0 0;
	color: var(--rmg-muted);
	font-size: 14px;
	text-align: center;
}

/* Facts */
.rmg-facts {
	padding: 0 0 28px;
}

.rmg-facts__row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border: 1px solid var(--rmg-line);
	border-radius: 16px;
	background: #fff;
}

.rmg-fact {
	display: flex;
	min-height: 82px;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 15px 24px;
	font-size: 18px;
	font-weight: 600;
}

.rmg-fact + .rmg-fact {
	border-left: 1px solid var(--rmg-line);
}

.rmg-fact img {
	width: 43px;
	height: 43px;
	object-fit: contain;
}

/* Benefits */
.rmg-benefits {
	padding: 28px 0 34px;
	border-top: 1px solid #eef1f6;
}

.rmg-benefits__grid {
	display: grid;
	margin-top: 24px;
	grid-template-columns: 1.4fr repeat(3, .72fr);
	gap: 12px;
}

.rmg-benefits__photo,
.rmg-benefit {
	min-height: 290px;
	overflow: hidden;
	border: 1px solid var(--rmg-line);
	border-radius: 18px;
	background: #fff;
}

.rmg-benefits__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rmg-benefit {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 26px 20px;
	text-align: center;
}

.rmg-benefit img {
	width: 56px;
	height: 56px;
	object-fit: contain;
}

.rmg-benefit h3 {
	margin: 22px 0 0;
	color: var(--rmg-navy);
	font-size: 20px;
	font-weight: 800;
	line-height: 1.15;
}

.rmg-benefit p {
	margin: 22px 0 0;
	color: var(--rmg-muted);
	font-size: 14px;
	line-height: 1.5;
}

/* Process */
.rmg-process {
	padding: 20px 0 44px;
}

.rmg-process__row {
	display: grid;
	margin-top: 26px;
	grid-template-columns: repeat(3, 1fr);
	gap: 60px;
}

.rmg-step {
	position: relative;
	text-align: center;
}

.rmg-step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 74px;
	left: calc(72% + 12px);
	width: 58%;
	border-top: 2px dashed #b9cef0;
}

.rmg-step__number {
	position: absolute;
	z-index: 2;
	top: 0;
	left: 24%;
	display: inline-flex;
	width: 37px;
	height: 37px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: #fff;
	background: var(--rmg-blue);
	box-shadow: 0 5px 12px rgba(46,100,205,.2);
	font-size: 18px;
	font-weight: 800;
}

.rmg-step__icon {
	display: inline-flex;
	width: 104px;
	height: 104px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--rmg-soft-orange);
}

.rmg-step__icon img {
	width: 60px;
	height: 60px;
	object-fit: contain;
}

.rmg-step h3 {
	max-width: 220px;
	margin: 16px auto 0;
	color: var(--rmg-navy);
	font-size: 19px;
	font-weight: 800;
	line-height: 1.25;
}

.rmg-step p {
	max-width: 230px;
	margin: 12px auto 0;
	color: var(--rmg-muted);
	font-size: 14px;
	line-height: 1.5;
}

/* About */
.rmg-about {
	padding: 20px 0 36px;
	border-top: 1px solid #eef1f6;
}

.rmg-about__grid {
	display: grid;
	grid-template-columns: .94fr 1.06fr;
	overflow: hidden;
	border: 1px solid var(--rmg-line);
	border-radius: 18px;
	background: #fff;
}

.rmg-about__photo {
	min-height: 420px;
}

.rmg-about__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rmg-about__copy {
	padding: 38px 42px;
}

.rmg-eyebrow {
	display: block;
	margin-bottom: 7px;
	color: var(--rmg-muted);
	font-size: 15px;
}

.rmg-about__description {
	margin: 18px 0 0;
	color: var(--rmg-muted);
	font-size: 17px;
	line-height: 1.55;
}

.rmg-about__copy ul {
	display: grid;
	gap: 13px;
	margin: 24px 0;
	padding: 0;
	list-style: none;
}

.rmg-about__copy li {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--rmg-muted);
	font-size: 15px;
}

.rmg-about__copy li img {
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
}

/* Invite */
.rmg-invite {
	padding: 22px 0 32px;
}

.rmg-invite__grid {
	display: grid;
	margin-top: 17px;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.rmg-invite figure {
	overflow: hidden;
	margin: 0;
	border: 1px solid var(--rmg-line);
	border-radius: 13px;
	background: #fff;
}

.rmg-invite figure img {
	display: block;
	width: 100%;
	aspect-ratio: 1.62 / 1;
	object-fit: cover;
}

.rmg-invite figcaption {
	padding: 12px 8px 13px;
	color: var(--rmg-navy);
	font-size: 16px;
	font-weight: 700;
	text-align: center;
}

.rmg-invite__note {
	max-width: 650px;
	margin: 18px 0 0;
	color: var(--rmg-muted);
	font-size: 15px;
	line-height: 1.55;
}

/* FAQ */
.rmg-faq {
	padding: 30px 0;
}

.rmg-faq__list {
	display: grid;
	gap: 8px;
	margin-top: 18px;
}

.rmg-faq__item {
	overflow: hidden;
	border: 1px solid var(--rmg-line);
	border-radius: 8px;
	background: rgba(255,255,255,.95);
}

.rmg-faq__question {
	display: flex;
	width: 100%;
	min-height: 52px;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 13px 17px;
	border: 0;
	color: var(--rmg-navy);
	background: transparent;
	font-size: 15px;
	font-weight: 700;
	text-align: left;
	cursor: pointer;
}

.rmg-faq__plus {
	color: var(--rmg-blue);
	font-size: 25px;
	font-weight: 400;
	line-height: 1;
	transition: transform .2s ease;
}

.rmg-faq__item.is-open .rmg-faq__plus {
	transform: rotate(45deg);
}

.rmg-faq__answer {
	padding: 0 17px 17px;
}

.rmg-faq__answer p {
	margin: 0;
	color: var(--rmg-muted);
	font-size: 15px;
	line-height: 1.55;
}

/* Lead form */
.rmg-lead {
	padding: 30px 0;
}

.rmg-lead__intro {
	max-width: 600px;
	margin: 10px 0 18px;
	color: var(--rmg-muted);
	font-size: 16px;
	line-height: 1.5;
}

.rmg-lead__form {
	display: grid;
	gap: 10px;
}

.rmg-lead__form label {
	display: block;
	margin: 0;
}

.rmg-lead__form label > span:not(.rmg-consent span) {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
}

.rmg-lead__form input[type="text"],
.rmg-lead__form input[type="tel"] {
	width: 100%;
	height: 52px;
	padding: 0 15px;
	border: 1px solid var(--rmg-line);
	border-radius: 5px;
	outline: 0;
	color: var(--rmg-navy);
	background: #fff;
	box-shadow: none;
	font-size: 15px;
}

.rmg-lead__form input:focus {
	border-color: var(--rmg-blue);
	box-shadow: 0 0 0 3px rgba(46,100,205,.12);
}

.rmg-consent {
	display: flex !important;
	align-items: center;
	gap: 9px;
	color: var(--rmg-muted);
	font-size: 12px;
}

.rmg-consent input {
	width: 17px;
	height: 17px;
	margin: 0;
}

.rmg-lead__form .rmg-btn {
	width: 100%;
	min-height: 52px;
	border-radius: 5px;
}

.rmg-lead__status {
	min-height: 18px;
	color: var(--rmg-muted);
	font-size: 13px;
}

.rmg-lead__status.is-success {
	color: #1d7f4e;
}

.rmg-lead__status.is-error {
	color: #b93434;
}

.rmg-phone-link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin-top: 4px;
	color: var(--rmg-blue) !important;
	font-size: 12px;
	text-decoration: none !important;
}

.rmg-phone-link img {
	width: 16px;
	height: 16px;
	object-fit: contain;
}

.rmg-hp {
	position: absolute !important;
	left: -9999px !important;
	opacity: 0 !important;
}

/* Footer */
.rmg-footer {
	padding: 18px 0 22px;
	border-top: 1px solid var(--rmg-line);
}

.rmg-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	color: var(--rmg-muted);
	font-size: 12px;
}

.rmg-footer nav {
	display: flex;
	gap: 28px;
}

.rmg-footer a {
	color: var(--rmg-blue) !important;
	text-decoration: none !important;
}

/* Elementor two-column pairing for FAQ + form */
.elementor-column .rmg-faq .rmg-shell,
.elementor-column .rmg-lead .rmg-shell {
	padding-inline: 0;
}

/* Responsive */
@media (max-width: 1024px) {
	.rmg-shell {
		padding-inline: 24px;
	}

	.rmg-hero__inner {
		min-height: 560px;
		grid-template-columns: 52% 48%;
	}

	.rmg-hero__visual {
		right: -8vw;
		width: 61%;
	}

	.rmg-hero__title {
		font-size: clamp(43px, 6.2vw, 64px);
	}

	.rmg-benefits__grid {
		grid-template-columns: 1.25fr repeat(3, .75fr);
	}

	.rmg-benefits__photo,
	.rmg-benefit {
		min-height: 250px;
	}

	.rmg-benefit {
		padding-inline: 14px;
	}
}

@media (max-width: 760px) {
	.rmg-shell {
		padding-inline: 16px;
	}

	.rmg-hero {
		padding-top: 12px;
	}

	.rmg-hero__inner {
		display: block;
		min-height: 0;
	}

	.rmg-hero__copy {
		padding-bottom: 0;
	}

	.rmg-badge {
		min-height: 42px;
		padding: 8px 14px;
		font-size: 13px;
	}

	.rmg-kicker {
		margin-top: 20px;
		font-size: 17px;
	}

	.rmg-hero__title {
		font-size: clamp(39px, 10vw, 56px);
	}

	.rmg-hero__subtitle {
		font-size: 20px;
	}

	.rmg-hero__visual {
		position: relative;
		top: auto;
		right: auto;
		bottom: auto;
		width: calc(100% + 32px);
		height: 340px;
		margin: 20px -16px -22px;
	}

	.rmg-hero__visual::before {
		background: linear-gradient(0deg,#fff 0%,rgba(255,255,255,.1) 17%,transparent 38%);
	}

	.rmg-actions {
		gap: 18px;
	}

	.rmg-offer__grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.rmg-offer__or {
		top: 50%;
		width: 58px;
		height: 58px;
	}

	.rmg-offer__card {
		min-height: 110px;
		padding: 18px 22px;
	}

	.rmg-facts__row {
		grid-template-columns: 1fr;
	}

	.rmg-fact {
		justify-content: flex-start;
	}

	.rmg-fact + .rmg-fact {
		border-top: 1px solid var(--rmg-line);
		border-left: 0;
	}

	.rmg-benefits__grid {
		grid-template-columns: 1fr;
	}

	.rmg-benefits__photo {
		min-height: 260px;
	}

	.rmg-benefit {
		min-height: 210px;
	}

	.rmg-process__row {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.rmg-step:not(:last-child)::after {
		display: none;
	}

	.rmg-step__number {
		left: calc(50% - 72px);
	}

	.rmg-about__grid {
		grid-template-columns: 1fr;
	}

	.rmg-about__photo {
		min-height: 330px;
	}

	.rmg-about__copy {
		padding: 28px 22px;
	}

	.rmg-invite__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.rmg-footer__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.rmg-footer nav {
		flex-direction: column;
		gap: 8px;
	}
}

@media (max-width: 440px) {
	.rmg-hero__title {
		font-size: 38px;
	}

	.rmg-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.rmg-link {
		justify-content: center;
	}

	.rmg-offer__card strong {
		font-size: 29px;
	}

	.rmg-icon-disc {
		width: 56px;
		height: 56px;
		flex-basis: 56px;
	}

	.rmg-icon-disc img {
		width: 35px;
		height: 35px;
	}

	.rmg-invite__grid {
		grid-template-columns: 1fr;
	}
}


/* 1.3.0 settings support */
.rmg-lead__form {
	grid-template-columns: 1fr;
}
.rmg-consent,
.rmg-lead__form .rmg-btn,
.rmg-lead__status {
	grid-column: 1 / -1;
}
.rmg-faq__answer > :first-child { margin-top: 0; }
.rmg-faq__answer > :last-child { margin-bottom: 0; }
.rmg-faq__answer ul,
.rmg-faq__answer ol { margin: 10px 0 0; padding-left: 22px; }
