/* Lead Capture — Elementor widget (2-step journey). Scoped to .lcf-w,
   mobile-first, themeable via CSS variables set by the Style controls. */

.lcf-w {
	--lcf-w-accent: #0e7c6b;
	--lcf-w-btn-text: #fff;
	--lcf-w-bg: #fff;
	--lcf-w-text: #1a1a1a;
	--lcf-w-radius: 12px;
	color: var(--lcf-w-text);
	max-width: 480px;
	margin: 0 auto;
	width: 100%;
	font-family: inherit;
}

.lcf-w, .lcf-w *, .lcf-w *::before, .lcf-w *::after { box-sizing: border-box; }

.lcf-w--card {
	background: var(--lcf-w-bg);
	border: 1px solid rgba(0, 0, 0, 0.07);
	border-radius: calc(var(--lcf-w-radius) + 6px);
	padding: 28px 26px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

/* Progress */
.lcf-w-progress { margin-bottom: 22px; }
.lcf-w-progress-track { height: 6px; border-radius: 999px; background: rgba(0, 0, 0, 0.08); overflow: hidden; }
.lcf-w-progress-fill { display: block; height: 100%; background: var(--lcf-w-accent); border-radius: 999px; transition: width 0.35s ease; }
.lcf-w-progress-label { font-size: 12.5px; opacity: 0.6; margin-top: 7px; font-weight: 600; letter-spacing: 0.02em; }

/* Steps */
.lcf-w-step[hidden] { display: none; }
.lcf-w-step { animation: lcfw-fade 0.25s ease; }
@keyframes lcfw-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.lcf-w-heading { font-size: 23px; line-height: 1.25; font-weight: 700; margin: 0 0 6px; color: var(--lcf-w-text); }
.lcf-w-sub { font-size: 15px; line-height: 1.5; opacity: 0.65; margin: 0 0 20px; }

/* Text fields */
.lcf-w-field { margin-bottom: 15px; }
.lcf-w-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--lcf-w-text); }
.lcf-w-req { color: var(--lcf-w-accent); }
.lcf-w-field input {
	width: 100%;
	height: 50px;
	padding: 0 15px;
	font-size: 16px;
	color: var(--lcf-w-text);
	border: 1.5px solid rgba(0, 0, 0, 0.14);
	border-radius: var(--lcf-w-radius);
	background: #fff;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.lcf-w-field input:focus { outline: none; border-color: var(--lcf-w-accent); box-shadow: 0 0 0 4px rgba(14, 124, 107, 0.12); }
.lcf-w-field.lcf-w-invalid input { border-color: #e0245e; }
.lcf-w-error { display: block; font-size: 13px; color: #e0245e; margin-top: 6px; }

/* Step 2 — option cards */
.lcf-w-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 6px; }
.lcf-w-option {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 15px 16px;
	border: 1.5px solid rgba(0, 0, 0, 0.14);
	border-radius: var(--lcf-w-radius);
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s;
}
.lcf-w-option:hover { border-color: var(--lcf-w-accent); }
.lcf-w-option input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.lcf-w-option-text { font-size: 15.5px; font-weight: 500; flex: 1; }
.lcf-w-option-tick { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(0, 0, 0, 0.2); flex: none; position: relative; transition: border-color 0.15s, background 0.15s; }
.lcf-w-option--selected { border-color: var(--lcf-w-accent); background: rgba(14, 124, 107, 0.06); }
.lcf-w-option--selected .lcf-w-option-tick { border-color: var(--lcf-w-accent); background: var(--lcf-w-accent); }
.lcf-w-option--selected .lcf-w-option-tick::after { content: ""; position: absolute; left: 6px; top: 3px; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Buttons — high specificity + !important so the theme can't restyle them */
.lcf-w .lcf-w-btn {
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 54px;
	margin: 0;
	border-radius: var(--lcf-w-radius);
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	border: 1.5px solid transparent;
	transition: opacity 0.15s, transform 0.05s, background 0.15s;
}
.lcf-w .lcf-w-next,
.lcf-w .lcf-w-submit { background: var(--lcf-w-accent) !important; color: var(--lcf-w-btn-text) !important; border: none !important; }
.lcf-w .lcf-w-next:hover,
.lcf-w .lcf-w-submit:hover { opacity: 0.92; }
.lcf-w .lcf-w-btn:active { transform: scale(0.99); }
.lcf-w .lcf-w-btn[disabled] { opacity: 0.6; cursor: default; }
.lcf-w .lcf-w-ghost { background: transparent !important; color: var(--lcf-w-text) !important; border: 1.5px solid rgba(0, 0, 0, 0.18) !important; }
.lcf-w .lcf-w-ghost:hover { border-color: var(--lcf-w-accent) !important; }
.lcf-w-next { margin-top: 6px; }
.lcf-w-actions { display: flex; gap: 10px; margin-top: 6px; }
.lcf-w-actions .lcf-w-back { flex: 0 0 36%; }
.lcf-w-actions .lcf-w-submit { flex: 1; }

.lcf-w-trust { font-size: 12.5px; opacity: 0.6; text-align: center; margin: 14px 0 0; }
.lcf-w-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Thank-you popup */
.lcf-w-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 16px; }
.lcf-w-modal[hidden] { display: none; }
.lcf-w-modal-overlay { position: absolute; inset: 0; background: rgba(15, 23, 30, 0.55); }
.lcf-w-modal-box {
	position: relative;
	background: #fff;
	color: #1a1a1a;
	width: 100%;
	max-width: 380px;
	border-radius: 16px;
	padding: 34px 26px 30px;
	text-align: center;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	animation: lcfw-pop 0.2s ease-out;
}
@keyframes lcfw-pop { from { transform: translateY(8px) scale(0.98); opacity: 0; } to { transform: none; opacity: 1; } }
.lcf-w-modal-close { position: absolute; top: 8px; right: 14px; border: none; background: none; font-size: 28px; line-height: 1; color: #aaa; cursor: pointer; }
.lcf-w-modal-close:hover { color: #666; }
.lcf-w-modal-check { width: 60px; height: 60px; border-radius: 50%; background: rgba(14, 124, 107, 0.14); color: var(--lcf-w-accent, #0e7c6b); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.lcf-w-modal-box h3 { font-size: 20px; margin: 0 0 8px; }
.lcf-w-modal-box p { font-size: 15px; color: #666; margin: 0; line-height: 1.5; }

@media (max-width: 480px) {
	.lcf-w--card { padding: 22px 18px; }
	.lcf-w-heading { font-size: 21px; }
	.lcf-w-modal-box { padding: 30px 20px 26px; }
}
