/* ==========================================================================
   RetailerBox theme v3 — "Rising Stack" design system
   Light, vibrant, five service colors. One font family (Plus Jakarta Sans).
   ========================================================================== */

:root {
  /* Brand */
  --rb-indigo: #4b3bff;
  --rb-indigo-600: #3a2be0;
  --rb-indigo-soft: #efedff;
  /* Text & surfaces (text stays deep so pages pass contrast checks) */
  --rb-ink: #1b1840;
  --rb-ink-2: #53506f;
  --rb-ink-3: #817e9b;
  --rb-line: #e6e4f3;
  --rb-bg: #ffffff;
  --rb-bg-soft: #f7f6ff;
  --rb-bg-tint: #f2f0ff;
  /* Five services */
  --svc-launch: #7b4dff;  --svc-launch-text: #6236f0;  --svc-launch-soft: #efe9ff;
  --svc-auto: #12c98a;    --svc-auto-text: #08865c;    --svc-auto-soft: #e0f8ee;
  --svc-list: #ff3e8a;    --svc-list-text: #cf1f67;    --svc-list-soft: #ffe6f0;
  --svc-ful: #18c3e0;     --svc-ful-text: #0a7f94;     --svc-ful-soft: #ddf6fb;
  --svc-health: #ff6a3d;  --svc-health-text: #c9481c;  --svc-health-soft: #ffece4;
  --rb-stack-stripe: linear-gradient(90deg, var(--svc-ful) 0 20%, var(--svc-auto) 20% 40%, var(--svc-list) 40% 60%, var(--svc-launch) 60% 80%, var(--svc-health) 80% 100%);
  /* Legacy tokens kept so older markup still resolves */
  --rb-navy: var(--rb-ink);
  --rb-orange: var(--rb-indigo);
  --rb-text: var(--rb-ink);
  --rb-muted: var(--rb-ink-2);
  --rb-border: var(--rb-line);
  --rb-light: var(--rb-bg-soft);
  --rb-soft: var(--rb-bg-tint);
  --rb-white: #ffffff;
  /* Shape & rhythm */
  --rb-radius: 16px;
  --rb-radius-sm: 10px;
  --rb-shadow: 0 18px 44px rgba(75, 59, 255, 0.10);
  --rb-shadow-sm: 0 8px 22px rgba(27, 24, 64, 0.06);
  --rb-container: 1200px;
  --rb-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --rb-heading: var(--rb-font);
  --rb-body: var(--rb-font);
  --rb-mono: var(--rb-font);
  --rb-label-font: var(--rb-font);
  --rb-page-x: max(16px, calc((100vw - var(--rb-container)) / 2));
  --rb-section-y: clamp(56px, 8vw, 104px);
  --rb-hero-y: clamp(48px, 7vw, 96px);
  --rb-grid-gap: clamp(14px, 2vw, 20px);
  --rb-card-pad: clamp(18px, 2.4vw, 26px);
  --rb-ui-scale: 1; --rb-type-scale: 1; --rb-hero-type-scale: 1; --rb-gap-scale: 1; --rb-section-scale: 1;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  color: var(--rb-ink);
  background: var(--rb-bg);
  font-family: var(--rb-font);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.rb-nav-open { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--rb-indigo); text-underline-offset: 3px; }
a:hover { color: var(--rb-indigo-600); }
:focus-visible { outline: 3px solid var(--rb-indigo); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--rb-font); color: var(--rb-ink); line-height: 1.12; margin: 0 0 16px; font-weight: 800; letter-spacing: -0.025em; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.9rem); max-width: 18ch; }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
h3 { font-size: 1.22rem; letter-spacing: -0.015em; }
p { margin: 0 0 18px; }
.rb-skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--rb-indigo); color: #fff; font-weight: 700; }
.rb-skip-link:focus { left: 12px; }
.rb-icon { width: 24px; height: 24px; display: block; }
.rb-site-main { display: block; }

/* ---------- Service color scopes ---------- */
.rb-svc-launch { --svc: var(--svc-launch); --svc-text: var(--svc-launch-text); --svc-soft: var(--svc-launch-soft); }
.rb-svc-auto   { --svc: var(--svc-auto);   --svc-text: var(--svc-auto-text);   --svc-soft: var(--svc-auto-soft); }
.rb-svc-list   { --svc: var(--svc-list);   --svc-text: var(--svc-list-text);   --svc-soft: var(--svc-list-soft); }
.rb-svc-ful    { --svc: var(--svc-ful);    --svc-text: var(--svc-ful-text);    --svc-soft: var(--svc-ful-soft); }
.rb-svc-health { --svc: var(--svc-health); --svc-text: var(--svc-health-text); --svc-soft: var(--svc-health-soft); }

/* ---------- Header & navigation ---------- */
.rb-site-header {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 72px; padding: 10px var(--rb-page-x);
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.rb-site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--rb-stack-stripe); opacity: 0; transition: opacity .2s ease; }
.rb-site-header.is-scrolled { border-color: var(--rb-line); box-shadow: 0 8px 24px rgba(27, 24, 64, .06); }
.rb-site-header.is-scrolled::after { opacity: 1; }
.rb-site-header-minimal { position: relative; }
.rb-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--rb-ink); }
.rb-brand .rb-mark { flex: none; }
.rb-wordmark { font-weight: 800; font-size: 1.36rem; letter-spacing: -0.035em; color: var(--rb-indigo); line-height: 1; }
.rb-primary-nav { display: flex; align-items: center; gap: 14px; }
.rb-primary-nav ul { display: flex; align-items: center; gap: 2px; padding: 0; margin: 0; list-style: none; }
.rb-primary-nav li { position: relative; }
.rb-primary-nav a, .rb-primary-nav summary {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px;
  border-radius: 999px; color: var(--rb-ink); text-decoration: none; font-weight: 600; font-size: .98rem; cursor: pointer; list-style: none;
}
.rb-primary-nav summary::-webkit-details-marker { display: none; }
.rb-primary-nav summary::after { content: ""; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.rb-primary-nav a:hover, .rb-primary-nav summary:hover, .rb-primary-nav details[open] > summary { background: var(--rb-bg-tint); color: var(--rb-indigo); }
.rb-nav-panel {
  position: absolute; top: calc(100% + 10px); left: -12px; width: min(620px, 92vw);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 12px;
  background: #fff; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); box-shadow: var(--rb-shadow);
}
.rb-nav-panel a { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 10px 12px; border-radius: 12px; font-weight: 600; }
.rb-nav-panel a:hover { background: var(--svc-soft, var(--rb-bg-tint)); color: var(--rb-ink); }
.rb-nav-icon { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--svc-soft); color: var(--svc-text); }
.rb-nav-all { grid-column: 1 / -1; justify-content: center; color: var(--rb-indigo) !important; background: var(--rb-bg-soft); }
.rb-nav-panel span { color: var(--rb-ink-2); font-size: .88rem; font-weight: 500; }
.rb-nav-cta, .rb-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--rb-font); font-weight: 700; font-size: 1rem; line-height: 1; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.rb-nav-cta, .rb-button-primary { background: var(--rb-indigo); color: #fff; box-shadow: 0 10px 24px rgba(75, 59, 255, .28); }
.rb-nav-cta:hover, .rb-button-primary:hover { background: var(--rb-indigo-600); color: #fff; transform: translateY(-1px); box-shadow: 0 14px 30px rgba(75, 59, 255, .34); }
.rb-button-secondary { background: #fff; color: var(--rb-ink); border-color: var(--rb-line); }
.rb-button-secondary:hover { border-color: var(--rb-indigo); color: var(--rb-indigo); transform: translateY(-1px); }
.rb-button-text { background: transparent; color: var(--rb-indigo); padding-inline: 0; min-height: auto; }
.rb-nav-cta { min-height: 44px; padding: 10px 18px; font-size: .95rem; white-space: nowrap; }
.rb-primary-nav a.rb-nav-cta, .rb-site-header a.rb-nav-cta { color: #fff; background: var(--rb-indigo); }
.rb-primary-nav a.rb-nav-cta:hover, .rb-site-header a.rb-nav-cta:hover { color: #fff; background: var(--rb-indigo-600); }
.rb-nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--rb-line); border-radius: 12px; background: #fff; cursor: pointer; }
.rb-nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; border-radius: 2px; background: var(--rb-ink); }

/* ---------- Breadcrumbs ---------- */
.rb-breadcrumbs { padding: 12px var(--rb-page-x) 0; background: transparent; }
.rb-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--rb-ink-3); font-size: .88rem; }
.rb-breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; color: var(--rb-ink-3); }
.rb-breadcrumbs a { color: var(--rb-ink-2); text-decoration: none; font-weight: 600; }
.rb-breadcrumbs a:hover { color: var(--rb-indigo); }

/* ---------- Eyebrows & labels ---------- */
.rb-eyebrow, .rb-label {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  color: var(--svc-text, var(--rb-indigo)); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.rb-eyebrow::before { content: ""; width: 26px; height: 10px; flex: none; border-radius: 3px; background: linear-gradient(var(--svc, var(--svc-launch)) 0 0) 6px 0 / 20px 3px no-repeat, linear-gradient(var(--svc-list) 0 0) 3px 3.5px / 20px 3px no-repeat, linear-gradient(var(--svc-ful) 0 0) 0 7px / 20px 3px no-repeat; }
.rb-label { color: var(--rb-ink-3); letter-spacing: .08em; }

/* ---------- Heroes ---------- */
.rb-hero, .rb-page-hero, .rb-audit-layout { padding: var(--rb-hero-y) var(--rb-page-x); }
.rb-hero-home, .rb-page-hero-visual, .rb-page-hero-media, .rb-audit-layout {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center;
}
.rb-hero-home, .rb-page-hero, .rb-audit-layout {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(60% 70% at 100% 0%, rgba(123, 77, 255, .14), transparent 60%),
    radial-gradient(45% 60% at 0% 100%, rgba(24, 195, 224, .12), transparent 60%),
    radial-gradient(40% 50% at 70% 100%, rgba(255, 62, 138, .08), transparent 60%),
    var(--rb-bg-soft);
  color: var(--rb-ink);
}
.rb-page-hero[class*="rb-svc-"] { background: radial-gradient(70% 80% at 100% 0%, color-mix(in srgb, var(--svc) 18%, transparent), transparent 62%), linear-gradient(180deg, var(--svc-soft), var(--rb-bg-soft)); }
.rb-hero h1, .rb-page-hero h1, .rb-audit-layout h1 { max-width: 17ch; }
.rb-hero p, .rb-page-hero p, .rb-audit-copy p { max-width: 60ch; color: var(--rb-ink-2); font-size: clamp(1.02rem, 1.4vw, 1.18rem); }
.rb-page-hero h1 { font-size: clamp(2rem, 3.8vw, 3.3rem); }
.rb-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.rb-page-hero-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--rb-radius); box-shadow: var(--rb-shadow); }
.rb-error-hero { text-align: left; }

/* Rising stack illustration */
.rb-stack-art { margin: 0; display: grid; gap: clamp(10px, 1.4vw, 16px); padding: clamp(8px, 2vw, 20px) 0; }
.rb-stack-bar {
  --shift: 0%; --w: 76%;
  display: flex; align-items: center; width: var(--w); margin-left: var(--shift);
  min-height: clamp(48px, 5.2vw, 64px); padding: 7px; border-radius: 999px;
  background: var(--svc); box-shadow: 0 14px 28px color-mix(in srgb, var(--svc) 30%, transparent);
  transition: opacity .25s ease, transform .25s ease;
}
.rb-stack-bar:nth-child(1) { --w: 50%; --shift: 50%; }
.rb-stack-bar:nth-child(2) { --shift: 24%; }
.rb-stack-bar:nth-child(3) { --shift: 16%; }
.rb-stack-bar:nth-child(4) { --shift: 8%; }
.rb-stack-bar:nth-child(5) { --shift: 0%; }
.rb-stack-bar em {
  display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%;
  padding: 8px 14px 8px 8px; border-radius: 999px; background: #fff; color: var(--rb-ink);
  font-style: normal; font-weight: 700; font-size: clamp(.8rem, 1vw, .92rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rb-stack-bar em i { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--svc-soft); color: var(--svc-text); }
.rb-stack-bar em .rb-icon { width: 16px; height: 16px; }
.rb-stack-art[data-focus] .rb-stack-bar { opacity: .32; }
.rb-stack-art[data-focus="launch"] .rb-svc-launch, .rb-stack-art[data-focus="auto"] .rb-svc-auto, .rb-stack-art[data-focus="list"] .rb-svc-list, .rb-stack-art[data-focus="ful"] .rb-svc-ful, .rb-stack-art[data-focus="health"] .rb-svc-health { opacity: 1; transform: translateX(-4px) scale(1.02); }
@media (prefers-reduced-motion: no-preference) {
  .rb-stack-bar { animation: rb-stack-in .7s cubic-bezier(.2, .8, .2, 1) both; }
  .rb-stack-bar:nth-child(5) { animation-delay: .05s; } .rb-stack-bar:nth-child(4) { animation-delay: .12s; } .rb-stack-bar:nth-child(3) { animation-delay: .19s; } .rb-stack-bar:nth-child(2) { animation-delay: .26s; } .rb-stack-bar:nth-child(1) { animation-delay: .33s; }
}
@keyframes rb-stack-in { from { transform: translateX(-28px); } to { transform: none; } }

/* ---------- Sections ---------- */
.rb-section, .rb-cta-band, .rb-platform-strip { padding: var(--rb-section-y) var(--rb-page-x); }
.rb-section-light { background: var(--rb-bg-soft); }
.rb-section-dark { background: var(--rb-bg-tint); color: var(--rb-ink); }
.rb-section-head { max-width: 760px; margin-bottom: clamp(26px, 4vw, 42px); }
.rb-section-head p:not(.rb-eyebrow) { color: var(--rb-ink-2); font-size: 1.1rem; margin-bottom: 0; }
.rb-center { text-align: center; margin-top: 30px; }
.rb-muted { color: var(--rb-ink-2); }
.rb-lead-copy { color: var(--rb-ink-2); font-size: 1.12rem; max-width: 62ch; }

/* ---------- Grids ---------- */
.rb-service-grid, .rb-pain-grid, .rb-case-grid, .rb-testimonial-grid, .rb-blog-grid, .rb-team-grid, .rb-logo-grid, .rb-marketplace-grid, .rb-industry-grid, .rb-comparison-grid, .rb-resource-grid, .rb-feature-grid, .rb-integration-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--rb-grid-gap);
}
.rb-feature-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* ---------- Cards ---------- */
.rb-service-card, .rb-case-card, .rb-testimonial-card, .rb-blog-card, .rb-team-card, .rb-side-panel, .rb-illustration-panel, .rb-industry-card, .rb-resource-card, .rb-feature-card, .rb-comparison-grid article, .rb-marketplace-card, .rb-capability-grid article, .rb-pain-grid article {
  position: relative; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); background: #fff; box-shadow: var(--rb-shadow-sm);
  padding: var(--rb-card-pad);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.rb-service-card:hover, .rb-blog-card:hover, .rb-resource-card:hover, .rb-industry-card:hover, .rb-case-card:hover, .rb-marketplace-card:hover { transform: translateY(-3px); box-shadow: var(--rb-shadow); border-color: color-mix(in srgb, var(--svc, var(--rb-indigo)) 35%, var(--rb-line)); }
.rb-service-card, .rb-feature-card[class*="rb-svc-"] { display: flex; flex-direction: column; overflow: hidden; }
.rb-service-card::before, .rb-feature-card[class*="rb-svc-"]::before, .rb-side-panel[class*="rb-svc-"]::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--svc, var(--rb-indigo)); }
.rb-service-card h3 a { color: var(--rb-ink); text-decoration: none; }
.rb-service-card h3 a::after { content: ""; position: absolute; inset: 0; }
.rb-service-card h3 a:hover { color: var(--svc-text, var(--rb-indigo)); }
.rb-service-icon, .rb-service-row-visual span, .rb-avatar {
  width: 52px; height: 52px; display: inline-grid; place-items: center; margin-bottom: 18px;
  border-radius: 14px; background: var(--svc-soft, var(--rb-bg-tint)); color: var(--svc-text, var(--rb-indigo));
  font-weight: 800; font-style: normal;
}
.rb-service-card p, .rb-case-card p, .rb-blog-card p, .rb-team-card p, .rb-industry-card p, .rb-resource-card p, .rb-feature-card p, .rb-comparison-grid p, .rb-marketplace-card p:not(.rb-label), .rb-capability-grid p { color: var(--rb-ink-2); }
.rb-card-link { position: relative; z-index: 1; margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--svc-text, var(--rb-indigo)); font-weight: 700; text-decoration: none; }
.rb-card-link::after { content: "→"; transition: transform .15s ease; }
.rb-card-link:hover::after { transform: translateX(3px); }
.rb-team-photo { width: 56px; height: 56px; display: block; margin-bottom: 18px; border-radius: 50%; object-fit: cover; }
.rb-chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.rb-chip-list span { padding: 6px 12px; border-radius: 999px; background: var(--rb-bg-tint); color: var(--rb-ink-2); font-size: .84rem; font-weight: 600; }
.rb-mini-list { margin: 14px 0 0; padding-left: 18px; color: var(--rb-ink-2); font-size: .94rem; }
.rb-mini-list li + li { margin-top: 6px; }
.rb-feature-card h3 { margin-top: 2px; }

/* Marketplace & capability cards */
.rb-marketplace-card { min-height: 200px; display: flex; flex-direction: column; gap: 6px; }
.rb-marketplace-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; border-radius: var(--rb-radius) var(--rb-radius) 0 0; background: var(--rb-stack-stripe); }
.rb-marketplace-card h3 { font-size: 1.4rem; }
.rb-accent-amazon, .rb-accent-walmart, .rb-accent-orange, .rb-accent-navy { border-color: var(--rb-line); }
.rb-capability-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rb-capability-grid span { color: var(--rb-indigo); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rb-capability-atlas { max-width: 100%; }

/* Pain points */
.rb-pain-grid article { min-height: 120px; display: grid; align-content: start; gap: 12px; }
.rb-pain-grid article span { width: 34px; height: 10px; font-size: 0; border-radius: 4px; background: var(--rb-stack-stripe); }
.rb-pain-grid article:nth-child(5n+1) span { background: var(--svc-launch); } .rb-pain-grid article:nth-child(5n+2) span { background: var(--svc-auto); } .rb-pain-grid article:nth-child(5n+3) span { background: var(--svc-list); } .rb-pain-grid article:nth-child(5n+4) span { background: var(--svc-ful); } .rb-pain-grid article:nth-child(5n) span { background: var(--svc-health); }
.rb-pain-grid h3 { font-size: 1.08rem; margin: 0; }

/* Deliverables */
.rb-deliverable-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rb-deliverable-grid li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--rb-line); font-weight: 600; }
.rb-deliverable-grid li::before { content: ""; width: 22px; height: 22px; flex: none; margin-top: 1px; border-radius: 50%; background: var(--svc-soft, var(--rb-bg-tint)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1840' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; box-shadow: inset 0 0 0 2px var(--svc, var(--rb-indigo)); }

/* Lists */
.rb-check-list { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.rb-check-list li { position: relative; padding-left: 32px; }
.rb-check-list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--svc-soft, var(--rb-indigo-soft)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b3bff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.rb-check-list-large li { font-weight: 600; color: var(--rb-ink); }

/* Process */
.rb-process { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.rb-process li { position: relative; padding: 24px; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); background: #fff; box-shadow: var(--rb-shadow-sm); }
.rb-process li:nth-child(5n+1) { --svc: var(--svc-launch); } .rb-process li:nth-child(5n+2) { --svc: var(--svc-auto); } .rb-process li:nth-child(5n+3) { --svc: var(--svc-list); } .rb-process li:nth-child(5n+4) { --svc: var(--svc-ful); } .rb-process li:nth-child(5n) { --svc: var(--svc-health); }
.rb-process span { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 12px; background: var(--svc); color: #fff; font-weight: 800; }
.rb-service-list { display: grid; gap: 20px; }
.rb-service-row { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center; padding: 26px; border-radius: var(--rb-radius); background: #fff; border: 1px solid var(--rb-line); box-shadow: var(--rb-shadow-sm); }
.rb-service-row-visual { display: grid; place-items: center; min-height: 160px; background: var(--rb-bg-soft); border-radius: var(--rb-radius); }

/* Stats (only shown when real numbers exist) */
.rb-stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.rb-stat { padding: 24px; border-radius: var(--rb-radius); background: #fff; border: 1px solid var(--rb-line); }
.rb-stat strong { display: block; color: var(--rb-indigo); font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -.03em; }
.rb-stat span { display: block; margin-top: 10px; font-weight: 700; }
.rb-stat small { color: var(--rb-ink-2); }

/* Split layouts */
.rb-split, .rb-contact-grid, .rb-blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr); gap: clamp(26px, 5vw, 60px); align-items: start; }
.rb-side-panel { overflow: hidden; }
.rb-side-panel h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }

/* Trust badges & strips */
.rb-trust-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 6px; }
.rb-trust-badges span, .rb-trust-badge { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--rb-line); color: var(--rb-ink); font-size: .9rem; font-weight: 700; }
.rb-trust-badges span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--svc-auto); }
.rb-platform-strip, .rb-trust-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; padding-block: 22px; background: #fff; border-block: 1px solid var(--rb-line); }
.rb-platform-strip span { color: var(--rb-ink-3); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rb-platform-strip strong, .rb-logo-grid span { padding: 8px 14px; border-radius: 999px; background: var(--rb-bg-soft); color: var(--rb-ink); font-weight: 700; }
.rb-platform-strip-inline { justify-content: flex-start; margin-top: 20px; border: 0; border-radius: var(--rb-radius); }

/* Filters */
.rb-filter-strip, .rb-service-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -10px 0 26px; }
.rb-filter-strip span, .rb-filter-strip button, .rb-service-filter { padding: 8px 14px; border: 1px solid var(--rb-line); border-radius: 999px; background: #fff; color: var(--rb-ink); font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; }
.rb-filter-strip button.is-active, .rb-service-filter.is-active { border-color: var(--rb-indigo); background: var(--rb-indigo); color: #fff; }

/* Testimonials (render only when real) */
.rb-testimonial-card { margin: 0; }
.rb-stars, .rb-testimonial-stars { color: var(--svc-health); letter-spacing: 2px; margin-bottom: 12px; }
.rb-testimonial-card blockquote { margin: 0 0 18px; color: var(--rb-ink); font-size: 1.05rem; }
.rb-testimonial-card figcaption span { display: block; color: var(--rb-ink-2); font-size: .92rem; }

/* Case studies */
.rb-case-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.rb-case-detail-grid section { padding: 22px; border-radius: var(--rb-radius); background: var(--rb-bg-soft); }

/* ---------- FAQs ---------- */
.rb-faq-layout { display: grid; gap: 28px; max-width: 900px; }
.rb-faq-group h2 { font-size: 1.15rem; letter-spacing: -.01em; margin-bottom: 12px; color: var(--rb-ink-2); }
.rb-faq-item { border: 1px solid var(--rb-line); border-radius: 14px; background: #fff; margin-bottom: 10px; transition: border-color .15s ease, box-shadow .15s ease; }
.rb-faq-item[open] { border-color: color-mix(in srgb, var(--rb-indigo) 40%, var(--rb-line)); box-shadow: var(--rb-shadow-sm); }
.rb-faq-item summary { position: relative; display: block; padding: 18px 56px 18px 20px; font-weight: 700; font-size: 1.04rem; color: var(--rb-ink); cursor: pointer; list-style: none; }
.rb-faq-item summary::-webkit-details-marker { display: none; }
.rb-faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; width: 28px; height: 28px; display: grid; place-items: center; transform: translateY(-50%); border-radius: 50%; background: var(--rb-bg-tint); color: var(--rb-indigo); font-size: 1.2rem; font-weight: 700; transition: transform .2s ease; }
.rb-faq-item[open] summary::after { content: "−"; }
.rb-faq-item p { margin: 0; padding: 0 20px 18px; color: var(--rb-ink-2); }

/* ---------- Chat CTA (the only way to contact us) ---------- */
.rb-chat-cta { display: grid; gap: 14px; padding: clamp(20px, 3vw, 28px); border-radius: 20px; background: #fff; border: 1px solid var(--rb-line); box-shadow: var(--rb-shadow); overflow: hidden; position: relative; }
.rb-chat-cta::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--rb-stack-stripe); }
.rb-chat-cta-compact { padding: 20px; }
.rb-form-promise { padding: 0; margin: 4px 0 0; background: none; }
.rb-form-promise strong, .rb-form-promise span { display: block; }
.rb-form-promise strong { color: var(--rb-ink); font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 4px; }
.rb-form-promise span, .rb-form-privacy, .rb-form-status { color: var(--rb-ink-2); font-size: .94rem; margin: 0; }
.rb-chat-steps { margin: 0; padding: 0; list-style: none; counter-reset: rbstep; display: grid; gap: 8px; }
.rb-chat-steps li { counter-increment: rbstep; display: flex; gap: 12px; align-items: center; color: var(--rb-ink); font-weight: 600; }
.rb-chat-steps li::before { content: counter(rbstep); width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 9px; color: #fff; font-size: .85rem; font-weight: 800; background: var(--svc-launch); }
.rb-chat-steps li:nth-child(2)::before { background: var(--svc-list); }
.rb-chat-steps li:nth-child(3)::before { background: var(--svc-auto); }
.rb-chat-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.rb-chat-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; color: #fff; background: var(--rb-indigo); box-shadow: 0 10px 22px rgba(27, 24, 64, .12); transition: transform .15s ease, box-shadow .15s ease; }
.rb-chat-button:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 14px 28px rgba(27, 24, 64, .18); }
.rb-chat-button::before { content: ""; width: 18px; height: 18px; flex: none; background: currentColor; -webkit-mask: var(--chat-icon) center / contain no-repeat; mask: var(--chat-icon) center / contain no-repeat; }
.rb-chat-whatsapp { background: #128c4a; --chat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.3 14.2c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .1-3.2-.8-2.7-1.1-4.4-3.9-4.5-4.1-.1-.2-1.1-1.4-1.1-2.7s.7-1.9.9-2.2c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.8 2c.1.2.1.4 0 .6l-.4.6-.4.4c-.1.2-.3.3-.1.6.2.3.8 1.3 1.7 2.1 1.2 1 2.1 1.3 2.4 1.5.3.1.5.1.6-.1l.9-1.1c.2-.3.4-.2.7-.1l2 .9c.3.1.5.2.5.4.1.1.1.7-.2 1.4z'/%3E%3C/svg%3E"); }
.rb-chat-facebook, .rb-chat-messenger { background: #3b5bdb; --chat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.4 2 2 6.1 2 11.6c0 2.9 1.2 5.4 3.2 7.1V22l3-1.7c1.2.3 2.4.5 3.8.5 5.6 0 10-4.1 10-9.6S17.6 2 12 2zm1 12.9-2.6-2.7-5 2.7 5.5-5.8 2.6 2.7 4.9-2.7-5.4 5.8z'/%3E%3C/svg%3E"); }
.rb-chat-instagram { background: #c2255c; --chat-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1' fill='black'/%3E%3C/svg%3E"); }

/* Legacy form styles (kept for any remaining form markup) */
.rb-lead-form { padding: 24px; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); background: #fff; box-shadow: var(--rb-shadow-sm); }
.rb-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rb-lead-form label { display: grid; gap: 6px; margin-bottom: 14px; font-weight: 700; }
.rb-lead-form input, .rb-lead-form select, .rb-lead-form textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--rb-line); border-radius: 12px; font: inherit; }
.rb-submit-cta { width: 100%; }
.rb-lead-magnet { background: var(--rb-bg-soft); }

/* ---------- Audit landing ---------- */
.rb-audit-layout { grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr); align-items: start; }
.rb-audit-list { margin-top: 20px; }
.rb-audit-teaser { color: var(--rb-ink-2); }
.rb-booking-box { margin-top: 22px; border-radius: var(--rb-radius); overflow: hidden; background: #fff; border: 1px solid var(--rb-line); }
.rb-booking-box iframe { width: 100%; min-height: 620px; border: 0; display: block; }

/* ---------- Calculator (kept for pages that still use it) ---------- */
.rb-calculator-section { display: grid; grid-template-columns: minmax(0, .9fr) minmax(300px, .7fr); gap: clamp(24px, 5vw, 54px); align-items: center; }
.rb-calculator { display: grid; gap: 18px; padding: 26px; border-radius: var(--rb-radius); background: #fff; border: 1px solid var(--rb-line); box-shadow: var(--rb-shadow-sm); }
.rb-calculator label { display: grid; gap: 8px; font-weight: 700; }
.rb-calculator input[type="number"] { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--rb-line); border-radius: 12px; font: inherit; }
.rb-calculator input[type="range"] { width: 100%; accent-color: var(--rb-indigo); }
.rb-calculator-result { padding: 18px; border-radius: 14px; background: var(--rb-bg-soft); }
.rb-calculator-result span, .rb-calculator-result small { display: block; color: var(--rb-ink-2); }
.rb-calculator-result strong { display: block; margin: 6px 0; font-size: 2.1rem; color: var(--rb-indigo); }

/* ---------- CTA bands ---------- */
.rb-cta-band {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 28px;
  margin: 0 var(--rb-page-x) var(--rb-section-y); padding: clamp(32px, 5vw, 56px); border-radius: 28px;
  background: linear-gradient(120deg, var(--rb-indigo) 0%, var(--svc-launch) 55%, var(--svc-list) 130%); color: #fff;
}
.rb-cta-band::after { content: ""; position: absolute; right: -40px; bottom: -30px; width: 280px; height: 180px; background: linear-gradient(var(--svc-ful) 0 0) 0 150px / 170px 26px no-repeat, linear-gradient(var(--svc-auto) 0 0) 22px 112px / 170px 26px no-repeat, linear-gradient(var(--svc-list) 0 0) 44px 74px / 170px 26px no-repeat, linear-gradient(var(--svc-health) 0 0) 140px 36px / 100px 26px no-repeat; opacity: .55; border-radius: 16px; pointer-events: none; }
.rb-cta-band h2, .rb-cta-band .rb-eyebrow { color: #fff; }
.rb-cta-band .rb-eyebrow::before { filter: brightness(2); }
.rb-cta-band p { color: rgba(255, 255, 255, .88); max-width: 60ch; }
.rb-cta-band > * { position: relative; z-index: 1; }
.rb-cta-band .rb-button, .rb-cta-band .rb-button-primary { background: #fff; color: var(--rb-indigo); box-shadow: 0 12px 26px rgba(0, 0, 0, .15); }
.rb-urgent-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 30px var(--rb-page-x); background: var(--svc-health-soft); border-block: 1px solid color-mix(in srgb, var(--svc-health) 30%, transparent); }
.rb-urgent-band h2 { margin: 0; color: var(--svc-health-text); font-size: 1.6rem; }
.rb-urgent-band p { margin: 0; }

/* ---------- Articles, blog & editor blocks ---------- */
.rb-blog-hero { }
.rb-blog-card { display: flex; flex-direction: column; overflow: hidden; }
.rb-blog-thumb { display: block; margin: calc(var(--rb-card-pad) * -1) calc(var(--rb-card-pad) * -1) 18px; }
.rb-blog-thumb img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.rb-blog-card h2 { font-size: 1.22rem; line-height: 1.3; margin-bottom: 10px; }
.rb-blog-card h2 a { color: var(--rb-ink); text-decoration: none; }
.rb-blog-card h2 a::after { content: ""; position: absolute; inset: 0; }
.rb-blog-card h2 a:hover { color: var(--rb-indigo); }
.rb-blog-layout { grid-template-columns: minmax(0, 1fr) 300px; }
.rb-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rb-blog-sidebar { position: sticky; top: 96px; display: grid; gap: 14px; padding: 22px; border-radius: var(--rb-radius); background: var(--rb-bg-soft); }
.rb-blog-sidebar h2 { font-size: 1.1rem; margin: 6px 0 0; }
.rb-blog-sidebar ul { margin: 0; padding-left: 18px; }
.rb-source-chip { display: inline-block; margin: 8px 0 12px; padding: 4px 10px; border-radius: 999px; background: var(--rb-bg-tint); color: var(--rb-ink-2); font-size: .78rem; font-weight: 700; }
.rb-source-note, .rb-source-mini { border: 1px solid var(--rb-line); border-radius: var(--rb-radius); background: #fff; }
.rb-source-note { margin-top: clamp(20px, 4vw, 44px); padding: clamp(20px, 3vw, 30px); }
.rb-source-mini { margin: 20px 0; padding: 16px; }
.rb-source-mini a { font-weight: 700; }
.rb-article { max-width: 780px; margin: 0 auto; }
.rb-article-content, .rb-gutenberg-content, .entry-content { font-size: 1.1rem; line-height: 1.75; color: var(--rb-ink); }
.rb-article-content > * + *, .rb-gutenberg-content > * + * { margin-top: 1.1em; }
.rb-article-content h2, .rb-gutenberg-content h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2em; }
.rb-article-content h3, .rb-gutenberg-content h3 { font-size: 1.3rem; margin-top: 1.6em; }
.rb-article-content ul, .rb-article-content ol, .rb-gutenberg-content ul, .rb-gutenberg-content ol { padding-left: 1.3em; }
.rb-article-content li + li, .rb-gutenberg-content li + li { margin-top: .4em; }
.rb-article-content blockquote, .rb-gutenberg-content blockquote, .wp-block-quote { margin: 1.6em 0; padding: 18px 22px; border-left: 5px solid var(--svc-launch); border-radius: 0 14px 14px 0; background: var(--rb-bg-soft); font-size: 1.12rem; }
.rb-article-content table, .rb-gutenberg-content table, .wp-block-table table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.wp-block-table { overflow-x: auto; }
.rb-article-content th, .rb-article-content td, .rb-gutenberg-content th, .rb-gutenberg-content td, .wp-block-table th, .wp-block-table td { padding: 10px 12px; border-bottom: 1px solid var(--rb-line); text-align: left; vertical-align: top; }
.rb-article-content th, .rb-gutenberg-content th, .wp-block-table th { background: var(--rb-bg-soft); font-weight: 700; }
.rb-article-content img, .rb-gutenberg-content img { border-radius: 14px; }
.rb-article-content code, .rb-gutenberg-content code { padding: 2px 6px; border-radius: 6px; background: var(--rb-bg-tint); font-size: .92em; }
.wp-block-button__link, .wp-element-button { display: inline-flex; min-height: 48px; align-items: center; padding: 12px 22px; border-radius: 999px; background: var(--rb-indigo); color: #fff; font-weight: 700; text-decoration: none; }
.wp-block-button.is-style-outline .wp-block-button__link { background: #fff; color: var(--rb-indigo); border: 2px solid var(--rb-indigo); }
.wp-block-separator { border: 0; height: 4px; border-radius: 4px; background: var(--rb-stack-stripe); margin: 2em 0; }
.wp-block-image figcaption, .wp-caption-text { color: var(--rb-ink-3); font-size: .9rem; text-align: center; }
.wp-block-columns { gap: 24px; }
.wp-block-group.has-background, .wp-block-cover { border-radius: var(--rb-radius); }
.has-text-align-center { text-align: center; }

/* ---------- Media ---------- */
.rb-page-media { display: grid; gap: 22px; }
.rb-video-embed { overflow: hidden; border-radius: var(--rb-radius); background: #000; box-shadow: var(--rb-shadow); }
.rb-video-embed iframe { display: block; width: 100%; aspect-ratio: 16 / 9; min-height: 0; border: 0; }
.rb-media-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rb-media-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }

/* ---------- Footer ---------- */
.rb-site-footer { position: relative; padding: 64px var(--rb-page-x) 26px; background: var(--rb-bg-soft); color: var(--rb-ink); }
.rb-site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--rb-stack-stripe); }
.rb-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr .8fr 1.2fr; gap: 32px; }
.rb-site-footer h2 { font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--rb-ink-3); margin-bottom: 14px; }
.rb-site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.rb-site-footer a { color: var(--rb-ink); text-decoration: none; font-weight: 500; }
.rb-site-footer a:hover { color: var(--rb-indigo); }
.rb-site-footer p { color: var(--rb-ink-2); }
.rb-brand-footer { margin-bottom: 14px; }
.rb-socials { display: flex; flex-wrap: wrap; gap: 14px; font-weight: 700; }
.rb-footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 22px; margin-top: 40px; border-top: 1px solid var(--rb-line); }
.rb-footer-bottom p { margin: 0; }
.rb-footer-bottom nav { display: flex; gap: 18px; }
.rb-footer-disclaimer { margin: 16px 0 0; font-size: .82rem; color: var(--rb-ink-3); max-width: 90ch; }
.rb-site-footer .rb-chat-button { color: #fff; }

/* ---------- Floating WhatsApp ---------- */
.rb-whatsapp-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 58px; height: 58px; display: grid; place-items: center;
  border-radius: 50%; background: #128c4a; color: transparent; font-size: 0; text-decoration: none; box-shadow: 0 14px 30px rgba(18, 140, 74, .35);
}
.rb-whatsapp-float::before { content: ""; width: 28px; height: 28px; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.3 14.2c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .1-3.2-.8-2.7-1.1-4.4-3.9-4.5-4.1-.1-.2-1.1-1.4-1.1-2.7s.7-1.9.9-2.2c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.8 2c.1.2.1.4 0 .6l-.4.6-.4.4c-.1.2-.3.3-.1.6.2.3.8 1.3 1.7 2.1 1.2 1 2.1 1.3 2.4 1.5.3.1.5.1.6-.1l.9-1.1c.2-.3.4-.2.7-.1l2 .9c.3.1.5.2.5.4.1.1.1.7-.2 1.4z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.3 14.2c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .1-3.2-.8-2.7-1.1-4.4-3.9-4.5-4.1-.1-.2-1.1-1.4-1.1-2.7s.7-1.9.9-2.2c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.8 2c.1.2.1.4 0 .6l-.4.6-.4.4c-.1.2-.3.3-.1.6.2.3.8 1.3 1.7 2.1 1.2 1 2.1 1.3 2.4 1.5.3.1.5.1.6-.1l.9-1.1c.2-.3.4-.2.7-.1l2 .9c.3.1.5.2.5.4.1.1.1.7-.2 1.4z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- Floating chat buttons ---------- */
.rb-chat-float { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.rb-chat-float .rb-whatsapp-float { position: static; }
.rb-messenger-float {
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px 0 16px; border-radius: 999px;
  background: #3b5bdb; color: #fff; text-decoration: none; font-weight: 700; font-size: .98rem;
  box-shadow: 0 14px 30px rgba(59, 91, 219, .35); transition: transform .15s ease, box-shadow .15s ease;
}
.rb-messenger-float:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 34px rgba(59, 91, 219, .42); }
.rb-messenger-float::before { content: ""; width: 26px; height: 26px; flex: none; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.4 2 2 6.1 2 11.6c0 2.9 1.2 5.4 3.2 7.1V22l3-1.7c1.2.3 2.4.5 3.8.5 5.6 0 10-4.1 10-9.6S17.6 2 12 2zm1 12.9-2.6-2.7-5 2.7 5.5-5.8 2.6 2.7 4.9-2.7-5.4 5.8z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.4 2 2 6.1 2 11.6c0 2.9 1.2 5.4 3.2 7.1V22l3-1.7c1.2.3 2.4.5 3.8.5 5.6 0 10-4.1 10-9.6S17.6 2 12 2zm1 12.9-2.6-2.7-5 2.7 5.5-5.8 2.6 2.7 4.9-2.7-5.4 5.8z'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 760px) {
  .rb-chat-float { right: 14px; bottom: 14px; }
  .rb-messenger-float { width: 56px; height: 56px; padding: 0; justify-content: center; }
  .rb-messenger-float .rb-float-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- Modal (legacy) ---------- */
.rb-modal-overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(27, 24, 64, .5); }
.rb-modal-overlay[hidden] { display: none; }
.rb-modal-content { position: relative; width: min(520px, 100%); padding: 28px; border-radius: 20px; background: #fff; box-shadow: var(--rb-shadow); }
.rb-modal-close { position: absolute; right: 12px; top: 8px; border: 0; background: transparent; font-size: 2rem; cursor: pointer; }

/* ---------- Old dashboard/board visuals: hidden if any markup remains ---------- */
.rb-dashboard-mockup, .rb-context-visual, .rb-context-top, .rb-context-grid, .rb-context-stack, .rb-context-shelf { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .rb-site-header { min-height: 64px; }
  .rb-nav-toggle { display: block; }
  .rb-primary-nav { position: fixed; inset: 64px 0 0; display: none; flex-direction: column; align-items: stretch; gap: 14px; padding: 18px 16px 32px; background: #fff; overflow: auto; border-top: 1px solid var(--rb-line); }
  .rb-primary-nav.is-open { display: flex; }
  .rb-primary-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .rb-primary-nav a, .rb-primary-nav summary { width: 100%; min-height: 50px; font-size: 1.05rem; }
  .rb-nav-panel { position: static; width: 100%; grid-template-columns: 1fr; padding: 6px 0 10px; border: 0; box-shadow: none; }
  .rb-primary-nav .rb-nav-cta { width: 100%; min-height: 52px; }
  .rb-feature-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .rb-service-grid, .rb-pain-grid, .rb-case-grid, .rb-testimonial-grid, .rb-team-grid, .rb-logo-grid, .rb-marketplace-grid, .rb-industry-grid, .rb-comparison-grid, .rb-resource-grid, .rb-feature-grid, .rb-capability-grid, .rb-integration-grid, .rb-deliverable-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rb-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rb-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rb-hero-home, .rb-page-hero-visual, .rb-page-hero-media, .rb-split, .rb-contact-grid, .rb-audit-layout, .rb-blog-layout, .rb-calculator-section { grid-template-columns: 1fr; }
  .rb-blog-sidebar { position: static; }
  .rb-stack-art { max-width: 560px; }
}
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .rb-service-grid, .rb-pain-grid, .rb-case-grid, .rb-testimonial-grid, .rb-blog-grid, .rb-team-grid, .rb-logo-grid, .rb-marketplace-grid, .rb-industry-grid, .rb-comparison-grid, .rb-resource-grid, .rb-feature-grid, .rb-feature-grid-5, .rb-capability-grid, .rb-stats-grid, .rb-process, .rb-form-grid, .rb-case-detail-grid, .rb-media-gallery, .rb-deliverable-grid, .rb-footer-grid, .rb-integration-grid { grid-template-columns: 1fr; }
  .rb-service-row { grid-template-columns: 1fr; }
  .rb-cta-band, .rb-urgent-band, .rb-footer-bottom { flex-direction: column; align-items: flex-start; }
  .rb-cta-band { margin-inline: 16px; border-radius: 22px; }
  .rb-cta-band::after { opacity: .3; }
  .rb-page-hero .rb-stack-art, .rb-audit-layout .rb-stack-art { display: none; }
  .rb-hero-home .rb-stack-art { gap: 8px; }
  .rb-stack-bar { min-height: 44px; --w: 82%; }
  .rb-stack-bar:nth-child(1) { --w: 74%; --shift: 26%; }
  .rb-stack-bar:nth-child(2) { --shift: 18%; }
  .rb-stack-bar:nth-child(3) { --shift: 12%; }
  .rb-stack-bar:nth-child(4) { --shift: 6%; }
  .rb-hero-home .rb-stack-art { padding-right: 0; margin-bottom: 8px; }
  .rb-stack-bar em { font-size: .76rem; padding: 6px 10px 6px 6px; }
  .rb-stack-bar em i { width: 24px; height: 24px; }
  .rb-wordmark { font-size: 1.22rem; }
  .rb-actions .rb-button { flex: 1 1 100%; }
  .rb-chat-button { flex: 1 1 100%; }
  .rb-whatsapp-float { right: 14px; bottom: 14px; width: 54px; height: 54px; }
}
