/* Raymond Lead Form - scoped styles (prefix: rlf-) */
.rlf-wrap, .rlf-wrap * { box-sizing: border-box; }

.rlf-wrap {
	width: 100%;
	max-width: 1180px;
	margin: 60px auto;
	padding: 0 20px;
}

.rlf-inner {
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	border-radius: 22px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}

/* LEFT PANEL */
.rlf-left {
	position: relative;
	order: 1;
	background: linear-gradient(180deg, rgba(10,10,14,0.88), rgba(10,10,14,0.93)),
		url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10"><rect width="10" height="10" fill="%230a0a0e"/></svg>');
	background-size: cover;
	background-position: center;
	color: #fff;
	padding: 38px 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 18px;
}

.rlf-tag {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #ee3c25;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1.5px;
}

.rlf-tag-line {
	width: 22px;
	height: 2px;
	background: #ee3c25;
	display: inline-block;
}

.rlf-tag-dark {
	color: #ee3c25;
}

.rlf-heading {
	font-size: 30px;
	line-height: 1.22;
	font-weight: 800;
	margin: 0;
	color: #ffffff;
}

.rlf-desc {
	font-size: 14px;
	line-height: 1.65;
	color: #cfcfd4;
	margin: 0;
	max-width: 480px;
}

.rlf-contact-row {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 6px;
}

.rlf-contact-icons {
	position: relative;
	width: 48px;
	height: 48px;
	flex-shrink: 0;
}

.rlf-avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #3a3a42 url('https://home.omylio.com/wp-content/uploads/2026/07/natasha-ai.jpeg') center/cover no-repeat;
	display: block;
	border: 2px solid rgba(255,255,255,0.15);
}

.rlf-avatar-mail {
	display: block;
	font-weight: 800;
	font-size: 0;
	color: #4285F4;
	background: #ffffff url('https://home.omylio.com/wp-content/uploads/2026/01/support-2.jpg') center/cover no-repeat;
}

.rlf-icon-circle {
	position: absolute;
	bottom: -4px;
	right: -4px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #ee3c25;
	display: flex;
	align-items: center;
	justify-content: center;
}

.rlf-i-phone::before { content: "\260E"; color: #fff; font-size: 13px; }
.rlf-i-mail::before { content: "\2709"; color: #fff; font-size: 13px; }

.rlf-contact-label {
	display: block;
	font-size: 12px;
	color: #b8b8bf;
}

.rlf-contact-value {
	display: block;
	font-size: 16px;
	font-weight: 700;
	color: #ffffff;
}

/* RIGHT PANEL (FORM) */
.rlf-right {
	background: #ffffff;
	order: 2;
	padding: 38px 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.rlf-form-title {
	font-size: 24px;
	font-weight: 800;
	color: #14141a;
	margin: 8px 0 8px 0;
}

.rlf-form-sub {
	font-size: 13px;
	color: #7a7a82;
	line-height: 1.55;
	margin: 0 0 20px 0;
	max-width: 520px;
}

.rlf-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-bottom: 14px;
}

.rlf-field input,
.rlf-field textarea {
	width: 100%;
	background: #f3f3f1;
	border: 1px solid #eaeaea;
	border-radius: 10px;
	padding: 13px 16px;
	font-size: 14px;
	color: #14141a;
	outline: none;
	transition: border-color .25s ease, background .25s ease;
	font-family: inherit;
}

.rlf-field input:focus,
.rlf-field textarea:focus {
	border-color: #ee3c25;
	background: #ffffff;
}

.rlf-field-full {
	margin-bottom: 16px;
}

.rlf-field textarea {
	resize: vertical;
	min-height: 92px;
}

.rlf-submit-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	background: #ee3c25;
	color: #ffffff;
	border: none;
	padding: 15px 26px;
	border-radius: 40px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: background .3s ease, transform .2s ease;
}

.rlf-submit-btn:hover {
	background: #d6321d;
}

.rlf-submit-btn:disabled {
	opacity: .65;
	cursor: not-allowed;
}

.rlf-btn-arrow {
	font-size: 18px;
}

.rlf-response-msg {
	margin-top: 16px;
	font-size: 14px;
	font-weight: 600;
	min-height: 18px;
}

.rlf-response-msg.rlf-success { color: #1a8f4c; }
.rlf-response-msg.rlf-error { color: #d6321d; }

/* -----------------------------------------------------------
 * POPUP MODAL
 * ----------------------------------------------------------- */
.rlf-popup-overlay {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 100vw !important;
	height: 100vh !important;
	background: rgba(10,10,14,0.72);
	z-index: 2147483647 !important;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px 5px;
	overflow-y: auto;
}

.rlf-popup-overlay.rlf-popup-active {
	display: flex !important;
}

body.rlf-body-locked {
	overflow: hidden !important;
}

/* Higher specificity than .rlf-wrap (incl. inside media queries below) so the
   popup form only ever has the overlay's 5px side gap, never double padding. */
.rlf-popup-overlay .rlf-wrap {
	max-width: 1100px;
	width: 100%;
	margin: auto;
	padding: 0;
}

.rlf-wrap-popup {
	position: relative;
	max-height: 92vh;
	overflow-y: auto;
	border-radius: 22px;
}

.rlf-popup-close {
	position: absolute;
	top: 14px;
	right: 14px;
	background: rgba(255,255,255,0.16);
	border: none;
	color: #fff;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	z-index: 20;
}

.rlf-wrap-popup .rlf-inner {
	box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

.rlf-popup-close:hover {
	background: #ee3c25;
}

/* -----------------------------------------------------------
 * RESPONSIVE
 * ----------------------------------------------------------- */
@media (max-width: 992px) {
	.rlf-inner {
		grid-template-columns: 1fr;
	}
	.rlf-left, .rlf-right {
		padding: 32px 28px;
	}
	.rlf-heading {
		font-size: 26px;
	}
}

@media (max-width: 560px) {
	.rlf-wrap {
		margin: 34px auto;
		padding: 0 12px;
	}
	.rlf-inner {
		border-radius: 18px;
	}
	.rlf-left {
		display: none !important;
	}
	.rlf-left, .rlf-right {
		padding: 26px 18px;
	}
	.rlf-heading {
		font-size: 23px;
	}
	.rlf-row {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	.rlf-submit-btn {
		padding: 14px 20px;
		font-size: 14px;
	}
}
