/* RomaFlow SEO Services — MD3 redesign, scoped to .rf-801.rf-seo-801.
   Generated from the approved merged design. Loaded AFTER the shared
   style.css (compound-class specificity guarantees it wins over legacy
   .rf-seo-801 rules without touching any other widget). */
/* ==========================================================================
   ROMA Digital · MD3 redesign demo + GSAP motion layer
   Material Design 3 token system, mapped onto the existing RomaFlow brand:
   purple #8c52ff · cyan #00e5cc · blue #0057ff · gradient 90deg blue→purple→cyan
   ========================================================================== */
.rf-801.rf-seo-801 {
  /* --- MD3 sys color · dark scheme (default, matches current site) --- */
  --md-sys-color-primary: #c4a8ff;
  --md-sys-color-on-primary: #2e1065;
  --md-sys-color-primary-container: #8c52ff;
  --md-sys-color-on-primary-container: #f2eaff;
  --md-sys-color-secondary: #00e5cc;
  --md-sys-color-on-secondary: #003731;
  --md-sys-color-secondary-container: #005048;
  --md-sys-color-on-secondary-container: #b8fff4;
  --md-sys-color-tertiary: #9db8ff;
  --md-sys-color-on-tertiary: #002a77;
  --md-sys-color-tertiary-container: #0057ff;
  --md-sys-color-on-tertiary-container: #e8edff;
  --md-sys-color-error: #ffb4ab;
  --md-sys-color-error-container: #93000a;
  --md-sys-color-on-error-container: #ffdad6;
  --md-sys-color-surface: #0b0f1c;            /* brand dark navy */
  --md-sys-color-surface-dim: #070a13;
  --md-sys-color-surface-container-lowest: #060911;
  --md-sys-color-surface-container-low: #101524;
  --md-sys-color-surface-container: #141a2c;
  --md-sys-color-surface-container-high: #1a2136;
  --md-sys-color-surface-container-highest: #212942;
  --md-sys-color-on-surface: #e7e9f2;
  --md-sys-color-on-surface-variant: #b3b9cc;
  --md-sys-color-outline: #7d8499;
  --md-sys-color-outline-variant: #363e55;
  --md-sys-color-inverse-surface: #e7e9f2;
  --md-sys-color-inverse-on-surface: #101524;
  --md-sys-color-scrim: #000000;

  /* --- brand tokens (unchanged from the live plugin) --- */
  --rf-accent-cyan: #00e5cc;
  --rf-accent-purple: #8c52ff;
  --rf-accent-blue: #0057ff;
  --rf-gradient-main: linear-gradient(90deg, #0057ff 0%, #8c52ff 50%, #00e5cc 100%);

  /* --- MD3 typescale (Noto Sans Hebrew as brand typeface) --- */
  --md-sys-typescale-font: "Noto Sans Hebrew", sans-serif;
  --md-sys-typescale-display-large-size: clamp(2.6rem, 6vw, 4rem);
  --md-sys-typescale-display-small-size: clamp(2rem, 4.5vw, 2.75rem);
  --md-sys-typescale-headline-large-size: clamp(1.7rem, 3.5vw, 2.25rem);
  --md-sys-typescale-headline-small-size: 1.5rem;
  --md-sys-typescale-title-large-size: 1.35rem;
  --md-sys-typescale-title-medium-size: 1.1rem;
  --md-sys-typescale-body-large-size: 1.08rem;
  --md-sys-typescale-body-medium-size: 0.95rem;
  --md-sys-typescale-label-large-size: 0.95rem;

  /* --- MD3 shape scale --- */
  --md-sys-shape-corner-small: 8px;
  --md-sys-shape-corner-medium: 12px;
  --md-sys-shape-corner-large: 16px;
  --md-sys-shape-corner-extra-large: 28px;
  --md-sys-shape-corner-full: 999px;

  /* --- MD3 state layers --- */
  --md-sys-state-hover-opacity: 0.08;
  --md-sys-state-pressed-opacity: 0.12;

  /* --- MD3 motion --- */
  --md-sys-motion-easing-emphasized: cubic-bezier(0.2, 0, 0, 1);
  --md-sys-motion-duration-medium: 400ms;
}

.rf-801.rf-seo-801, .rf-801.rf-seo-801 * { box-sizing: border-box; }
/* margin/padding reset lowered to single-class specificity so swapped-in
   live-site cards keep their own padding from the shared stylesheet. */
.rf-801.rf-seo-801 { margin: 0; padding: 0; }
.rf-seo-801 * { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, .rf-801.rf-seo-801 {
  overflow-x: hidden;
  overflow-x: clip; /* clip = no scroll container; kills X-animation overflow on mobile */
}
.rf-801.rf-seo-801 {
  font-family: var(--md-sys-typescale-font);
  background: var(--md-sys-color-surface);
  color: var(--md-sys-color-on-surface);
  line-height: 1.7;
}
.rf-801.rf-seo-801 img { max-width: 100%; }
.rf-801.rf-seo-801 a { color: inherit; text-decoration: none; }

/* soft brand glow background, like the live site's particles-bg */
.rf-801.rf-seo-801 .bg-glow {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle at 85% 10%, rgba(140, 82, 255, 0.13) 0%, transparent 45%),
    radial-gradient(circle at 10% 30%, rgba(0, 229, 204, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 95%, rgba(0, 87, 255, 0.10) 0%, transparent 45%);
}
/* Futuristic grid-net (recipe from HANDOFF-grid-net: cyan rows + purple columns,
   46px cells, blue top glow, radial fade mask, 20s drift) */
.rf-801.rf-seo-801 .bg-glow::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 204, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 82, 255, 0.11) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(0, 87, 255, 0.10), transparent 60%);
  background-size: 46px 46px, 46px 46px, 100% 100%;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 10%, #000 45%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 10%, #000 45%, transparent 100%);
  animation: rf-seo-grid-drift-801 20s linear infinite;
}
@keyframes rf-seo-grid-drift-801 {
  to { background-position: 46px 46px, 46px 46px, 0 0; }
}

.rf-801.rf-seo-801 .container { max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.rf-801.rf-seo-801 section { padding-block: 88px; }
@media (max-width: 720px) { .rf-801.rf-seo-801 section { padding-block: 56px; } }

/* ===== typography helpers ===== */
.rf-801.rf-seo-801 .display { font-size: var(--md-sys-typescale-display-large-size); font-weight: 900; line-height: 1.18; letter-spacing: -0.5px; }
.rf-801.rf-seo-801 .headline { font-size: var(--md-sys-typescale-headline-large-size); font-weight: 800; line-height: 1.25; }
.rf-801.rf-seo-801 .grad-text {
  background: var(--rf-gradient-main);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
/* GSAP text tokens (words/chars). Gradient spans stay whole = gradient never breaks */
.rf-801.rf-seo-801 .tk { display: inline-block; will-change: transform, opacity; }
.rf-801.rf-seo-801 .section-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--md-sys-typescale-label-large-size); font-weight: 700;
  color: var(--md-sys-color-secondary);
  background: color-mix(in srgb, var(--md-sys-color-secondary) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--md-sys-color-secondary) 35%, transparent);
  padding: 6px 16px; border-radius: var(--md-sys-shape-corner-full);
  margin-bottom: 18px;
}
.rf-801.rf-seo-801 .section-head { text-align: center; max-width: 760px; margin-inline: auto; margin-bottom: 48px; }
.rf-801.rf-seo-801 .section-head p { color: var(--md-sys-color-on-surface-variant); font-size: var(--md-sys-typescale-body-large-size); margin-top: 14px; }

/* ===== MD3 buttons ===== */
.rf-801.rf-seo-801 .btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 32px;
  border: none; border-radius: var(--md-sys-shape-corner-full);
  font-family: inherit; font-size: var(--md-sys-typescale-label-large-size); font-weight: 700;
  cursor: pointer;
  transition: box-shadow var(--md-sys-motion-duration-medium) var(--md-sys-motion-easing-emphasized),
              transform 200ms var(--md-sys-motion-easing-emphasized);
}
.rf-801.rf-seo-801 .btn::after { /* MD3 state layer */
  content: ""; position: absolute; inset: 0; background: currentColor; opacity: 0;
  transition: opacity 150ms linear; border-radius: inherit; pointer-events: none;
}
.rf-801.rf-seo-801 .btn:hover::after { opacity: var(--md-sys-state-hover-opacity); }
.rf-801.rf-seo-801 .btn:active::after { opacity: var(--md-sys-state-pressed-opacity); }
.rf-801.rf-seo-801 .btn:focus-visible { outline: 3px solid var(--md-sys-color-secondary); outline-offset: 2px; }

.rf-801.rf-seo-801 .btn-filled {
  background: var(--rf-gradient-main); color: #fff;
  box-shadow: 0 4px 24px rgba(140, 82, 255, 0.45);
}
.rf-801.rf-seo-801 .btn-filled:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(140, 82, 255, 0.6); }
/* bt-pulse — soft shadow ring expanding a fixed 16px (never collides with neighbors) */
.rf-801.rf-seo-801 .btn.has-pulse { overflow: visible; }
.rf-801.rf-seo-801 .btn-pulse-ring {
  position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none;
}
/* bt-labelswap — two stacked labels rolling through a mask */
.rf-801.rf-seo-801 .lbw { display: inline-block; position: relative; height: 1.45em; overflow: hidden; vertical-align: middle; }
.rf-801.rf-seo-801 .lbw i { display: block; font-style: normal; line-height: 1.45em; }
.rf-801.rf-seo-801 .lbw i + i { color: var(--rf-accent-cyan); }
.rf-801.rf-seo-801 .btn-tonal { background: var(--md-sys-color-secondary-container); color: var(--md-sys-color-on-secondary-container); }
.rf-801.rf-seo-801 .btn-outlined { background: transparent; color: var(--md-sys-color-primary); border: 1px solid var(--md-sys-color-outline); }
.rf-801.rf-seo-801 .btn-whatsapp { background: #25D366; color: #06281a; }

/* ===== top launch banner ===== */
.rf-801.rf-seo-801 .launch-banner {
  position: sticky; top: 0; z-index: 60;
  background: var(--rf-gradient-main);
  color: #fff; text-align: center;
  padding: 10px 16px; font-weight: 700; font-size: 0.95rem;
}
.rf-801.rf-seo-801 .launch-banner b { text-decoration: underline; text-underline-offset: 3px; }

/* ===== top app bar (MD3) ===== */
.rf-801.rf-seo-801 .appbar {
  position: sticky; top: 44px; z-index: 50;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--md-sys-color-surface-container-low) 82%, transparent);
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
}
.rf-801.rf-seo-801 .appbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.rf-801.rf-seo-801 .logo { font-weight: 900; font-size: 1.3rem; letter-spacing: 0.5px; }
.rf-801.rf-seo-801 .logo span { color: var(--rf-accent-cyan); }
.rf-801.rf-seo-801 .nav-links { display: flex; gap: 4px; list-style: none; }
.rf-801.rf-seo-801 .nav-links a {
  position: relative; padding: 8px 16px; border-radius: var(--md-sys-shape-corner-full);
  font-size: var(--md-sys-typescale-body-medium-size); font-weight: 600;
  color: var(--md-sys-color-on-surface-variant);
  transition: background 150ms linear, color 150ms linear;
}
.rf-801.rf-seo-801 .nav-links a:hover { background: color-mix(in srgb, var(--md-sys-color-on-surface) 8%, transparent); color: var(--md-sys-color-on-surface); }
.rf-801.rf-seo-801 .appbar .btn { min-height: 44px; padding-inline: 22px; }
@media (max-width: 900px) { .rf-801.rf-seo-801 .nav-links { display: none; } }

/* ===== hero ===== */
.rf-801.rf-seo-801 .hero { padding-block: 96px 72px; }
.rf-801.rf-seo-801 .hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .rf-801.rf-seo-801 .hero-grid { grid-template-columns: 1fr; text-align: center; } }
.rf-801.rf-seo-801 .hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: color-mix(in srgb, var(--rf-accent-purple) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--rf-accent-purple) 45%, transparent);
  color: var(--md-sys-color-primary);
  font-weight: 700; font-size: 0.9rem;
  padding: 8px 18px; border-radius: var(--md-sys-shape-corner-full);
  margin-bottom: 22px;
}
.rf-801.rf-seo-801 .hero h1 { margin-bottom: 20px; min-height: 2.5em; }
@media (max-width: 900px) { .rf-801.rf-seo-801 .hero h1 { min-height: 3.6em; } }
/* typewriter caret — a ::after glued to the last typed character, so it can
   never wrap to its own line (no break opportunity between text and pseudo) */
.rf-801.rf-seo-801 .typing::after {
  content: "|";
  color: var(--rf-accent-cyan);
  -webkit-text-fill-color: var(--rf-accent-cyan); /* .grad-text sets fill transparent */
  font-weight: 400;
  animation: rf-seo-caret-801 0.9s steps(1) infinite;
}
@keyframes rf-seo-caret-801 { 50% { opacity: 0; } }
.rf-801.rf-seo-801 .hero-sub {
  color: var(--md-sys-color-on-surface-variant);
  font-size: var(--md-sys-typescale-body-large-size);
  max-width: 620px; margin-bottom: 32px;
}
@media (max-width: 900px) { .rf-801.rf-seo-801 .hero-sub { margin-inline: auto; } }
.rf-801.rf-seo-801 .hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
@media (max-width: 900px) { .rf-801.rf-seo-801 .hero-ctas { justify-content: center; } }
.rf-801.rf-seo-801 .trust-bar {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  color: var(--md-sys-color-on-surface-variant); font-size: 0.92rem; font-weight: 600;
}
@media (max-width: 900px) { .rf-801.rf-seo-801 .trust-bar { justify-content: center; } }
.rf-801.rf-seo-801 .trust-bar span { display: inline-flex; align-items: center; gap: 7px; }
.rf-801.rf-seo-801 .trust-bar svg { color: var(--rf-accent-cyan); flex-shrink: 0; }

/* hero visual card */
.rf-801.rf-seo-801 .hero-visual {
  position: relative;
  background: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-extra-large);
  padding: 28px; display: grid; gap: 14px;
}
.rf-801.rf-seo-801 .hero-visual::before {
  content: ""; position: absolute; inset: -1px; z-index: -1;
  border-radius: inherit; background: var(--rf-gradient-main);
  filter: blur(26px); opacity: 0.35;
}
.rf-801.rf-seo-801 .stat-tile {
  background: var(--md-sys-color-surface-container-high);
  border-radius: var(--md-sys-shape-corner-large);
  padding: 18px 20px; display: flex; align-items: center; gap: 16px;
}
.rf-801.rf-seo-801 .stat-tile .num { font-size: 1.9rem; font-weight: 900; line-height: 1; }
.rf-801.rf-seo-801 .stat-tile .lbl { color: var(--md-sys-color-on-surface-variant); font-size: 0.9rem; font-weight: 600; }
.rf-801.rf-seo-801 .stat-tile.accent { background: var(--md-sys-color-secondary-container); }
.rf-801.rf-seo-801 .stat-tile.accent .num, .rf-801.rf-seo-801 .stat-tile.accent .lbl { color: var(--md-sys-color-on-secondary-container); }

/* ===== pain section ===== */
/* section backgrounds are semi-transparent so the grid-net shows through */
.rf-801.rf-seo-801 .pain { background: color-mix(in srgb, var(--md-sys-color-surface-container-lowest) 74%, transparent); border-block: 1px solid var(--md-sys-color-outline-variant); }
.rf-801.rf-seo-801 .card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.rf-801.rf-seo-801 .md-card {
  background: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-extra-large);
  padding: 28px;
  transition: border-color 200ms linear, box-shadow var(--md-sys-motion-duration-medium) ease;
}
.rf-801.rf-seo-801 .md-card:hover { border-color: color-mix(in srgb, var(--rf-accent-purple) 55%, transparent); box-shadow: 0 16px 40px rgba(0,0,0,0.35); }
.rf-801.rf-seo-801 .md-card h3 { font-size: var(--md-sys-typescale-title-medium-size); font-weight: 800; margin: 14px 0 8px; }
.rf-801.rf-seo-801 .md-card p { color: var(--md-sys-color-on-surface-variant); font-size: var(--md-sys-typescale-body-medium-size); }
.rf-801.rf-seo-801 .card-icon {
  width: 52px; height: 52px; border-radius: var(--md-sys-shape-corner-large);
  display: grid; place-items: center; font-size: 1.4rem;
  background: color-mix(in srgb, var(--rf-accent-purple) 18%, transparent);
}
.rf-801.rf-seo-801 .pain .card-icon { background: color-mix(in srgb, var(--md-sys-color-error) 14%, transparent); }
.rf-801.rf-seo-801 .pain-cta-line { text-align: center; margin-top: 40px; font-size: 1.15rem; font-weight: 700; }
.rf-801.rf-seo-801 .pain-cta-line .grad-text { font-weight: 900; }

/* ===== solutions ===== */
.rf-801.rf-seo-801 #solutions .card-grid { perspective: 1000px; }
.rf-801.rf-seo-801 .solution-card { display: flex; flex-direction: column; gap: 4px; }
.rf-801.rf-seo-801 .solution-card .tagline { color: var(--md-sys-color-secondary); font-weight: 700; font-size: 0.85rem; }
.rf-801.rf-seo-801 .solution-card .chip-row { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.rf-801.rf-seo-801 .chip {
  font-size: 0.8rem; font-weight: 600;
  color: var(--md-sys-color-on-surface-variant);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-small);
  padding: 4px 12px;
}

/* ===== proof ===== */
.rf-801.rf-seo-801 .proof { background: color-mix(in srgb, var(--md-sys-color-surface-container-lowest) 74%, transparent); border-block: 1px solid var(--md-sys-color-outline-variant); }
.rf-801.rf-seo-801 .proof-card { position: relative; overflow: hidden; }
.rf-801.rf-seo-801 .proof-card .big {
  font-size: 2.4rem; font-weight: 900; line-height: 1.1; margin-bottom: 6px;
}
.rf-801.rf-seo-801 .proof-card .what { font-weight: 700; margin-bottom: 8px; }
.rf-801.rf-seo-801 .proof-note {
  margin-top: 28px; text-align: center;
  color: var(--md-sys-color-on-surface-variant); font-size: 0.9rem;
}

/* ===== offer ===== */
.rf-801.rf-seo-801 .offer-wrap {
  position: relative;
  background:
    radial-gradient(circle at 80% 0%, rgba(140,82,255,0.28) 0%, transparent 55%),
    radial-gradient(circle at 15% 100%, rgba(0,229,204,0.16) 0%, transparent 50%),
    var(--md-sys-color-surface-container-high);
  border: 1px solid color-mix(in srgb, var(--rf-accent-purple) 45%, transparent);
  border-radius: var(--md-sys-shape-corner-extra-large);
  padding: clamp(32px, 5vw, 64px);
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
@media (max-width: 900px) { .rf-801.rf-seo-801 .offer-wrap { grid-template-columns: 1fr; } }
.rf-801.rf-seo-801 .offer-badge {
  display: inline-flex; gap: 8px; align-items: center;
  background: var(--rf-gradient-main); color: #fff;
  font-weight: 800; font-size: 0.9rem;
  padding: 8px 18px; border-radius: var(--md-sys-shape-corner-full);
  margin-bottom: 20px;
}
.rf-801.rf-seo-801 .offer-wrap h2 { font-size: var(--md-sys-typescale-display-small-size); font-weight: 900; line-height: 1.25; margin-bottom: 16px; }
.rf-801.rf-seo-801 .offer-wrap > div > p { color: var(--md-sys-color-on-surface-variant); margin-bottom: 24px; }
.rf-801.rf-seo-801 .bonus-list { list-style: none; display: grid; gap: 14px; margin-bottom: 30px; }
.rf-801.rf-seo-801 .bonus-list li {
  display: flex; gap: 12px; align-items: flex-start;
  background: color-mix(in srgb, var(--md-sys-color-surface) 55%, transparent);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-large);
  padding: 14px 18px; font-weight: 600; font-size: 0.98rem;
  transform-origin: bottom center;   /* leaning cards pivot from their base */
  will-change: transform;
}
.rf-801.rf-seo-801 .bonus-list .emoji { font-size: 1.2rem; }
.rf-801.rf-seo-801 .seats-card {
  background: var(--md-sys-color-surface-container-lowest);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-extra-large);
  padding: 36px; text-align: center;
}
.rf-801.rf-seo-801 .seats-card .label { font-weight: 700; color: var(--md-sys-color-on-surface-variant); margin-bottom: 10px; }
.rf-801.rf-seo-801 .seats-dots { display: flex; justify-content: center; gap: 10px; margin-bottom: 14px; }
.rf-801.rf-seo-801 .seat {
  width: 40px; height: 40px; border-radius: var(--md-sys-shape-corner-medium);
  display: grid; place-items: center; font-weight: 800;
  background: var(--rf-gradient-main); color: #fff;
}
.rf-801.rf-seo-801 .seat.taken { background: var(--md-sys-color-surface-container-highest); color: var(--md-sys-color-outline); text-decoration: line-through; }
.rf-801.rf-seo-801 .seats-card .fine { font-size: 0.85rem; color: var(--md-sys-color-on-surface-variant); margin-top: 16px; }

/* ===== why us ===== */
.rf-801.rf-seo-801 .why .md-card { background: var(--md-sys-color-surface-container-low); }

/* ===== process ===== */
.rf-801.rf-seo-801 .process-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 24px; }
@media (max-width: 720px) { .rf-801.rf-seo-801 .process-grid { grid-template-columns: 1fr; } }
.rf-801.rf-seo-801 .step-card { position: relative; padding-top: 34px; }
.rf-801.rf-seo-801 .step-num {
  position: absolute; top: -18px; inset-inline-start: 24px;
  width: 48px; height: 48px; border-radius: var(--md-sys-shape-corner-large);
  display: grid; place-items: center;
  font-weight: 900; font-size: 1.1rem;
  background: var(--rf-gradient-main); color: #fff;
  box-shadow: 0 6px 18px rgba(140,82,255,0.45);
}

/* ===== risk reversal ===== */
.rf-801.rf-seo-801 .risk { background: color-mix(in srgb, var(--md-sys-color-surface-container-lowest) 74%, transparent); border-block: 1px solid var(--md-sys-color-outline-variant); }
.rf-801.rf-seo-801 .risk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.rf-801.rf-seo-801 .risk .md-card { text-align: center; }
.rf-801.rf-seo-801 .risk .card-icon { margin-inline: auto; background: color-mix(in srgb, var(--rf-accent-cyan) 15%, transparent); }

/* ===== fit ===== */
.rf-801.rf-seo-801 .fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 780px) { .rf-801.rf-seo-801 .fit-grid { grid-template-columns: 1fr; } }
.rf-801.rf-seo-801 .fit-card ul { list-style: none; display: grid; gap: 12px; margin-top: 16px; }
.rf-801.rf-seo-801 .fit-card li { display: flex; gap: 10px; align-items: flex-start; color: var(--md-sys-color-on-surface-variant); font-size: 0.97rem; }
.rf-801.rf-seo-801 .fit-yes { border-color: color-mix(in srgb, var(--rf-accent-cyan) 40%, transparent); }
.rf-801.rf-seo-801 .fit-no { border-color: color-mix(in srgb, var(--md-sys-color-error) 30%, transparent); }
.rf-801.rf-seo-801 .fit-card h3 { font-size: var(--md-sys-typescale-title-large-size); font-weight: 800; }

/* ===== FAQ — bento grid mosaic ===== */
.rf-801.rf-seo-801 .faq-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.rf-801.rf-seo-801 .faq-tile {
  background: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-extra-large);
  padding: 26px;
  transition: border-color 200ms linear, box-shadow 300ms ease;
}
.rf-801.rf-seo-801 .faq-tile:hover { border-color: color-mix(in srgb, var(--rf-accent-purple) 55%, transparent); box-shadow: 0 14px 36px rgba(0,0,0,0.35); }
.rf-801.rf-seo-801 .faq-tile .q {
  display: flex; gap: 12px; align-items: flex-start;
  font-weight: 800; font-size: 1.05rem; line-height: 1.4;
  margin-bottom: 12px;
}
.rf-801.rf-seo-801 .faq-tile .q::before {
  content: "?";
  flex-shrink: 0; width: 34px; height: 34px;
  border-radius: var(--md-sys-shape-corner-medium);
  display: grid; place-items: center;
  background: var(--rf-gradient-main); color: #fff; font-weight: 900;
}
.rf-801.rf-seo-801 .faq-tile p { color: var(--md-sys-color-on-surface-variant); font-size: 0.95rem; }
.rf-801.rf-seo-801 .faq-tile.span-2 { grid-column: span 2; }
.rf-801.rf-seo-801 .faq-tile.span-3 { grid-column: span 3; }
.rf-801.rf-seo-801 .faq-tile.span-4 { grid-column: span 4; }
/* mosaic accents */
.rf-801.rf-seo-801 .faq-tile.tint-purple {
  background: radial-gradient(circle at 85% 0%, rgba(140,82,255,0.25), transparent 60%), var(--md-sys-color-surface-container-high);
  border-color: color-mix(in srgb, var(--rf-accent-purple) 45%, transparent);
}
.rf-801.rf-seo-801 .faq-tile.tint-cyan {
  background: radial-gradient(circle at 15% 100%, rgba(0,229,204,0.14), transparent 60%), var(--md-sys-color-surface-container);
  border-color: color-mix(in srgb, var(--rf-accent-cyan) 40%, transparent);
}
@media (max-width: 900px) {
  .rf-801.rf-seo-801 .faq-bento { grid-template-columns: 1fr 1fr; }
  .rf-801.rf-seo-801 .faq-bento [class*="span-"] { grid-column: auto; }
}
@media (max-width: 640px) { .rf-801.rf-seo-801 .faq-bento { grid-template-columns: 1fr; } }

/* ===== final CTA + form ===== */
.rf-801.rf-seo-801 .final-cta { padding-bottom: 110px; }
.rf-801.rf-seo-801 .cta-wrap {
  background: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-extra-large);
  padding: clamp(32px, 5vw, 60px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  position: relative; overflow: hidden;
}
.rf-801.rf-seo-801 .cta-wrap::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 6px;
  background: var(--rf-gradient-main);
}
@media (max-width: 900px) { .rf-801.rf-seo-801 .cta-wrap { grid-template-columns: 1fr; } }
.rf-801.rf-seo-801 .cta-copy h2 { font-size: var(--md-sys-typescale-headline-large-size); font-weight: 900; margin-bottom: 14px; }
.rf-801.rf-seo-801 .cta-copy p { color: var(--md-sys-color-on-surface-variant); margin-bottom: 22px; }
.rf-801.rf-seo-801 .cta-points { list-style: none; display: grid; gap: 12px; }
.rf-801.rf-seo-801 .cta-points li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 0.97rem; }
.rf-801.rf-seo-801 .cta-points svg { color: var(--rf-accent-cyan); flex-shrink: 0; margin-top: 4px; }

/* MD3 filled text fields */
.rf-801.rf-seo-801 .lead-form { display: grid; gap: 16px; }
.rf-801.rf-seo-801 .field { position: relative; }
.rf-801.rf-seo-801 .field input, .rf-801.rf-seo-801 .field select {
  width: 100%; min-height: 58px;
  background: var(--md-sys-color-surface-container-high);
  border: none; border-bottom: 2px solid var(--md-sys-color-outline);
  border-radius: var(--md-sys-shape-corner-small) var(--md-sys-shape-corner-small) 0 0;
  color: var(--md-sys-color-on-surface);
  font-family: inherit; font-size: 1rem;
  padding: 24px 16px 8px;
  transition: border-color 200ms linear, background 200ms linear;
  appearance: none;
}
.rf-801.rf-seo-801 .field select { padding-top: 22px; cursor: pointer; }
.rf-801.rf-seo-801 .field input:focus, .rf-801.rf-seo-801 .field select:focus { outline: none; border-bottom-color: var(--rf-accent-cyan); background: var(--md-sys-color-surface-container-highest); }
.rf-801.rf-seo-801 .field label {
  position: absolute; inset-inline-start: 16px; top: 18px;
  color: var(--md-sys-color-on-surface-variant); font-size: 1rem;
  pointer-events: none;
  transition: all 180ms var(--md-sys-motion-easing-emphasized);
}
.rf-801.rf-seo-801 .field input:focus + label, .rf-801.rf-seo-801 .field input:not(:placeholder-shown) + label, .rf-801.rf-seo-801 .field select:focus + label, .rf-801.rf-seo-801 .field.filled label {
  top: 7px; font-size: 0.75rem; color: var(--rf-accent-cyan); font-weight: 600;
}
.rf-801.rf-seo-801 .form-privacy { font-size: 0.83rem; color: var(--md-sys-color-on-surface-variant); text-align: center; }
.rf-801.rf-seo-801 .form-divider { display: flex; align-items: center; gap: 14px; color: var(--md-sys-color-outline); font-size: 0.85rem; font-weight: 600; }
.rf-801.rf-seo-801 .form-divider::before, .rf-801.rf-seo-801 .form-divider::after { content: ""; flex: 1; height: 1px; background: var(--md-sys-color-outline-variant); }

/* ===== WhatsApp FAB (MD3) ===== */
.rf-801.rf-seo-801 .fab {
  position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 70;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 0 22px;
  border-radius: var(--md-sys-shape-corner-large);
  background: #25D366; color: #06281a;
  font-weight: 800; font-size: 0.95rem; font-family: inherit;
  border: none; cursor: pointer;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: transform 200ms var(--md-sys-motion-easing-emphasized), box-shadow 200ms linear;
}
.rf-801.rf-seo-801 .fab:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(37,211,102,0.55); }

/* ===== mobile buttons — full-width, comfortable tap targets, no overflow ===== */
@media (max-width: 600px) {
  .rf-801.rf-seo-801 .hero-ctas .btn, .rf-801.rf-seo-801 .lead-form .btn { width: 100%; }
  .rf-801.rf-seo-801 .btn { min-height: 52px; padding-inline: 20px; text-align: center; }
}

/* ===== footer ===== */
.rf-801.rf-seo-801 footer {
  border-top: 1px solid var(--md-sys-color-outline-variant);
  background: color-mix(in srgb, var(--md-sys-color-surface-container-lowest) 80%, transparent);
  padding: 48px 0 90px;
  color: var(--md-sys-color-on-surface-variant); font-size: 0.9rem;
}
.rf-801.rf-seo-801 .footer-inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }

@media (prefers-reduced-motion: reduce) {
  .rf-801.rf-seo-801 .bg-glow::after { animation: none; }
}

/* ---- light-theme readability remap (site dark/light toggle) ---- */
:root[data-rf-theme="light"] .rf-801.rf-seo-801{
  --md-sys-color-surface:#ffffff;
  --md-sys-color-on-surface:#0F172A;
  --md-sys-color-on-surface-variant:#475569;
  --md-sys-color-surface-container-lowest:#ffffff;
  --md-sys-color-surface-container-low:#F8FAFC;
  --md-sys-color-surface-container:#F1F5F9;
  --md-sys-color-surface-container-high:#E9EEF4;
  --md-sys-color-surface-container-highest:#E2E8F0;
  --md-sys-color-outline:#94A3B8;
  --md-sys-color-outline-variant:#CBD5E1;
}

/* ===== post-merge review fixes (2026-07-21) ===== */
/* Google ecosystem (roma-tools): 2 boxes per row + right-sized cards */
.rf-801.rf-seo-801 .roma-tools-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
.rf-801.rf-seo-801 .roma-tool-card { min-height: auto; }
@media (max-width: 520px){
  .rf-801.rf-seo-801 .roma-tool-card { padding: 22px 16px; }
  .rf-801.rf-seo-801 .roma-card-title { font-size: 1.15rem; }
  .rf-801.rf-seo-801 .roma-card-desc  { font-size: 0.95rem; line-height: 1.6; }
  .rf-801.rf-seo-801 .roma-data-point { margin-top: 22px; }
}

/* ── RomaFlow · SEO widget contrast fix (2026-07-22) — append to style-seo-801.css.
   MD3 surface/on-surface remap is AA-clean. Bug: --md-sys-color-outline consumed as
   TEXT at .seat.taken / .form-divider fails AA (light 2.08-2.56:1; dark taken 3.86:1).
   Outline is for borders; repoint these TEXT uses to on-surface-variant (AA both
   modes: 7.58:1 light / 9.76:1 dark). Borders using outline are unaffected. */
.rf-801.rf-seo-801 .seat.taken   { color: var(--md-sys-color-on-surface-variant); }
.rf-801.rf-seo-801 .form-divider { color: var(--md-sys-color-on-surface-variant); }

/* ── RomaFlow · SEO page (קידום אורגני) dark-mode black-on-black / white-on-white fix (2026-07-22) ──
   Scoped to THIS PAGE ONLY (.rf-seo-801), dark mode only. */

/* .md-card / .fit-card: MD3 card, background = --md-sys-color-surface-container
   (#141a2c, dark navy) in dark mode — already correct. BUG: the shared style.css
   dark card-list wrongly forced --text-primary:#0F172A (dark ink) onto these two
   classes, which leaks into children with no own color (e.g. h3) -> dark text on
   the dark navy card = black-on-black. Reset back to light for THIS page only. */
:root[data-rf-theme="dark"] .rf-801.rf-seo-801 .md-card,
:root[data-rf-theme="dark"] .rf-801.rf-seo-801 .fit-card {
  --text-primary: #e6ebf2;
  --text-secondary: #b8c2d0;
}

/* .nav-item.active: background = var(--bg-secondary) = FIXED light #F8FAFC in
   both themes (never theme-swapped). Its text inherits/uses --text-primary /
   --text-secondary, which in dark mode are light -> white text on light bg. */
:root[data-rf-theme="dark"] .rf-801.rf-seo-801 .nav-item .project-info h4,
:root[data-rf-theme="dark"] .rf-801.rf-seo-801 .nav-item .project-info p {
  color: #0F172A;
}

/* .rf-related-grid a: background = var(--card-bg) = FIXED white in both themes;
   color = var(--text-primary), light in dark mode -> white text on white card. */
:root[data-rf-theme="dark"] .rf-801.rf-seo-801 .rf-related-grid a {
  color: #0F172A;
}

/* ── RomaFlow · .process-section ("סיפורי הצלחה") dark-mode fix (2026-07-22) ──
   Section has an INLINE style="background:#FFFFFF" (fixed white, not theme-swapped,
   not editable via CSS specificity on background). Its h2 inherits color:var(--text-primary)
   which is light in dark mode -> white text on the white inline bg. The gradient
   "הצלחה" span is unaffected (own background-clip). Force dark ink on the h2 base text. */
:root[data-rf-theme="dark"] .rf-801.rf-seo-801 .process-section h2 {
  color: #0F172A;
}
