/* RFM Blocks — shared */
.rfm-btn-wrap { margin: 6px 0; }
.rfm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-weight: 700; line-height: 1.1; text-decoration: none; cursor: pointer; border: 0;
	transition: filter .2s ease, background .25s ease, transform .15s ease, box-shadow .2s ease;
	box-sizing: border-box;
}
.rfm-btn:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.14); }
.rfm-btn[data-hover="1"]:hover { background: var(--rfm-btn-hover) !important; filter: none; }
.rfm-btn:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* ── Accordion / FAQ ───────────────────────────────────────── */
.rfm-acc { display: flex; flex-direction: column; gap: 10px; }
.rfm-acc-item { border: 1px solid rgba(0,0,0,.10); border-radius: 12px; background: #fff; overflow: hidden; }
.rfm-acc-item[open] { box-shadow: 0 6px 22px rgba(0,0,0,.06); }
.rfm-acc-q { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px;
	padding: 16px 18px; font-weight: 700; font-size: 1.02rem; color: #222; }
.rfm-acc-q::-webkit-details-marker { display: none; }
.rfm-acc-ico { flex: 0 0 auto; width: 16px; height: 16px; position: relative; transition: transform .25s ease; }
.rfm-acc-ico::before, .rfm-acc-ico::after { content: ""; position: absolute; background: var(--rfm-acc-accent,#A56A3C); border-radius: 2px; }
.rfm-acc-ico::before { top: 7px; left: 0; width: 16px; height: 2px; }
.rfm-acc-ico::after { left: 7px; top: 0; width: 2px; height: 16px; transition: transform .25s ease; }
.rfm-acc-item[open] .rfm-acc-ico::after { transform: rotate(90deg); opacity: 0; }
.rfm-acc-a { padding: 0 18px 18px; color: #555; line-height: 1.6; }
.rfm-acc-editor .rfm-acc-edit-item { border: 1px solid rgba(0,0,0,.12); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
.rfm-acc-editor .rfm-acc-q { padding: 0 0 6px; }
.rfm-acc-editor .rfm-acc-a { padding: 0; }

/* ── Before / After ────────────────────────────────────────── */
.rfm-ba { position: relative; line-height: 0; user-select: none; border-radius: 12px; overflow: hidden; touch-action: pan-y; }
.rfm-ba img { display: block; width: 100%; height: auto; }
.rfm-ba-after { position: relative; z-index: 1; }
.rfm-ba-before-wrap { position: absolute; inset: 0; z-index: 2; overflow: hidden;
	clip-path: inset(0 calc(100% - var(--rfm-ba-pos,50%)) 0 0); }
.rfm-ba-before-wrap img { width: 100%; }
.rfm-ba-handle { position: absolute; top: 0; bottom: 0; left: var(--rfm-ba-pos,50%); z-index: 3;
	width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; box-shadow: 0 0 10px rgba(0,0,0,.45); }
.rfm-ba-handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
	width: 38px; height: 38px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.35);
	display: flex; align-items: center; justify-content: center; }
.rfm-ba-handle span::before, .rfm-ba-handle span::after { content: ""; position: absolute; width: 0; height: 0; border: 6px solid transparent; }
.rfm-ba-handle span::before { border-right-color: #A56A3C; left: 7px; }
.rfm-ba-handle span::after { border-left-color: #A56A3C; right: 7px; }
.rfm-ba-label { position: absolute; bottom: 12px; z-index: 4; font: 700 12px/1 system-ui,sans-serif; letter-spacing: .04em;
	color: #fff; background: rgba(0,0,0,.55); padding: 6px 10px; border-radius: 20px; text-transform: uppercase; }
.rfm-ba-l-before { left: 12px; }
.rfm-ba-l-after { right: 12px; }
.rfm-ba-range { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.rfm-ba-editor .rfm-ba { pointer-events: none; }

/* ── Pricing table ─────────────────────────────────────────── */
.rfm-pr-toggle { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 26px; }
.rfm-pr-tg { font-weight: 600; color: #888; font-size: .95rem; transition: color .2s ease; }
.rfm-pr-tg.is-on { color: #222; }
.rfm-pr-switch { width: 52px; height: 28px; border-radius: 20px; border: 0; background: var(--rfm-pr-accent,#A56A3C);
	position: relative; cursor: pointer; padding: 0; flex: 0 0 auto; }
.rfm-pr-knob { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff;
	transition: transform .22s ease; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.rfm-pr.is-yearly .rfm-pr-knob { transform: translateX(24px); }
.rfm-pr-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 20px; align-items: stretch; }
.rfm-pr-card { position: relative; border: 1px solid rgba(0,0,0,.10); border-radius: 16px; background: #fff; padding: 30px 24px;
	display: flex; flex-direction: column; text-align: center; }
.rfm-pr-card.is-featured { border-color: var(--rfm-pr-accent,#A56A3C); border-width: 2px; box-shadow: 0 16px 40px rgba(0,0,0,.10); }
.rfm-pr-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap;
	background: var(--rfm-pr-accent,#A56A3C); color: #fff; font: 700 11px/1 system-ui,sans-serif; letter-spacing: .05em;
	text-transform: uppercase; padding: 6px 14px; border-radius: 20px; }
.rfm-pr-name { font-weight: 700; font-size: 1.15rem; color: #222; margin-bottom: 10px; }
.rfm-pr-price { margin-bottom: 18px; min-height: 44px; }
.rfm-pr-amt { font-weight: 800; font-size: 2.1rem; color: #1a1a1a; }
.rfm-pr-amt small { font-weight: 600; font-size: .9rem; color: #888; margin-left: 2px; }
.rfm-pr-y { display: none; }
.rfm-pr.is-yearly .rfm-pr-m { display: none; }
.rfm-pr.is-yearly .rfm-pr-y { display: inline; }
.rfm-pr-feats { list-style: none; margin: 0 0 24px; padding: 0; text-align: left; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.rfm-pr-feats li { position: relative; padding-left: 26px; color: #555; line-height: 1.4; }
.rfm-pr-feats li::before { content: ""; position: absolute; left: 4px; top: 4px; width: 6px; height: 11px;
	border: solid var(--rfm-pr-accent,#A56A3C); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.rfm-pr-cta { width: 100%; padding: 13px 20px; border-radius: 10px; font-size: .98rem;
	background: var(--rfm-pr-accent,#A56A3C); color: #fff; }
.rfm-pr-card.is-featured .rfm-pr-cta { filter: brightness(1.02); }
