/**
 * RomaFlow Service Template 19 — widget stylesheet.
 * Ported 1:1 from claude/romaflow-service-template-19.html. All selectors scoped under
 * .rfst819-wrap (never :root/html) and every class rfst819--prefixed to rule out collisions
 * with the host theme or other RomaFlow widgets on the same page (build-standards §14/§18).
 * Mobile-first: base rules target mobile, upgrades happen at 768px / 1024px min-width only.
 * Theme variables are CSS custom properties so the Style-tab color controls can override them
 * per-instance via {{WRAPPER}} selectors without touching this file.
 */

.rfst819-wrap {
	/* Brand — constant in both themes. */
	--rfst819-blue: #0057FF;
	--rfst819-purple: #8C52FF;
	--rfst819-cyan: #00E5CC;
	--rfst819-pink: #FF0080;
	--rfst819-gradient: linear-gradient(90deg, var(--rfst819-blue), var(--rfst819-purple), var(--rfst819-cyan));
	--rfst819-font: "Noto Sans Hebrew", sans-serif;
	--rfst819-font-mono: "JetBrains Mono", monospace;
	--rfst819-radius: 20px;
	--rfst819-radius-sm: 12px;

	/* Dark theme (default). */
	--rfst819-bg: #0b0f14;
	--rfst819-bg-soft: #101623;
	--rfst819-card: #131a27;
	--rfst819-card-2: #182135;
	--rfst819-card-border: rgba(148, 163, 184, .16);
	--rfst819-rule: rgba(148, 163, 184, .14);
	--rfst819-text-primary: #eef2f8;
	--rfst819-text-secondary: #a9b4c6;
	--rfst819-text-faint: #7d8a9f;
	--rfst819-chip-bg: rgba(140, 82, 255, .14);
	--rfst819-chip-text: #cdb4ff;
	--rfst819-table-head: #182135;
	--rfst819-ok: #3ddc97;
	--rfst819-bad: #ff7a8a;
	--rfst819-glow: rgba(140, 82, 255, .25);
	color-scheme: dark;

	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	display: block;
	font-family: var(--rfst819-font);
	background: var(--rfst819-bg);
	color: var(--rfst819-text-primary);
	line-height: 1.7;
	font-size: 1.02rem;
	-webkit-font-smoothing: antialiased;
	transition: background .35s ease, color .35s ease;
	overflow-x: clip;
	position: relative;
}

/* Follow-mode: light theme via the site's global ancestor attribute OR this instance's local
   checkbox toggle — only while no explicit theme_mode override (force-*) class is present. */
html[data-rf-theme="light"] .rfst819-wrap:not(.rfst819-force-dark):not(.rfst819-force-light),
.rfst819-wrap:not(.rfst819-force-dark):not(.rfst819-force-light):has(.rfst819-theme-check:checked) {
	--rfst819-bg: #f4f2ec;
	--rfst819-bg-soft: #ffffff;
	--rfst819-card: #ffffff;
	--rfst819-card-2: #faf9f5;
	--rfst819-card-border: rgba(15, 23, 42, .10);
	--rfst819-rule: rgba(15, 23, 42, .12);
	--rfst819-text-primary: #0F172A;
	--rfst819-text-secondary: #475569;
	--rfst819-text-faint: #64748B;
	--rfst819-chip-bg: rgba(140, 82, 255, .10);
	--rfst819-chip-text: #6d28d9;
	--rfst819-table-head: #eef1f8;
	--rfst819-ok: #0e9f6e;
	--rfst819-bad: #d64560;
	--rfst819-glow: rgba(0, 87, 255, .10);
	color-scheme: light;
}

/* Explicit per-instance overrides (Theme Mode control) — win unconditionally. */
.rfst819-wrap.rfst819-force-light {
	--rfst819-bg: #f4f2ec;
	--rfst819-bg-soft: #ffffff;
	--rfst819-card: #ffffff;
	--rfst819-card-2: #faf9f5;
	--rfst819-card-border: rgba(15, 23, 42, .10);
	--rfst819-rule: rgba(15, 23, 42, .12);
	--rfst819-text-primary: #0F172A;
	--rfst819-text-secondary: #475569;
	--rfst819-text-faint: #64748B;
	--rfst819-chip-bg: rgba(140, 82, 255, .10);
	--rfst819-chip-text: #6d28d9;
	--rfst819-table-head: #eef1f8;
	--rfst819-ok: #0e9f6e;
	--rfst819-bad: #d64560;
	--rfst819-glow: rgba(0, 87, 255, .10);
	color-scheme: light;
}

.rfst819-wrap *, .rfst819-wrap *::before, .rfst819-wrap *::after { box-sizing: inherit; }
.rfst819-wrap img { max-width: 100%; display: block; }
.rfst819-wrap a { color: inherit; }
.rfst819-wrap p, .rfst819-wrap h1, .rfst819-wrap h2, .rfst819-wrap h3, .rfst819-wrap h4 { overflow-wrap: anywhere; }

.rfst819-container { width: min(100% - 40px, 1140px); margin-inline: auto; }

/* ---------- progress bar ---------- */
.rfst819-progress { position: sticky; top: 0; inset-inline: 0; height: 3px; z-index: 60; background: transparent; }
.rfst819-progress-bar { display: block; height: 100%; background: var(--rfst819-gradient); transform: scaleX(0); transform-origin: right; }

/* ---------- theme toggle (local, opt-in) — checkbox + label, zero JS dependency ---------- */
.rfst819-theme-check { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.rfst819-theme-btn {
	position: fixed; bottom: 18px; inset-inline-start: 18px; z-index: 999;
	width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--rfst819-card-border);
	background: var(--rfst819-card); color: var(--rfst819-text-primary); font-size: 1.25rem; cursor: pointer;
	display: grid; place-items: center; box-shadow: 0 6px 24px rgba(0,0,0,.25);
	touch-action: manipulation; -webkit-tap-highlight-color: transparent; user-select: none;
	transition: transform .2s ease;
}
.rfst819-theme-btn:hover { transform: scale(1.06); }
.rfst819-theme-btn:active { transform: scale(.94); }
.rfst819-theme-check:focus-visible ~ .rfst819-theme-btn { outline: 2px solid var(--rfst819-cyan); outline-offset: 2px; }
.rfst819-theme-btn .rfst819-ico-light { display: none; }
.rfst819-wrap:has(.rfst819-theme-check:checked) .rfst819-theme-btn .rfst819-ico-dark,
.rfst819-wrap.rfst819-force-light .rfst819-theme-btn .rfst819-ico-dark { display: none; }
.rfst819-wrap:has(.rfst819-theme-check:checked) .rfst819-theme-btn .rfst819-ico-light,
.rfst819-wrap.rfst819-force-light .rfst819-theme-btn .rfst819-ico-light { display: grid; }

/* ---------- section scaffold ---------- */
.rfst819-sec { padding-block: clamp(56px, 9vw, 104px); border-top: 1px solid var(--rfst819-rule); }
.rfst819-hero { border-top: 0; padding-top: clamp(28px, 6vw, 64px); }
.rfst819-sec-head { margin-bottom: clamp(24px, 5vw, 44px); }
.rfst819-sec-kicker { display: block; font-size: .85rem; font-weight: 600; color: var(--rfst819-text-faint); margin-bottom: 6px; }
.rfst819-wrap .rfst819-sec h2 { font-size: clamp(1.55rem, 4.6vw, 2.35rem); font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
.rfst819-h2-sm { font-size: clamp(1.2rem, 3.4vw, 1.6rem) !important; }
.rfst819-sec-lead { margin-top: 12px; color: var(--rfst819-text-secondary); max-width: 62ch; font-size: clamp(1rem, 2.6vw, 1.1rem); }
.rfst819-logos-intro { margin-bottom: 4px; }

/* ---------- buttons ---------- */
.rfst819-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem;
	text-decoration: none; border: 1px solid transparent; cursor: pointer;
	transition: transform .25s ease, box-shadow .25s ease;
}
.rfst819-btn:active { transform: scale(.97); }
.rfst819-btn-primary { background: var(--rfst819-gradient); box-shadow: 0 8px 28px var(--rfst819-glow); }
.rfst819-btn-ghost { border-color: var(--rfst819-card-border); color: var(--rfst819-text-primary); background: var(--rfst819-card); }
.rfst819-btn-whatsapp { background: #1fbe5f; color: #fff; }

/* ---------- generic card grid ---------- */
.rfst819-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.rfst819-card { background: var(--rfst819-card); border: 1px solid var(--rfst819-card-border); border-radius: var(--rfst819-radius); padding: 24px; }
.rfst819-card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.rfst819-card p { color: var(--rfst819-text-secondary); font-size: .98rem; }
.rfst819-ico-wrap { font-size: 1.5rem; margin-bottom: 12px; display: inline-block; color: var(--rfst819-purple); }
.rfst819-ico-wrap svg { width: 1.4em; height: 1.4em; fill: currentColor; }

/* ---------- hero ---------- */
.rfst819-breadcrumb { font-size: .85rem; color: var(--rfst819-text-faint); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.rfst819-breadcrumb a { color: var(--rfst819-text-secondary); text-decoration: none; }
.rfst819-h1 { font-size: clamp(2rem, 7.5vw, 3.6rem); font-weight: 900; line-height: 1.15; letter-spacing: -.02em; max-width: 20ch; }
.rfst819-h1 .rfst819-em, .rfst819-em { font-style: normal; color: transparent; background: var(--rfst819-gradient); -webkit-background-clip: text; background-clip: text; }
.rfst819-hero-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 14px; font-size: .85rem; color: var(--rfst819-text-faint); }
.rfst819-hero-meta b { color: var(--rfst819-text-secondary); font-weight: 600; }
.rfst819-hero-sub { margin-top: 18px; font-size: clamp(1.05rem, 3vw, 1.25rem); color: var(--rfst819-text-secondary); max-width: 58ch; }
.rfst819-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.rfst819-hero-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.rfst819-trust-chip { background: var(--rfst819-chip-bg); color: var(--rfst819-chip-text); border-radius: 999px; padding: 7px 14px; font-size: .83rem; font-weight: 600; }

/* ---------- trust bar ---------- */
.rfst819-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 26px; }
.rfst819-stat { background: var(--rfst819-card); border: 1px solid var(--rfst819-card-border); border-radius: var(--rfst819-radius); padding: 20px; text-align: center; }
.rfst819-stat b { display: block; font-size: clamp(1.7rem, 6vw, 2.5rem); font-weight: 900; font-family: var(--rfst819-font-mono); color: transparent; background: var(--rfst819-gradient); -webkit-background-clip: text; background-clip: text; }
.rfst819-stat span { font-size: .85rem; color: var(--rfst819-text-secondary); }

/* Client-logo marquee — pure CSS, works on every viewport, no JS. */
.rfst819-client-logos-wrap {
	width: 100%; overflow: hidden; margin-top: 26px; padding: 20px 0; position: relative;
	mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
	-webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
	border-top: 1px solid var(--rfst819-card-border); direction: ltr;
}
.rfst819-client-logos-track { display: flex; gap: 0; width: max-content; animation: rfst819LogoMarquee 34s linear infinite; direction: ltr; }
@media (prefers-reduced-motion: reduce) { .rfst819-client-logos-track { animation: none; } }
.rfst819-client-logo-chip {
	background: var(--rfst819-card); border: 1px solid var(--rfst819-card-border); border-radius: 16px; padding: 14px 26px;
	margin-inline-end: 18px; min-width: 140px; min-height: 72px; text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,.05);
	display: flex; align-items: center; justify-content: center;
	transition: transform .3s ease, border-color .3s ease; direction: ltr; flex-shrink: 0;
}
.rfst819-client-logo-chip:hover { transform: translateY(-4px); border-color: var(--rfst819-cyan); }
.rfst819-client-logo-img {
	display: block; width: auto; max-width: 100%; max-height: 60px; height: auto;
	object-fit: contain; filter: grayscale(100%); opacity: .78;
	transition: filter .3s ease, opacity .3s ease;
}
.rfst819-client-logo-chip:hover .rfst819-client-logo-img { filter: grayscale(0%); opacity: 1; }
@keyframes rfst819LogoMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Mobile — smaller chips + optional hide. */
@media (max-width: 767px) {
	.rfst819-client-logos-wrap { padding: 14px 0; margin-top: 18px; }
	.rfst819-client-logo-chip { min-width: 110px; min-height: 56px; padding: 10px 18px; margin-inline-end: 12px; border-radius: 12px; }
	.rfst819-client-logo-img { max-height: 40px; }
	.rfst819-logos-hide-mobile { display: none !important; }
}

/* ---------- pains ---------- */
.rfst819-pain-card { border-inline-start: 3px solid var(--rfst819-purple); }

/* ---------- tables (ROI + comparison) ---------- */
.rfst819-tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--rfst819-card-border); border-radius: var(--rfst819-radius-sm); background: var(--rfst819-card); }
.rfst819-wrap table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .92rem; }
.rfst819-wrap caption { caption-side: top; text-align: start; padding: 14px 18px; font-weight: 700; color: var(--rfst819-text-primary); }
.rfst819-wrap th, .rfst819-wrap td { padding: 12px 18px; text-align: start; border-top: 1px solid var(--rfst819-card-border); color: var(--rfst819-text-secondary); }
.rfst819-wrap thead th { background: var(--rfst819-table-head); color: var(--rfst819-text-primary); font-weight: 700; border-top: 0; }
.rfst819-wrap td b { color: var(--rfst819-text-primary); }
.rfst819-v { color: var(--rfst819-ok); font-weight: 700; }
.rfst819-x { color: var(--rfst819-bad); font-weight: 700; }
.rfst819-tbl-note { font-size: .8rem; color: var(--rfst819-text-faint); margin-top: 10px; }

/* ---------- timeline ---------- */
.rfst819-timeline { list-style: none; position: relative; padding-inline-start: 34px; }
.rfst819-timeline::before { content: ""; position: absolute; inset-block: 8px; inset-inline-start: 11px; width: 2px; background: var(--rfst819-gradient); opacity: .5; }
.rfst819-timeline li { position: relative; padding-bottom: 26px; }
.rfst819-timeline li::before {
	content: attr(data-step); position: absolute; inset-inline-start: -34px; top: 0;
	width: 24px; height: 24px; border-radius: 50%; background: var(--rfst819-card); border: 2px solid var(--rfst819-purple);
	color: var(--rfst819-text-primary); font-family: var(--rfst819-font-mono); font-size: .72rem; display: grid; place-items: center;
}
.rfst819-timeline h3 { font-size: 1.05rem; margin-bottom: 4px; }
.rfst819-timeline p { color: var(--rfst819-text-secondary); font-size: .95rem; max-width: 65ch; }

/* ---------- case studies ---------- */
.rfst819-case-res { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; }
.rfst819-case-res b { font-family: var(--rfst819-font-mono); font-size: 1.35rem; color: transparent; background: var(--rfst819-gradient); -webkit-background-clip: text; background-clip: text; }
.rfst819-case-res small { display: block; color: var(--rfst819-text-faint); font-size: .78rem; }
.rfst819-case-quote { margin-top: 14px; border-inline-start: 3px solid var(--rfst819-cyan); padding-inline-start: 12px; color: var(--rfst819-text-secondary); font-size: .92rem; }

/* ---------- guide + sticky TOC ---------- */
.rfst819-guide-layout { display: grid; gap: 28px; grid-template-columns: minmax(0,1fr); }
.rfst819-guide-layout > * { min-width: 0; }
.rfst819-toc { position: sticky; top: 12px; z-index: 5; background: var(--rfst819-bg-soft); border: 1px solid var(--rfst819-card-border); border-radius: var(--rfst819-radius-sm); padding: 10px; }
.rfst819-toc-title { font-size: .78rem; font-weight: 700; color: var(--rfst819-text-faint); padding: 4px 8px; }
.rfst819-toc ol { list-style: none; display: flex; gap: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.rfst819-toc ol::-webkit-scrollbar { display: none; }
.rfst819-toc a { display: flex; align-items: center; white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-size: .85rem; text-decoration: none; color: var(--rfst819-text-secondary); min-height: 40px; }
.rfst819-toc a.rfst819-active, .rfst819-toc a:hover { background: var(--rfst819-chip-bg); color: var(--rfst819-chip-text); }
.rfst819-guide-body h3 { font-size: clamp(1.2rem, 3.4vw, 1.5rem); font-weight: 800; margin: 34px 0 10px; scroll-margin-top: 120px; }
.rfst819-guide-body h3:first-of-type { margin-top: 0; }
.rfst819-guide-body p { color: var(--rfst819-text-secondary); margin-bottom: 12px; max-width: 72ch; }
.rfst819-guide-body ul { margin: 0 0 12px; padding-inline-start: 20px; color: var(--rfst819-text-secondary); }
.rfst819-guide-body li { margin-bottom: 6px; }
.rfst819-guide-body code { font-family: var(--rfst819-font-mono); background: var(--rfst819-card-2); padding: 2px 6px; border-radius: 4px; }

/* ---------- keyword map ---------- */
.rfst819-kw-list { list-style: none; counter-reset: rfst819kw; display: grid; gap: 10px; }
.rfst819-kw-list li { counter-increment: rfst819kw; background: var(--rfst819-card); border: 1px solid var(--rfst819-card-border); border-radius: var(--rfst819-radius-sm); padding: 14px 16px; }
.rfst819-kw-list li::before { content: counter(rfst819kw, decimal-leading-zero); font-family: var(--rfst819-font-mono); font-size: .75rem; color: var(--rfst819-cyan); display: block; margin-bottom: 4px; }
.rfst819-kw-list b { display: block; font-size: .98rem; }
.rfst819-kw-list span { font-size: .86rem; color: var(--rfst819-text-secondary); }

/* ---------- glossary + FAQ accordions (native <details> = full SSR, no JS required) ---------- */
.rfst819-wrap .rfst819-acc {
	background: var(--rfst819-card); border: 1px solid var(--rfst819-card-border); border-radius: var(--rfst819-radius-sm);
	margin-bottom: 10px; overflow: hidden; border-inline-start: 3px solid var(--rfst819-card-border);
}
.rfst819-wrap .rfst819-acc summary {
	list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 700; font-size: .98rem;
	display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px;
}
.rfst819-wrap .rfst819-acc summary::-webkit-details-marker { display: none; }
.rfst819-wrap .rfst819-acc summary::after { content: "+"; font-family: var(--rfst819-font-mono); color: var(--rfst819-purple); font-size: 1.1rem; transition: transform .25s ease; flex-shrink: 0; }
.rfst819-wrap .rfst819-acc[open] summary::after { transform: rotate(45deg); }
.rfst819-wrap .rfst819-acc .rfst819-ans { padding: 0 18px 16px; color: var(--rfst819-text-secondary); font-size: .94rem; }

/* ---------- bento grid (glossary + FAQ) — mobile: single column; tablet/desktop: real bento ---------- */
.rfst819-bento-grid { display: grid; gap: 12px; }
.rfst819-bento-grid .rfst819-acc { margin-bottom: 0; }
.rfst819-bento-grid .rfst819-acc:nth-child(4n+1) { border-inline-start-color: var(--rfst819-purple); }
.rfst819-bento-grid .rfst819-acc:nth-child(4n+2) { border-inline-start-color: var(--rfst819-cyan); }
.rfst819-bento-grid .rfst819-acc:nth-child(4n+3) { border-inline-start-color: var(--rfst819-blue); }
.rfst819-bento-grid .rfst819-acc:nth-child(4n) { border-inline-start-color: var(--rfst819-pink); }

/* ---------- myths ---------- */
.rfst819-myth-m { color: var(--rfst819-bad); font-weight: 700; font-size: .85rem; }
.rfst819-myth-f { color: var(--rfst819-ok); font-weight: 700; font-size: .85rem; }

/* ---------- expert ---------- */
.rfst819-expert { display: grid; gap: 20px; grid-template-columns: 1fr; align-items: center; }
.rfst819-expert-photo { width: 110px; height: 110px; border-radius: 50%; background: var(--rfst819-gradient); display: grid; place-items: center; font-size: 2.4rem; color: #fff; }
.rfst819-expert-photo-img { object-fit: cover; }

/* ---------- testimonials ---------- */
.rfst819-testi-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
.rfst819-testi cite { display: block; margin-top: 12px; font-style: normal; font-size: .85rem; color: var(--rfst819-text-faint); }
.rfst819-testi cite b { color: var(--rfst819-text-primary); }

/* ---------- pricing ---------- */
.rfst819-price-card { position: relative; }
.rfst819-price-card.rfst819-featured { border-color: var(--rfst819-purple); box-shadow: 0 10px 40px var(--rfst819-glow); }
.rfst819-price-tag { font-family: var(--rfst819-font-mono); font-size: 1.6rem; font-weight: 700; margin: 10px 0; }
.rfst819-price-tag small { font-size: .8rem; color: var(--rfst819-text-faint); font-family: var(--rfst819-font); }
.rfst819-price-card ul { list-style: none; margin-top: 12px; }
.rfst819-price-card li { padding: 7px 0; border-top: 1px dashed var(--rfst819-card-border); font-size: .9rem; color: var(--rfst819-text-secondary); }
.rfst819-badge { position: absolute; top: -12px; inset-inline-start: 20px; background: var(--rfst819-gradient); color: #fff; font-size: .72rem; font-weight: 700; border-radius: 999px; padding: 4px 12px; }
.rfst819-risk { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.rfst819-risk > div { flex: 1 1 220px; background: var(--rfst819-card-2); border: 1px solid var(--rfst819-card-border); border-radius: var(--rfst819-radius-sm); padding: 14px 16px; font-size: .88rem; color: var(--rfst819-text-secondary); }
.rfst819-risk b { color: var(--rfst819-text-primary); display: block; margin-bottom: 2px; }

/* ---------- resources ---------- */
.rfst819-res-card { text-decoration: none; transition: transform .25s ease, border-color .25s ease; display: block; }
.rfst819-res-card:hover { transform: translateY(-4px); border-color: var(--rfst819-purple); }
.rfst819-tag { font-size: .72rem; font-family: var(--rfst819-font-mono); color: var(--rfst819-cyan); }

/* ---------- mid-CTA strip + final CTA ---------- */
.rfst819-midcta { border-top: 0; padding-block: 0; }
.rfst819-inner, .rfst819-final-cta { background: var(--rfst819-gradient); border-radius: var(--rfst819-radius); padding: clamp(26px, 6vw, 48px); color: #fff; text-align: center; }
.rfst819-inner h2, .rfst819-final-cta h2 { color: #fff; font-size: clamp(1.3rem, 4vw, 1.9rem); }
.rfst819-inner p, .rfst819-final-cta p { color: rgba(255,255,255,.9); margin-top: 8px; }
.rfst819-inner .rfst819-btn, .rfst819-btn-form { background: #fff; color: #0F172A; margin-top: 18px; }
.rfst819-lead-form { display: grid; gap: 12px; grid-template-columns: 1fr; max-width: 560px; margin: 22px auto 0; text-align: start; }
.rfst819-lead-form label { font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.95); }
.rfst819-lead-form input, .rfst819-lead-form select {
	width: 100%; min-height: 48px; border-radius: var(--rfst819-radius-sm); border: 0; padding: 0 14px;
	font-family: inherit; font-size: 1rem; background: rgba(255,255,255,.95); color: #0F172A;
}
.rfst819-form-full { text-align: center; }
.rfst819-form-note { font-size: .78rem; color: rgba(255,255,255,.8); margin-top: 8px; text-align: center; }
.rfst819-form-status { font-size: .82rem; margin-top: 10px; text-align: center; min-height: 1em; }
.rfst819-urgency { display: inline-block; background: rgba(255,255,255,.16); border-radius: 999px; padding: 6px 16px; font-size: .82rem; font-weight: 700; margin-bottom: 14px; }

/* ---------- scroll reveal (mobile: CSS+IO · desktop: GSAP takes over, see script.js) ---------- */
@media (prefers-reduced-motion: no-preference) {
	.rfst819-io-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
	.rfst819-io-reveal.rfst819-in { opacity: 1; transform: none; }
}

/* ============================================================
   >=768px — tablet
   ============================================================ */
@media (min-width: 768px) {
	.rfst819-grid-2, .rfst819-grid-3, .rfst819-grid-4 { grid-template-columns: 1fr 1fr; }
	.rfst819-stats { grid-template-columns: repeat(4, 1fr); }
	.rfst819-kw-list { grid-template-columns: 1fr 1fr; }
	.rfst819-testi-row { grid-template-columns: 1fr 1fr; }
	.rfst819-expert { grid-template-columns: auto 1fr; }
	.rfst819-lead-form { grid-template-columns: 1fr 1fr; }
	.rfst819-lead-form .rfst819-form-full { grid-column: 1 / -1; text-align: center; }

	.rfst819-bento-grid { grid-template-columns: repeat(2, 1fr); grid-auto-flow: dense; align-items: start; }
	.rfst819-bento-grid .rfst819-acc:nth-child(4n+1) { grid-column: span 2; }
}

/* ============================================================
   >=1024px — desktop
   ============================================================ */
@media (min-width: 1024px) {
	.rfst819-grid-3 { grid-template-columns: repeat(3, 1fr); }
	.rfst819-grid-4 { grid-template-columns: repeat(4, 1fr); }
	.rfst819-guide-layout { grid-template-columns: 250px minmax(0,1fr); align-items: start; }
	.rfst819-toc { top: 24px; padding: 16px; }
	.rfst819-toc ol { flex-direction: column; overflow: visible; }
	.rfst819-toc a { white-space: normal; }
	.rfst819-testi-row { grid-template-columns: repeat(3, 1fr); }

	.rfst819-bento-grid { grid-template-columns: repeat(3, 1fr); }
	.rfst819-bento-grid .rfst819-acc:nth-child(6n+1) { grid-column: span 2; }
	.rfst819-bento-grid .rfst819-acc:nth-child(6n+4) { grid-column: span 1; }
}

@media (prefers-reduced-motion: reduce) {
	.rfst819-wrap, .rfst819-wrap *, .rfst819-wrap *::before, .rfst819-wrap *::after {
		animation: none !important;
		transition: none !important;
	}
}

/* ═══════════════════════════════════════════════════════════════════════════
   SILO INTERLINKS — .rfst819-silo   (2026-08-29)
   Sibling links between the seven /קידום-אורגני/ sub-pages, plus the two
   parents. Emitted by rf_seo_render_interlinks_819() in inc-interlinks-819.php.

   Everything here reads the sheet's OWN --rfst819-* tokens, which already flip
   correctly for all three states this page family supports: follow the site
   theme, .rfst819-force-dark, and .rfst819-force-light. So there is no
   per-theme rule to keep in sync and no white-on-white trap.

   --rfst819-chip-text is the accent: measured 9.60:1 on the dark card and
   7.10:1 on the light one. The brand cyan is NOT used as text here — it is
   1.61:1 on a white card, a fill colour only.
   ═══════════════════════════════════════════════════════════════════════════ */

.rfst819-wrap .rfst819-silo-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
}
@media (min-width: 768px) {
	.rfst819-wrap .rfst819-silo-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (min-width: 1024px) {
	.rfst819-wrap .rfst819-silo-grid { grid-template-columns: repeat(3, 1fr); }
}

.rfst819-wrap .rfst819-silo-card {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	min-height: 44px;
	padding: 16px;
	border-radius: var(--rfst819-radius-sm);
	background: var(--rfst819-card);
	border: 1px solid var(--rfst819-card-border);
	color: var(--rfst819-text-primary);
	text-decoration: none;
	transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.rfst819-wrap .rfst819-silo-card:hover,
.rfst819-wrap .rfst819-silo-card:focus-visible {
	transform: translateY(-3px);
	background: var(--rfst819-card-2);
	border-color: var(--rfst819-chip-text);
}

.rfst819-wrap .rfst819-silo-ico {
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--rfst819-chip-bg);
	color: var(--rfst819-chip-text);
}
.rfst819-wrap .rfst819-silo-ico svg { display: block; }

.rfst819-wrap .rfst819-silo-body { min-width: 0; flex: 1 1 auto; }
.rfst819-wrap .rfst819-silo-body strong {
	display: block;
	margin-bottom: 4px;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.35;
	color: var(--rfst819-text-primary);
}
.rfst819-wrap .rfst819-silo-body > span {
	display: block;
	font-size: .88rem;
	line-height: 1.6;
	color: var(--rfst819-text-secondary);
	overflow-wrap: anywhere;
}

.rfst819-wrap .rfst819-silo-go {
	flex: 0 0 auto;
	align-self: center;
	margin-inline-start: 4px;
	font-size: 1.05rem;
	line-height: 1;
	color: var(--rfst819-chip-text);
	transition: transform .25s ease;
}
.rfst819-wrap .rfst819-silo-card:hover .rfst819-silo-go { transform: translateX(-4px); }

.rfst819-wrap .rfst819-silo-foot {
	margin-top: 22px;
	text-align: center;
	font-size: .95rem;
	color: var(--rfst819-text-secondary);
}
.rfst819-wrap .rfst819-silo-foot a {
	color: var(--rfst819-chip-text);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid transparent;
}
.rfst819-wrap .rfst819-silo-foot a:hover,
.rfst819-wrap .rfst819-silo-foot a:focus-visible { border-bottom-color: var(--rfst819-chip-text); }
.rfst819-wrap .rfst819-silo-foot span { margin-inline: 8px; color: var(--rfst819-text-faint); }

@media (prefers-reduced-motion: reduce) {
	.rfst819-wrap .rfst819-silo-card,
	.rfst819-wrap .rfst819-silo-go { transition: none; }
	.rfst819-wrap .rfst819-silo-card:hover { transform: none; }
	.rfst819-wrap .rfst819-silo-card:hover .rfst819-silo-go { transform: none; }
}
