/* ==========================================================================
   RM Pulse — Corporate Website Stylesheet
   Transforming Walls. Building Brands.
   Fonts: Outfit (UI) + Fraunces (display) + JetBrains Mono (accents)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand — aligned with R.M. Arts logo spectrum */
  --rm-primary: #6C3CE9;
  --rm-primary-600: #5528D4;
  --rm-primary-300: #A78BFA;
  --rm-primary-100: #F1EBFF;
  --rm-secondary: #E91E63;
  --rm-secondary-100: #FFE4EF;
  --rm-accent: #00B8D4;
  --rm-accent-100: #E0F7FA;
  --rm-lime: #8BC34A;
  --rm-success: #22C55E;
  --rm-success-100: #DCFCE7;
  --rm-warning: #F59E0B;
  --rm-danger: #EF4444;
  --rm-dark: #0F172A;
  --rm-dark-800: #1E293B;
  --rm-dark-700: #334155;
  --rm-light: #F7F8FC;

  /* Neutrals */
  --rm-body: #475569;
  --rm-heading: #0F172A;
  --rm-muted: #64748B;
  --rm-border: #E2E8F0;
  --rm-surface: #FFFFFF;
  --rm-surface-alt: #F1F5F9;

  /* Gradients — pink → purple → blue → cyan → lime (logo) */
  --rm-grad-brand: linear-gradient(120deg, #E91E63 0%, #6C3CE9 40%, #2196F3 70%, #00BCD4 100%);
  --rm-grad-hot: linear-gradient(120deg, #E91E63 0%, #FF6584 100%);
  --rm-grad-dark: linear-gradient(140deg, #0F172A 0%, #1E1B4B 50%, #312E81 100%);
  --rm-grad-soft: linear-gradient(180deg, #FFFFFF 0%, #F1F5F9 55%, #EEF2FF 100%);
  --rm-grad-text: linear-gradient(100deg, #E91E63 0%, #6C3CE9 45%, #00BCD4 100%);
  --rm-grad-hero: radial-gradient(1200px 600px at 10% -10%, rgba(233,30,99,.12), transparent 55%),
                  radial-gradient(900px 500px at 90% 0%, rgba(0,188,212,.14), transparent 50%),
                  radial-gradient(700px 400px at 50% 100%, rgba(108,60,233,.08), transparent 45%),
                  #F7F8FC;

  /* Glass */
  --rm-glass-bg: rgba(255, 255, 255, 0.78);
  --rm-glass-border: rgba(255, 255, 255, 0.6);
  --rm-glass-dark-bg: rgba(15, 23, 42, 0.55);

  /* Shadows */
  --rm-shadow-xs: 0 1px 2px rgba(15, 23, 42, .05);
  --rm-shadow-sm: 0 4px 14px rgba(15, 23, 42, .06);
  --rm-shadow-md: 0 12px 32px rgba(15, 23, 42, .08);
  --rm-shadow-lg: 0 24px 60px rgba(15, 23, 42, .11);
  --rm-shadow-xl: 0 40px 90px rgba(15, 23, 42, .16);
  --rm-shadow-brand: 0 16px 40px rgba(108, 60, 233, .26);
  --rm-shadow-brand-lg: 0 26px 60px rgba(233, 30, 99, .22);

  /* Radii */
  --rm-r-sm: 10px;
  --rm-r-md: 16px;
  --rm-r-lg: 22px;
  --rm-r-xl: 30px;
  --rm-r-pill: 999px;

  /* Typography */
  --rm-font: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --rm-font-display: 'Fraunces', 'Outfit', Georgia, serif;
  --rm-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  /* Layout */
  --rm-header-h: 82px;
  --rm-ease: cubic-bezier(.22, 1, .36, 1);

  /* Bootstrap overrides */
  --bs-primary: #6C3CE9;
  --bs-primary-rgb: 108, 60, 233;
  --bs-body-font-family: var(--rm-font);
  --bs-body-color: #4B5675;
  --bs-border-radius: 14px;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
* { -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--rm-header-h) + 20px); }

body.rm-body {
  font-family: var(--rm-font);
  font-size: 1.0125rem;
  line-height: 1.75;
  color: var(--rm-body);
  background: var(--rm-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--rm-font);
  color: var(--rm-heading);
  font-weight: 700;
  letter-spacing: -.022em;
  line-height: 1.18;
}

h1 { font-size: clamp(2.35rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); font-weight: 800; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.12rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1.05rem; }

a { color: var(--rm-primary); text-decoration: none; transition: color .25s var(--rm-ease); }
a:hover { color: var(--rm-primary-600); }

img, svg { max-width: 100%; }

::selection { background: var(--rm-primary); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: #EDEFF7; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #5E3BEE, #00BCD4); border-radius: 99px; border: 3px solid #EDEFF7; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #4C2FD1, #00A5BA); }

.rm-skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--rm-primary); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 12px 0; font-weight: 600;
}
.rm-skip-link:focus { left: 0; color: #fff; }

:focus-visible { outline: 3px solid rgba(94, 59, 238, .45); outline-offset: 3px; border-radius: 6px; }

/* Padding matches the widest gutter in use (g-5 = 3rem) so rows never
   spill past the container and trigger horizontal scroll. */
.container { max-width: 1240px; padding-left: 1.5rem; padding-right: 1.5rem; }

/* --------------------------------------------------------------------------
   3. Typographic utilities
   -------------------------------------------------------------------------- */
.rm-display { font-family: var(--rm-font-display); font-weight: 600; font-variation-settings: 'SOFT' 0, 'WONK' 1; letter-spacing: -.02em; }
.rm-serif-italic { font-family: var(--rm-font-display); font-style: italic; font-weight: 500; }

.rm-gradient-text {
  background: var(--rm-grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.rm-underline { position: relative; display: inline-block; white-space: nowrap; }
.rm-underline::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: .04em; height: .32em;
  background: linear-gradient(90deg, rgba(233, 30, 99, .30), rgba(94, 59, 238, .28));
  border-radius: 99px; z-index: -1; transform: skewX(-8deg);
}

.rm-mono { font-family: var(--rm-font-mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }

.rm-lead { font-size: 1.12rem; line-height: 1.8; color: var(--rm-body); }
.rm-muted { color: var(--rm-muted); }
.rm-text-dark { color: var(--rm-heading); }

.rm-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--rm-primary); margin-bottom: 1rem;
}
.rm-eyebrow::before { content: ''; width: 26px; height: 2px; border-radius: 2px; background: var(--rm-grad-brand); }
.rm-eyebrow.on-dark { color: #A9B4FF; }
.rm-eyebrow.centered { justify-content: center; }

.rm-chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .42rem .95rem; border-radius: var(--rm-r-pill);
  font-size: .78rem; font-weight: 600; letter-spacing: .01em;
  background: var(--rm-primary-100); color: var(--rm-primary-600);
  border: 1px solid rgba(94, 59, 238, .14);
}
.rm-chip-light { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .26); backdrop-filter: blur(8px); }
.rm-chip-pink { background: var(--rm-secondary-100); color: #C2185B; border-color: rgba(233, 30, 99, .16); }
.rm-chip-cyan { background: var(--rm-accent-100); color: #007C8C; border-color: rgba(0, 188, 212, .18); }
.rm-chip-green { background: var(--rm-success-100); color: #15803D; border-color: rgba(34, 197, 94, .2); }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --bs-btn-padding-y: .82rem;
  --bs-btn-padding-x: 1.7rem;
  font-weight: 600;
  border-radius: var(--rm-r-pill);
  letter-spacing: .005em;
  transition: transform .3s var(--rm-ease), box-shadow .3s var(--rm-ease), background .3s var(--rm-ease), color .25s var(--rm-ease), border-color .25s var(--rm-ease);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
}
.btn i { font-size: 1.02em; }
.btn:active { transform: translateY(1px) scale(.99); }

.btn-brand {
  position: relative; overflow: hidden;
  color: #fff; border: none;
  background: linear-gradient(120deg, #E91E63 0%, #6C3CE9 48%, #00BCD4 120%);
  background-size: 180% 180%;
  box-shadow: var(--rm-shadow-brand);
}
.btn-brand::after {
  content: ''; position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(120deg, #6C3CE9 0%, #E91E63 70%);
  transition: opacity .38s var(--rm-ease);
}
.btn-brand > * { position: relative; z-index: 1; }
.btn-brand:hover, .btn-brand:focus { color: #fff; transform: translateY(-3px); box-shadow: var(--rm-shadow-brand-lg); }
.btn-brand:hover::after { opacity: 1; }

.btn-outline-brand {
  color: var(--rm-primary); background: #fff;
  border: 1.6px solid rgba(94, 59, 238, .28);
  box-shadow: var(--rm-shadow-xs);
}
.btn-outline-brand:hover { color: #fff; background: var(--rm-primary); border-color: var(--rm-primary); transform: translateY(-3px); box-shadow: var(--rm-shadow-brand); }

.btn-dark-pill { background: var(--rm-dark); color: #fff; border: none; }
.btn-dark-pill:hover { background: #000; color: #fff; transform: translateY(-3px); box-shadow: 0 18px 38px rgba(17, 24, 39, .3); }

.btn-glass {
  background: rgba(255, 255, 255, .1);
  border: 1.4px solid rgba(255, 255, 255, .28);
  color: #fff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.btn-glass:hover { background: rgba(255, 255, 255, .2); color: #fff; transform: translateY(-3px); }

.btn-outline-light { border-width: 1.5px; }
.btn-outline-light:hover { transform: translateY(-3px); }

.btn-lg { --bs-btn-padding-y: 1rem; --bs-btn-padding-x: 2.1rem; font-size: 1.03rem; }
.btn-sm { --bs-btn-padding-y: .55rem; --bs-btn-padding-x: 1.2rem; font-size: .86rem; }

.rm-link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; color: var(--rm-primary);
}
.rm-link-arrow i { transition: transform .3s var(--rm-ease); }
.rm-link-arrow:hover i { transform: translateX(5px); }

/* --------------------------------------------------------------------------
   5. Scroll progress, top bar
   -------------------------------------------------------------------------- */
.rm-scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 1200; pointer-events: none; background: transparent; }
.rm-scroll-progress span { display: block; height: 100%; width: 0; background: var(--rm-grad-brand); box-shadow: 0 0 12px rgba(94, 59, 238, .7); transition: width .1s linear; }

.rm-topbar {
  background: linear-gradient(105deg, #0F172A 0%, #1E1B4B 42%, #312E81 72%, #0E7490 100%);
  color: rgba(255, 255, 255, .78);
  font-size: .855rem;
  padding: .6rem 0;
  position: relative; z-index: 2;
}
.rm-topbar::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(233, 30, 99, .28), transparent 40%, rgba(0, 188, 212, .22)); }
.rm-topbar .container { position: relative; }
.rm-topbar a { color: rgba(255, 255, 255, .84); }
.rm-topbar a:hover { color: #fff; }
.rm-topbar i { color: var(--rm-accent); margin-right: .3rem; }
.rm-topbar-note { color: rgba(255, 255, 255, .6); }
.rm-topbar-divider { width: 1px; height: 16px; background: rgba(255, 255, 255, .2); }
.rm-topbar-right a { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 8px; background: rgba(255, 255, 255, .07); transition: all .28s var(--rm-ease); }
.rm-topbar-right a i { margin: 0; color: rgba(255, 255, 255, .8); font-size: .9rem; }
.rm-topbar-right a:hover { background: var(--rm-primary); transform: translateY(-2px); }
.rm-topbar-right a:hover i { color: #fff; }

/* --------------------------------------------------------------------------
   6. Header / navigation (sticky glassmorphism)
   -------------------------------------------------------------------------- */
.rm-header {
  position: sticky; top: 0; z-index: 1040;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(230, 233, 242, .9);
  transition: background .35s var(--rm-ease), box-shadow .35s var(--rm-ease), padding .35s var(--rm-ease);
}
.rm-header.is-stuck {
  background: rgba(255, 255, 255, .93);
  box-shadow: 0 10px 34px rgba(17, 24, 39, .09);
  border-bottom-color: transparent;
}

.rm-nav { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: var(--rm-header-h); }
.rm-header.is-stuck .rm-nav { min-height: 70px; }

.rm-brand { display: inline-flex; align-items: center; gap: .8rem; flex-shrink: 0; }
.rm-brand-logo {
  display: block;
  height: 64px;
  width: auto;
  max-width: min(220px, 48vw);
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  transition: transform .45s var(--rm-ease), filter .45s var(--rm-ease);
}
.rm-brand:hover .rm-brand-logo {
  transform: translateY(-2px) scale(1.03);
  filter: drop-shadow(0 10px 22px rgba(108, 60, 233, .22));
}
.rm-brand-mark { width: 46px; height: 46px; display: block; flex-shrink: 0; filter: drop-shadow(0 8px 18px rgba(94, 59, 238, .35)); transition: transform .45s var(--rm-ease); }
.rm-brand-mark svg { width: 100%; height: 100%; display: block; }
.rm-brand:hover .rm-brand-mark { transform: rotate(-7deg) scale(1.06); }
.rm-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.rm-brand-name { font-size: 1.42rem; font-weight: 800; letter-spacing: -.03em; color: var(--rm-heading); }
.rm-brand-name span { background: var(--rm-grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.rm-brand-tag { font-size: .625rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; color: var(--rm-muted); }
.rm-footer-logo {
  display: block;
  height: 78px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  background: #fff;
  border-radius: 14px;
  padding: .55rem .85rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
}

.rm-nav-menu { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; position: relative; }
.rm-nav-list { display: flex; align-items: center; gap: .18rem; list-style: none; margin: 0; padding: 0; }
.rm-nav-item { position: relative; }
/* Keep mega under its parent so hover travels from link → panel without a dead gap. */
.rm-nav-item.has-mega { position: relative; }
.rm-nav-link {
  display: inline-flex; align-items: center; gap: .28rem;
  padding: .55rem .68rem; border-radius: var(--rm-r-pill);
  font-size: .9rem; font-weight: 600; color: var(--rm-heading);
  white-space: nowrap; transition: all .28s var(--rm-ease);
}
.rm-nav-link:hover { color: var(--rm-primary); background: rgba(94, 59, 238, .07); }
.rm-nav-item.active > .rm-nav-link { color: var(--rm-primary); background: rgba(94, 59, 238, .1); }
.rm-nav-caret { font-size: .68rem; transition: transform .3s var(--rm-ease); opacity: .7; }
.rm-nav-item.has-mega:hover .rm-nav-caret,
.rm-nav-item.has-mega.is-mega-open .rm-nav-caret { transform: rotate(180deg); }

.rm-mega {
  position: absolute;
  top: calc(100% - 6px); /* slight overlap with the nav link */
  left: 50%;
  right: auto;
  transform: translateX(-50%) translateY(8px);
  width: min(720px, calc(100vw - 48px));
  /* Transparent padding acts as a hover bridge between link and panel */
  padding-top: 18px;
  display: grid;
  grid-template-columns: 1.35fr .95fr;
  gap: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s var(--rm-ease), transform .28s var(--rm-ease), visibility .22s;
  overflow: visible;
  z-index: 1200;
}
/* Visual card shell */
.rm-mega::after {
  content: '';
  position: absolute;
  top: 18px; left: 0; right: 0; bottom: 0;
  border-radius: var(--rm-r-lg);
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(230, 233, 242, .95);
  box-shadow: var(--rm-shadow-xl);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  z-index: -1;
  pointer-events: none;
}
.rm-nav-item.has-mega:hover .rm-mega,
.rm-nav-item.has-mega:focus-within .rm-mega,
.rm-nav-item.has-mega.is-mega-open .rm-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.rm-mega-inner {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  background: #fff;
  border-radius: var(--rm-r-lg) 0 0 var(--rm-r-lg);
  position: relative;
  z-index: 1;
}
.rm-mega-item { display: flex; align-items: flex-start; gap: .85rem; padding: .78rem .85rem; border-radius: var(--rm-r-md); transition: background .26s var(--rm-ease), transform .26s var(--rm-ease); }
.rm-mega-item:hover, .rm-mega-item.active { background: rgba(94, 59, 238, .07); transform: translateX(4px); }
.rm-mega-icon {
  width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center;
  border-radius: 12px; font-size: 1.05rem; color: var(--rm-primary);
  background: linear-gradient(140deg, rgba(94, 59, 238, .13), rgba(0, 188, 212, .13));
}
.rm-mega-item:hover .rm-mega-icon { background: var(--rm-grad-brand); color: #fff; }
.rm-mega-copy { display: flex; flex-direction: column; line-height: 1.35; }
.rm-mega-copy strong { font-size: .95rem; color: var(--rm-heading); font-weight: 650; }
.rm-mega-copy small { font-size: .8rem; color: var(--rm-muted); }

.rm-mega-promo {
  padding: 1.6rem 1.4rem;
  background: var(--rm-grad-dark);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .55rem;
  position: relative;
  overflow: hidden;
  border-radius: 0 var(--rm-r-lg) var(--rm-r-lg) 0;
  z-index: 1;
}
.rm-mega-promo::after { content: ''; position: absolute; width: 190px; height: 190px; right: -70px; bottom: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 188, 212, .45), transparent 70%); }
.rm-mega-promo h5 { color: #fff; font-size: 1.06rem; margin: 0; position: relative; }
.rm-mega-promo p { color: rgba(255, 255, 255, .74); font-size: .86rem; margin: 0 0 .4rem; position: relative; line-height: 1.6; }
.rm-mega-promo .btn { align-self: flex-start; position: relative; }
.rm-mega-promo .rm-chip { align-self: flex-start; }

.rm-nav-actions { display: flex; align-items: center; gap: 1rem; }
.rm-nav-call { display: none; align-items: center; gap: .6rem; }
.rm-nav-call-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(94, 59, 238, .1); color: var(--rm-primary); font-size: .95rem; transition: all .3s var(--rm-ease); }
.rm-nav-call:hover .rm-nav-call-icon { background: var(--rm-primary); color: #fff; transform: scale(1.07); }
.rm-nav-call-copy { display: flex; flex-direction: column; line-height: 1.2; }
.rm-nav-call-copy small { font-size: .68rem; color: var(--rm-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .07em; }
.rm-nav-call-copy strong { font-size: .9rem; color: var(--rm-heading); }
.rm-nav-cta { --bs-btn-padding-y: .68rem; --bs-btn-padding-x: 1.45rem; font-size: .92rem; }

/* Hamburger */
.rm-nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--rm-border);
  background: #fff; border-radius: 14px; padding: 0; position: relative; box-shadow: var(--rm-shadow-xs);
}
.rm-nav-toggle span { position: absolute; left: 13px; width: 20px; height: 2px; border-radius: 2px; background: var(--rm-heading); transition: all .35s var(--rm-ease); }
.rm-nav-toggle span:nth-child(1) { top: 16px; }
.rm-nav-toggle span:nth-child(2) { top: 22px; width: 14px; }
.rm-nav-toggle span:nth-child(3) { top: 28px; }
.rm-nav-toggle.is-open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.rm-nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: translateX(10px); }
.rm-nav-toggle.is-open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.rm-nav-backdrop {
  position: fixed; inset: 0; z-index: 1035;
  background: rgba(17, 24, 39, .45); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: all .35s var(--rm-ease);
}
.rm-nav-backdrop.is-active { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   7. Flash messages
   -------------------------------------------------------------------------- */
.rm-flash-stack { position: fixed; top: calc(var(--rm-header-h) + 18px); right: 20px; z-index: 1100; display: flex; flex-direction: column; gap: .7rem; max-width: min(430px, calc(100vw - 40px)); }
.rm-flash {
  display: flex; align-items: flex-start; gap: .7rem;
  padding: 1rem 1.15rem; border-radius: var(--rm-r-md);
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(16px);
  box-shadow: var(--rm-shadow-lg); border-left: 4px solid var(--rm-primary);
  font-size: .92rem; color: var(--rm-heading); line-height: 1.55;
  animation: rmFlashIn .5s var(--rm-ease) both;
}
.rm-flash i { font-size: 1.15rem; margin-top: .1rem; }
.rm-flash-success { border-left-color: var(--rm-success); }
.rm-flash-success i { color: var(--rm-success); }
.rm-flash-error { border-left-color: var(--rm-danger); }
.rm-flash-error i { color: var(--rm-danger); }
.rm-flash-info { border-left-color: var(--rm-accent); }
.rm-flash-info i { color: var(--rm-accent); }
.rm-flash-close { margin-left: auto; background: none; border: none; font-size: 1.4rem; line-height: 1; color: var(--rm-muted); padding: 0 0 0 .5rem; }
.rm-flash-close:hover { color: var(--rm-heading); }
.rm-flash.is-hiding { animation: rmFlashOut .35s var(--rm-ease) forwards; }

@keyframes rmFlashIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes rmFlashOut { to { opacity: 0; transform: translateX(40px); } }

/* --------------------------------------------------------------------------
   8. Sections & headings
   -------------------------------------------------------------------------- */
.rm-section { padding: clamp(4.2rem, 8vw, 7.5rem) 0; position: relative; }
.rm-section-sm { padding: clamp(3rem, 5vw, 4.5rem) 0; }
.rm-section-tight { padding-top: 0; }
.rm-bg-light { background: var(--rm-light); }
.rm-bg-white { background: #fff; }
.rm-bg-soft { background: var(--rm-grad-soft); }
.rm-bg-alt { background: var(--rm-surface-alt); }
.rm-bg-dark { background: var(--rm-dark); color: rgba(255, 255, 255, .74); }
.rm-bg-dark h1, .rm-bg-dark h2, .rm-bg-dark h3, .rm-bg-dark h4, .rm-bg-dark h5, .rm-bg-dark h6 { color: #fff; }
.rm-bg-gradient { background: var(--rm-grad-dark); color: rgba(255, 255, 255, .76); position: relative; overflow: hidden; }
.rm-bg-gradient h1, .rm-bg-gradient h2, .rm-bg-gradient h3, .rm-bg-gradient h4, .rm-bg-gradient h5 { color: #fff; }

.rm-section-head { max-width: 760px; margin-bottom: 3.2rem; }
.rm-section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.rm-section-head h2 { margin-bottom: 1rem; }
.rm-section-head p { font-size: 1.08rem; color: var(--rm-body); margin-bottom: 0; }
.rm-bg-dark .rm-section-head p, .rm-bg-gradient .rm-section-head p { color: rgba(255, 255, 255, .72); }

.rm-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--rm-border), transparent); border: 0; margin: 3rem 0; }

/* Decorative blobs */
.rm-blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; pointer-events: none; z-index: 0; }
.rm-blob-purple { background: rgba(94, 59, 238, .35); }
.rm-blob-cyan { background: rgba(0, 188, 212, .3); }
.rm-blob-pink { background: rgba(233, 30, 99, .26); }

.rm-grid-pattern::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(94, 59, 238, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(94, 59, 238, .055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 78%);
}

/* --------------------------------------------------------------------------
   9. Home hero
   -------------------------------------------------------------------------- */
.rm-hero {
  position: relative; overflow: hidden;
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
  background:
    radial-gradient(1100px 620px at 88% -8%, rgba(0, 188, 212, .18), transparent 62%),
    radial-gradient(900px 560px at 6% 8%, rgba(233, 30, 99, .14), transparent 60%),
    radial-gradient(700px 420px at 55% 100%, rgba(139, 195, 74, .08), transparent 55%),
    linear-gradient(180deg, #FFFFFF 0%, #F7F5FF 50%, #F0FDFA 100%);
}
.rm-hero .container { position: relative; z-index: 2; }
.rm-hero-blob-1 { width: 420px; height: 420px; top: -120px; right: -80px; }
.rm-hero-blob-2 { width: 340px; height: 340px; bottom: -140px; left: -100px; }

/* Centered hero (no side visual) */
.rm-hero-solo {
  display: flex; align-items: center;
  min-height: clamp(520px, 72vh, 720px);
  padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(5rem, 10vw, 8rem);
  background:
    radial-gradient(900px 520px at 50% -10%, rgba(94, 59, 238, .14), transparent 58%),
    radial-gradient(700px 420px at 12% 80%, rgba(233, 30, 99, .10), transparent 55%),
    radial-gradient(680px 400px at 88% 70%, rgba(0, 188, 212, .12), transparent 55%),
    linear-gradient(180deg, #FFFFFF 0%, #F7F5FF 48%, #F0FDFA 100%);
}
.rm-hero-solo .rm-hero-blob-1 { width: 480px; height: 480px; top: -160px; right: 8%; opacity: .7; }
.rm-hero-solo .rm-hero-blob-2 { width: 400px; height: 400px; bottom: -180px; left: 10%; opacity: .65; }
.rm-hero-content {
  max-width: 640px;
  text-align: left;
}
.rm-hero-solo .rm-hero-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.rm-hero-solo .rm-hero-badge { margin-left: auto; margin-right: auto; }
.rm-hero-solo .rm-hero-title {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  line-height: 1.08;
}
.rm-hero-solo .rm-hero-text {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.rm-hero-solo .rm-hero-actions {
  justify-content: center;
}
.rm-hero-solo .rm-hero-trust {
  justify-content: center;
}

.rm-hero-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(255, 255, 255, .8); backdrop-filter: blur(14px);
  border: 1px solid rgba(94, 59, 238, .16); border-radius: var(--rm-r-pill);
  padding: .45rem .5rem .45rem .95rem; font-size: .84rem; font-weight: 600; color: var(--rm-heading);
  box-shadow: var(--rm-shadow-sm); margin-bottom: 1.6rem;
}
.rm-hero-badge b { background: var(--rm-grad-brand); color: #fff; border-radius: var(--rm-r-pill); padding: .18rem .7rem; font-size: .74rem; font-weight: 700; letter-spacing: .04em; }
.rm-hero-badge .rm-pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rm-success); box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: rmPulse 2s infinite; }

@keyframes rmPulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.rm-hero-title { margin-bottom: 1.4rem; letter-spacing: -.035em; }
.rm-hero-title .rm-serif-italic { display: inline-block; }
.rm-hero-text { font-size: 1.14rem; line-height: 1.8; max-width: 590px; margin-bottom: 2rem; }
.rm-hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.4rem; }

.rm-hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; }
.rm-hero-trust-item { display: flex; align-items: center; gap: .6rem; font-size: .9rem; font-weight: 600; color: var(--rm-heading); }
.rm-hero-trust-item i { color: var(--rm-success); font-size: 1.15rem; }

.rm-avatar-stack { display: flex; align-items: center; }
.rm-avatar-stack span {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-size: .78rem; font-weight: 700; color: #fff; border: 3px solid #fff; margin-left: -12px;
  box-shadow: var(--rm-shadow-sm);
}
.rm-avatar-stack span:first-child { margin-left: 0; }

/* Hero visual composition */
.rm-hero-visual {
  position: relative;
  width: 100%;
  max-width: 100%;
}
.rm-hero-slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  animation: rmFloat 7s ease-in-out infinite;
}
.rm-hero-slides {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  /* min-height must not fight aspect-ratio on narrow screens (that expands width past the viewport). */
  min-height: clamp(220px, 32vw, 520px);
  border-radius: var(--rm-r-xl);
  overflow: hidden;
  box-shadow: var(--rm-shadow-xl);
  background: var(--rm-grad-dark);
}
.rm-hero-frame,
.rm-hero-slide {
  position: absolute; inset: 0; margin: 0;
  border-radius: inherit; overflow: hidden;
  background: var(--rm-grad-dark);
}
.rm-hero-slide {
  opacity: 0; visibility: hidden;
  transition: opacity .75s var(--rm-ease), visibility .75s var(--rm-ease);
  z-index: 0;
}
.rm-hero-slide.is-active {
  opacity: 1; visibility: visible;
  z-index: 1;
}
.rm-hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
  display: block;
}
/* No dark overlay / caption on hero photos — image only. */
.rm-hero-dots {
  position: absolute; left: 50%; bottom: .85rem; transform: translateX(-50%);
  z-index: 4; display: flex; gap: .45rem;
  padding: .35rem .55rem; border-radius: 999px;
  background: rgba(15, 23, 42, .35); backdrop-filter: blur(8px);
}
.rm-hero-dot {
  width: 8px; height: 8px; border: 0; border-radius: 50%; padding: 0;
  background: rgba(255, 255, 255, .45); cursor: pointer;
  transition: transform .25s var(--rm-ease), background .25s var(--rm-ease);
}
.rm-hero-dot.is-active,
.rm-hero-dot:hover { background: #fff; transform: scale(1.2); }
.rm-hero-wall {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 92px),
    linear-gradient(140deg, #5E3BEE 0%, #7C4DFF 40%, #00BCD4 100%);
}
.rm-hero-wall::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 78% 18%, rgba(233, 30, 99, .55), transparent 55%);
  mix-blend-mode: screen;
}
.rm-hero-wall-copy { position: absolute; inset: auto 8% 12% 8%; z-index: 2; color: #fff; }
.rm-hero-wall-copy .rm-mono { color: rgba(255, 255, 255, .72); }
.rm-hero-wall-copy h3 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; margin: .4rem 0 .3rem; }
.rm-hero-wall-copy p { color: rgba(255, 255, 255, .8); font-size: .9rem; margin: 0; }
.rm-hero-scan { position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .18), transparent); height: 40%; animation: rmScan 5.5s ease-in-out infinite; }

@keyframes rmScan { 0%, 100% { transform: translateY(-60%); opacity: 0; } 50% { transform: translateY(180%); opacity: 1; } }
@keyframes rmFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* --------------------------------------------------------------------------
   10. Inner page hero
   -------------------------------------------------------------------------- */
.rm-page-hero {
  position: relative; overflow: hidden; padding: clamp(3.4rem, 6vw, 5.4rem) 0 clamp(3.4rem, 6vw, 5rem);
  background: var(--rm-grad-dark); color: rgba(255, 255, 255, .78);
}
.rm-page-hero::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(760px 380px at 82% 12%, rgba(0, 188, 212, .3), transparent 62%),
    radial-gradient(620px 340px at 6% 84%, rgba(233, 30, 99, .26), transparent 60%);
}
.rm-page-hero::before {
  content: ''; position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000, transparent 75%);
}
.rm-page-hero .container { position: relative; z-index: 2; }
.rm-page-hero h1 { color: #fff; margin-bottom: 1rem; font-size: clamp(2.1rem, 4.4vw, 3.35rem); }
.rm-page-hero p { color: rgba(255, 255, 255, .74); font-size: 1.1rem; max-width: 660px; margin-bottom: 0; }
.rm-page-hero.centered { text-align: center; }
.rm-page-hero.centered p { margin-left: auto; margin-right: auto; }

.rm-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.3rem; font-size: .86rem; }
.rm-page-hero.centered .rm-breadcrumb { justify-content: center; }
.rm-breadcrumb li { display: flex; align-items: center; gap: .5rem; color: rgba(255, 255, 255, .55); }
.rm-breadcrumb a { color: rgba(255, 255, 255, .78); font-weight: 500; }
.rm-breadcrumb a:hover { color: #fff; }
.rm-breadcrumb li + li::before { content: '\F285'; font-family: 'bootstrap-icons'; font-size: .68rem; opacity: .5; }
.rm-breadcrumb .active { color: #fff; font-weight: 600; }

.rm-page-hero-stats { display: flex; flex-wrap: wrap; gap: 2.2rem; margin-top: 2.2rem; }
.rm-page-hero-stats div strong { display: block; font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.03em; }
.rm-page-hero-stats div span { font-size: .82rem; color: rgba(255, 255, 255, .6); font-weight: 500; }

/* --------------------------------------------------------------------------
   11. Cards
   -------------------------------------------------------------------------- */
.rm-card {
  position: relative; background: #fff; border-radius: var(--rm-r-lg);
  border: 1px solid var(--rm-border); padding: 2rem 1.85rem; height: 100%;
  box-shadow: var(--rm-shadow-sm);
  transition: transform .42s var(--rm-ease), box-shadow .42s var(--rm-ease), border-color .42s var(--rm-ease);
  overflow: hidden;
}
.rm-card:hover { transform: translateY(-8px); box-shadow: var(--rm-shadow-lg); border-color: rgba(94, 59, 238, .22); }
.rm-card h3, .rm-card h4, .rm-card h5 { margin-bottom: .7rem; }
.rm-card p:last-child { margin-bottom: 0; }

.rm-card-glass {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  color: rgba(255, 255, 255, .78);
}
.rm-card-glass h3, .rm-card-glass h4, .rm-card-glass h5 { color: #fff; }
.rm-card-glass:hover { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .3); }

.rm-icon-badge {
  width: 62px; height: 62px; border-radius: 19px; display: grid; place-items: center;
  font-size: 1.55rem; color: #fff; margin-bottom: 1.35rem;
  background: var(--rm-grad-brand); box-shadow: 0 12px 26px rgba(94, 59, 238, .28);
  transition: transform .42s var(--rm-ease);
}
.rm-card:hover .rm-icon-badge { transform: rotate(-8deg) scale(1.06); }
.rm-icon-badge.pink { background: var(--rm-grad-hot); box-shadow: 0 12px 26px rgba(233, 30, 99, .3); }
.rm-icon-badge.cyan { background: linear-gradient(135deg, #00BCD4, #22C55E); box-shadow: 0 12px 26px rgba(0, 188, 212, .3); }
.rm-icon-badge.dark { background: linear-gradient(135deg, #1F2937, #4B5675); box-shadow: 0 12px 26px rgba(17, 24, 39, .26); }
.rm-icon-badge.soft { background: var(--rm-primary-100); color: var(--rm-primary); box-shadow: none; }

/* Service card (home / compact) */
.rm-service-card { display: flex; flex-direction: column; }
.rm-service-card::before {
  content: ''; position: absolute; inset: auto -30% -60% auto; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 59, 238, .12), transparent 68%);
  opacity: 0; transition: opacity .45s var(--rm-ease);
}
.rm-service-card:hover::before { opacity: 1; }
.rm-service-card .rm-service-no {
  position: absolute; top: 1.3rem; right: 1.5rem; font-family: var(--rm-font-mono);
  font-size: 2.4rem; font-weight: 500; color: rgba(94, 59, 238, .09); line-height: 1;
}
.rm-service-points { list-style: none; padding: 0; margin: 1.1rem 0 1.4rem; }
.rm-service-points li { display: flex; align-items: flex-start; gap: .6rem; font-size: .92rem; margin-bottom: .5rem; }
.rm-service-points li i { color: var(--rm-success); margin-top: .2rem; flex-shrink: 0; }
.rm-service-card .rm-link-arrow { margin-top: auto; }

/* Service category cards (image + short copy) */
.rm-service-cat {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--rm-border);
  border-radius: var(--rm-r-lg); overflow: hidden;
  box-shadow: var(--rm-shadow-sm);
  transition: transform .45s var(--rm-ease), box-shadow .45s var(--rm-ease), border-color .45s var(--rm-ease);
}
.rm-service-cat:hover {
  transform: translateY(-8px);
  box-shadow: var(--rm-shadow-lg);
  border-color: rgba(108, 60, 233, .22);
}
.rm-service-cat-media {
  position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--rm-dark);
}
.rm-service-cat-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .8s var(--rm-ease);
}
.rm-service-cat:hover .rm-service-cat-media img { transform: scale(1.06); }
.rm-service-cat-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(15, 23, 42, .45) 100%);
  pointer-events: none;
}
.rm-service-cat-no {
  position: absolute; z-index: 2; top: .9rem; left: .9rem;
  font-family: var(--rm-font-mono); font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; color: #fff;
  background: rgba(15, 23, 42, .45); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .2);
  padding: .28rem .55rem; border-radius: 999px;
}
.rm-service-cat-body {
  display: flex; flex-direction: column; flex: 1;
  padding: 1.35rem 1.4rem 1.5rem;
}
.rm-service-cat-body h3 {
  font-size: 1.2rem; font-weight: 750; letter-spacing: -.02em;
  color: var(--rm-heading); margin-bottom: .55rem;
}
.rm-service-cat-body p {
  font-size: .95rem; line-height: 1.65; color: var(--rm-body);
  margin-bottom: 1.1rem; flex: 1;
}
.rm-service-cat-body .rm-link-arrow { margin-top: auto; }

/* Compact image service cards on home */
.rm-service-card.has-media { padding: 0; overflow: hidden; }
.rm-service-card.has-media .rm-service-card-media {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
}
.rm-service-card.has-media .rm-service-card-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .8s var(--rm-ease);
}
.rm-service-card.has-media:hover .rm-service-card-media img { transform: scale(1.06); }
.rm-service-card.has-media .rm-service-card-copy {
  padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1;
}
.rm-service-card.has-media .rm-service-no { top: .85rem; right: 1rem; color: rgba(255,255,255,.55); text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.rm-service-card.has-media::before { display: none; }

/* Stats / counters */
.rm-stat-strip { position: relative; z-index: 3; margin-top: -3.5rem; }
.rm-stat-card {
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: var(--rm-r-xl); box-shadow: var(--rm-shadow-lg);
  padding: 2.2rem 1.5rem;
}
.rm-counter-item { text-align: center; padding: .5rem 1rem; position: relative; }
.rm-counter-item + .rm-counter-item::before { content: ''; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: linear-gradient(180deg, transparent, var(--rm-border), transparent); }
.rm-counter-icon {
  width: 56px; height: 56px; margin: 0 auto 1rem;
  border-radius: 18px; display: grid; place-items: center;
  font-size: 1.35rem; color: #fff;
  background: var(--rm-grad-brand);
  box-shadow: 0 12px 24px rgba(108, 60, 233, .28);
}
.rm-stat-card .row > :nth-child(2) .rm-counter-icon {
  background: linear-gradient(140deg, #E91E63 0%, #FF6584 100%);
  box-shadow: 0 12px 24px rgba(233, 30, 99, .28);
}
.rm-stat-card .row > :nth-child(3) .rm-counter-icon {
  background: linear-gradient(140deg, #00BCD4 0%, #26C6DA 100%);
  box-shadow: 0 12px 24px rgba(0, 188, 212, .28);
}
.rm-stat-card .row > :nth-child(4) .rm-counter-icon {
  background: linear-gradient(140deg, #22C55E 0%, #4ADE80 100%);
  box-shadow: 0 12px 24px rgba(34, 197, 94, .28);
}
.rm-counter-value {
  font-size: clamp(1.55rem, 3.2vw, 3rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.05;
  color: var(--rm-heading);
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: center;
  gap: 0;
  white-space: nowrap;
  max-width: 100%;
}
.rm-counter-value .rm-counter-suffix {
  flex: 0 0 auto;
  background: var(--rm-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: .72em;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.rm-counter-label { font-size: .88rem; font-weight: 600; color: var(--rm-muted); margin-top: .5rem; letter-spacing: .01em; }
.rm-bg-dark .rm-counter-value, .rm-bg-gradient .rm-counter-value { color: #fff; }
.rm-bg-dark .rm-counter-label, .rm-bg-gradient .rm-counter-label { color: rgba(255, 255, 255, .6); }
.rm-bg-gradient .rm-counter-item + .rm-counter-item::before { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .18), transparent); }

/* --------------------------------------------------------------------------
   12. Work / portfolio tiles
   -------------------------------------------------------------------------- */
.rm-work-card {
  position: relative; display: block; border-radius: var(--rm-r-lg); overflow: hidden; height: 100%;
  background: #fff; box-shadow: var(--rm-shadow-sm); border: 1px solid var(--rm-border);
  transition: transform .45s var(--rm-ease), box-shadow .45s var(--rm-ease);
}
.rm-work-card:hover { transform: translateY(-8px); box-shadow: var(--rm-shadow-lg); }
.rm-work-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.rm-work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--rm-ease); }
.rm-work-card:hover .rm-work-media img { transform: scale(1.08); }
.rm-tile { position: absolute; inset: 0; display: grid; place-items: center; padding: 1.5rem; text-align: center; overflow: hidden; }
.rm-tile::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, .09) 0 1px, transparent 1px 38px), repeating-linear-gradient(90deg, rgba(255, 255, 255, .09) 0 1px, transparent 1px 76px);
}
.rm-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(11, 17, 32, .55) 100%); }
.rm-tile-label { position: relative; z-index: 2; color: #fff; font-weight: 800; font-size: 1.08rem; letter-spacing: -.02em; line-height: 1.3; text-shadow: 0 2px 14px rgba(0, 0, 0, .3); }
.rm-tile-mark { position: absolute; z-index: 2; top: 1rem; left: 1rem; font-family: var(--rm-font-mono); font-size: .68rem; color: rgba(255, 255, 255, .85); background: rgba(0, 0, 0, .22); backdrop-filter: blur(6px); padding: .28rem .62rem; border-radius: 99px; }
.rm-work-body { padding: 1.4rem 1.5rem 1.6rem; }
.rm-work-body h4 { font-size: 1.14rem; margin-bottom: .35rem; transition: color .3s var(--rm-ease); }
.rm-work-card:hover .rm-work-body h4 { color: var(--rm-primary); }
.rm-work-meta { display: flex; flex-wrap: wrap; gap: .85rem; font-size: .82rem; color: var(--rm-muted); font-weight: 500; margin-bottom: .7rem; }
.rm-work-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.rm-work-desc { font-size: .92rem; margin-bottom: 0; }
.rm-work-badge { position: absolute; z-index: 3; top: 1rem; right: 1rem; }

/* Filter bar */
.rm-filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.8rem; }
.rm-filter-btn {
  border: 1px solid var(--rm-border); background: #fff; color: var(--rm-heading);
  padding: .6rem 1.35rem; border-radius: var(--rm-r-pill); font-size: .88rem; font-weight: 600;
  transition: all .3s var(--rm-ease); box-shadow: var(--rm-shadow-xs);
}
.rm-filter-btn:hover { border-color: rgba(94, 59, 238, .35); color: var(--rm-primary); transform: translateY(-2px); }
.rm-filter-btn.is-active { background: var(--rm-grad-brand); border-color: transparent; color: #fff; box-shadow: var(--rm-shadow-brand); }

.rm-filter-item { transition: opacity .4s var(--rm-ease), transform .4s var(--rm-ease); }
.rm-filter-item.is-hidden { display: none; }

/* Gallery */
.rm-gallery-item { position: relative; border-radius: var(--rm-r-md); overflow: hidden; aspect-ratio: 1 / 1; cursor: pointer; box-shadow: var(--rm-shadow-sm); }
.rm-gallery-item .rm-tile { transition: transform .7s var(--rm-ease); }
.rm-gallery-item:hover .rm-tile { transform: scale(1.06); }
.rm-gallery-overlay {
  position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.1rem; background: linear-gradient(180deg, transparent 40%, rgba(11, 17, 32, .82) 100%);
  opacity: 0; transition: opacity .4s var(--rm-ease);
}
.rm-gallery-item:hover .rm-gallery-overlay { opacity: 1; }
.rm-gallery-overlay strong { color: #fff; font-size: .95rem; line-height: 1.35; }
.rm-gallery-overlay small { color: rgba(255, 255, 255, .7); font-size: .78rem; text-transform: capitalize; }
.rm-gallery-zoom { position: absolute; top: 1rem; right: 1rem; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .9); color: var(--rm-primary); opacity: 0; transform: scale(.7); transition: all .4s var(--rm-ease); z-index: 4; }
.rm-gallery-item:hover .rm-gallery-zoom { opacity: 1; transform: scale(1); }

/* Lightbox */
.rm-lightbox { position: fixed; inset: 0; z-index: 1200; background: rgba(11, 17, 32, .9); backdrop-filter: blur(10px); display: grid; place-items: center; padding: 5vh 5vw; opacity: 0; visibility: hidden; transition: all .35s var(--rm-ease); }
.rm-lightbox.is-open { opacity: 1; visibility: visible; }
.rm-lightbox-inner { width: min(900px, 92vw); border-radius: var(--rm-r-lg); overflow: hidden; box-shadow: var(--rm-shadow-xl); position: relative; }
.rm-lightbox-figure { position: relative; aspect-ratio: 16 / 10; }
.rm-lightbox-caption { background: #fff; padding: 1.1rem 1.4rem; }
.rm-lightbox-caption strong { display: block; color: var(--rm-heading); }
.rm-lightbox-caption small { color: var(--rm-muted); text-transform: capitalize; }
.rm-lightbox-close { position: absolute; top: -46px; right: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.2rem; display: grid; place-items: center; }
.rm-lightbox-close:hover { background: rgba(255, 255, 255, .25); }

/* --------------------------------------------------------------------------
   13. Process timeline + Project lifecycle
   -------------------------------------------------------------------------- */
.rm-timeline { position: relative; }
.rm-timeline::before { content: ''; position: absolute; left: 34px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(180deg, rgba(94, 59, 238, .35), rgba(0, 188, 212, .3), transparent); }
.rm-step { position: relative; padding-left: 92px; padding-bottom: 2.6rem; }
.rm-step:last-child { padding-bottom: 0; }
.rm-step-no {
  position: absolute; left: 0; top: 0; width: 68px; height: 68px; border-radius: 22px;
  display: grid; place-items: center; font-family: var(--rm-font-mono); font-size: 1.02rem; font-weight: 600;
  color: #fff; background: var(--rm-grad-brand); box-shadow: var(--rm-shadow-brand);
  transition: transform .4s var(--rm-ease);
}
.rm-step:hover .rm-step-no { transform: scale(1.08) rotate(-6deg); }
.rm-step-body { background: #fff; border: 1px solid var(--rm-border); border-radius: var(--rm-r-lg); padding: 1.6rem 1.8rem; box-shadow: var(--rm-shadow-sm); transition: all .4s var(--rm-ease); }
.rm-step:hover .rm-step-body { box-shadow: var(--rm-shadow-md); border-color: rgba(94, 59, 238, .2); transform: translateX(6px); }
.rm-step-head { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-bottom: .55rem; }
.rm-step-head h4 { margin: 0; font-size: 1.2rem; }
.rm-step-time { font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--rm-accent); background: var(--rm-accent-100); padding: .28rem .7rem; border-radius: 99px; }
.rm-step-body p { margin-bottom: 0; font-size: .96rem; }

/* Compact horizontal process (home) */
.rm-process-mini { position: relative; text-align: center; padding: 0 .5rem; }
.rm-process-mini-icon {
  width: 78px; height: 78px; margin: 0 auto 1.1rem; border-radius: 26px; display: grid; place-items: center;
  font-size: 1.7rem; color: var(--rm-primary); background: #fff; border: 1px solid var(--rm-border);
  box-shadow: var(--rm-shadow-sm); position: relative; z-index: 2; transition: all .42s var(--rm-ease);
}
.rm-process-mini:hover .rm-process-mini-icon { background: var(--rm-grad-brand); color: #fff; border-color: transparent; transform: translateY(-6px); box-shadow: var(--rm-shadow-brand); }
.rm-process-mini-no { font-family: var(--rm-font-mono); font-size: .72rem; color: var(--rm-muted); letter-spacing: .14em; }
.rm-process-mini h5 { font-size: 1.04rem; margin: .35rem 0 .5rem; }
.rm-process-mini p { font-size: .89rem; margin: 0; }
.rm-process-connector { position: absolute; top: 39px; left: 50%; width: 100%; height: 2px; background: linear-gradient(90deg, rgba(94, 59, 238, .3), rgba(0, 188, 212, .18)); z-index: 1; }

/* ---- Project lifecycle (Assign → Deliver) ---- */
.rm-lifecycle-section {
  background:
    radial-gradient(900px 420px at 8% 0%, rgba(108, 60, 233, .07), transparent 55%),
    radial-gradient(700px 360px at 92% 12%, rgba(0, 188, 212, .08), transparent 50%),
    #fff;
}

.rm-life-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
  margin: 0 0 2.8rem;
}

.rm-life-nav-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem 1.1rem;
  border-radius: var(--rm-r-lg);
  border: 1px solid var(--rm-border);
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--rm-shadow-xs);
  text-decoration: none;
  color: inherit;
  transition: transform .35s var(--rm-ease), box-shadow .35s var(--rm-ease), border-color .35s var(--rm-ease);
  position: relative;
  overflow: hidden;
}

.rm-life-nav-item::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--rm-grad-brand);
}

.rm-life-nav-item.tone-pink::before { background: var(--rm-grad-hot); }
.rm-life-nav-item.tone-cyan::before { background: linear-gradient(180deg, #00BCD4, #2196F3); }
.rm-life-nav-item.tone-dark::before { background: linear-gradient(180deg, #1E293B, #6C3CE9); }

.rm-life-nav-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--rm-shadow-md);
  border-color: rgba(108, 60, 233, .22);
  color: inherit;
}

.rm-life-nav-index {
  font-family: var(--rm-font-mono);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--rm-primary);
  background: var(--rm-primary-100);
  width: 36px; height: 36px;
  border-radius: 12px;
  display: grid; place-items: center;
  flex-shrink: 0;
}

.rm-life-nav-copy { display: grid; gap: .1rem; min-width: 0; flex: 1; }
.rm-life-nav-copy strong { font-size: .98rem; color: var(--rm-heading); line-height: 1.2; }
.rm-life-nav-copy small { font-size: .78rem; color: var(--rm-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rm-life-nav-item > i { font-size: 1.2rem; color: var(--rm-primary-300); flex-shrink: 0; }

.rm-life-journey { display: grid; gap: 2.4rem; }

.rm-life-phase {
  position: relative;
  padding: 1.6rem 1.6rem 1.2rem;
  border-radius: calc(var(--rm-r-xl) + 4px);
  border: 1px solid rgba(15, 23, 42, .06);
  background: linear-gradient(180deg, rgba(247, 248, 252, .95) 0%, #fff 42%);
  box-shadow: var(--rm-shadow-sm);
}

.rm-life-phase::after {
  content: '';
  position: absolute;
  left: 2.05rem;
  top: 7.2rem;
  bottom: 1.6rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(108, 60, 233, .35), rgba(0, 188, 212, .22), transparent);
  pointer-events: none;
}

.rm-life-phase.tone-pink::after { background: linear-gradient(180deg, rgba(233, 30, 99, .35), rgba(108, 60, 233, .18), transparent); }
.rm-life-phase.tone-cyan::after { background: linear-gradient(180deg, rgba(0, 188, 212, .4), rgba(33, 150, 243, .18), transparent); }
.rm-life-phase.tone-dark::after { background: linear-gradient(180deg, rgba(15, 23, 42, .35), rgba(108, 60, 233, .2), transparent); }

.rm-life-phase-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.1rem;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px dashed rgba(15, 23, 42, .1);
}

.rm-life-phase-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem .9rem;
  border-radius: 999px;
  background: var(--rm-primary-100);
  color: var(--rm-primary-600);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.rm-life-phase.tone-pink .rm-life-phase-badge { background: var(--rm-secondary-100); color: var(--rm-secondary); }
.rm-life-phase.tone-cyan .rm-life-phase-badge { background: var(--rm-accent-100); color: #0891B2; }
.rm-life-phase.tone-dark .rm-life-phase-badge { background: rgba(15, 23, 42, .08); color: var(--rm-dark); }

.rm-life-phase-titles h3 {
  margin: 0 0 .35rem;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}
.rm-life-phase-titles h3 span { color: var(--rm-muted); font-weight: 600; }
.rm-life-phase-titles p { margin: 0; font-size: .95rem; max-width: 52ch; }

.rm-life-phase-count {
  text-align: center;
  min-width: 64px;
  font-family: var(--rm-font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--rm-heading);
  background: #fff;
  border: 1px solid var(--rm-border);
  border-radius: 18px;
  padding: .7rem .55rem .55rem;
}
.rm-life-phase-count small {
  display: block;
  margin-top: .2rem;
  font-family: var(--rm-font);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--rm-muted);
}

.rm-life-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.4rem;
}

.rm-life-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: .85rem;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.rm-life-step-rail { display: flex; justify-content: center; padding-top: 1.15rem; }
.rm-life-step-dot {
  width: 38px; height: 38px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-family: var(--rm-font-mono);
  font-size: .78rem;
  font-weight: 700;
  color: #fff;
  background: var(--rm-grad-brand);
  box-shadow: var(--rm-shadow-brand);
}

.rm-life-phase.tone-pink .rm-life-step-dot { background: var(--rm-grad-hot); box-shadow: 0 14px 28px rgba(233, 30, 99, .22); }
.rm-life-phase.tone-cyan .rm-life-step-dot { background: linear-gradient(135deg, #00BCD4, #2196F3); box-shadow: 0 14px 28px rgba(0, 188, 212, .22); }
.rm-life-phase.tone-dark .rm-life-step-dot { background: linear-gradient(135deg, #0F172A, #6C3CE9); }

.rm-life-step-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.2rem;
  border-radius: var(--rm-r-lg);
  border: 1px solid var(--rm-border);
  background: #fff;
  box-shadow: var(--rm-shadow-xs);
  transition: transform .35s var(--rm-ease), box-shadow .35s var(--rm-ease), border-color .35s var(--rm-ease);
  height: 100%;
}

.rm-life-step:hover .rm-life-step-card {
  transform: translateY(-4px);
  box-shadow: var(--rm-shadow-md);
  border-color: rgba(108, 60, 233, .2);
}

.rm-life-step-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 1.15rem;
  color: var(--rm-primary);
  background: var(--rm-primary-100);
}

.rm-life-phase.tone-pink .rm-life-step-icon { color: var(--rm-secondary); background: var(--rm-secondary-100); }
.rm-life-phase.tone-cyan .rm-life-step-icon { color: #0891B2; background: var(--rm-accent-100); }
.rm-life-phase.tone-dark .rm-life-step-icon { color: #fff; background: var(--rm-dark); }

.rm-life-step-body { min-width: 0; flex: 1; }
.rm-life-step-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .75rem;
  margin-bottom: .35rem;
}
.rm-life-step-meta h4 { margin: 0; font-size: 1.05rem; }
.rm-life-step-time {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--rm-accent);
  background: var(--rm-accent-100);
  padding: .22rem .55rem;
  border-radius: 999px;
}
.rm-life-step-body p { margin: 0; font-size: .9rem; line-height: 1.55; color: var(--rm-body); }

.rm-life-close {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem 2rem;
  padding: 1.7rem 1.9rem;
  border-radius: var(--rm-r-xl);
  background: var(--rm-grad-dark);
  color: #fff;
  box-shadow: var(--rm-shadow-lg);
  position: relative;
  overflow: hidden;
}

.rm-life-close::before {
  content: '';
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 180%;
  background: radial-gradient(circle at center, rgba(108, 60, 233, .45), transparent 60%);
  pointer-events: none;
}

.rm-life-close-lead,
.rm-life-close-actions { position: relative; z-index: 1; }

.rm-life-close-kicker {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #FBBF24;
  margin-bottom: .45rem;
}

.rm-life-close h3 {
  color: #fff;
  margin: 0 0 .4rem;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
}

.rm-life-close p {
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: .95rem;
}

.rm-life-close-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.rm-life-close .btn-outline-light {
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
}
.rm-life-close .btn-outline-light:hover {
  background: #fff;
  color: var(--rm-dark);
}

/* --------------------------------------------------------------------------
   14. Testimonials
   -------------------------------------------------------------------------- */
.rm-testimonial {
  position: relative; background: #fff; border: 1px solid var(--rm-border); border-radius: var(--rm-r-lg);
  padding: 2.2rem 1.9rem 1.8rem; height: 100%; box-shadow: var(--rm-shadow-sm);
  transition: transform .42s var(--rm-ease), box-shadow .42s var(--rm-ease);
  display: flex; flex-direction: column;
}
.rm-testimonial:hover { transform: translateY(-8px); box-shadow: var(--rm-shadow-lg); }
.rm-testimonial-quote { position: absolute; top: 1.2rem; right: 1.6rem; font-size: 3.4rem; line-height: 1; color: rgba(94, 59, 238, .1); font-family: var(--rm-font-display); }
.rm-stars { color: #FBBF24; font-size: .95rem; letter-spacing: .12em; margin-bottom: 1rem; }
.rm-testimonial-text { font-size: 1rem; line-height: 1.75; color: var(--rm-body); margin-bottom: 1.5rem; flex-grow: 1; }
.rm-testimonial-person { display: flex; align-items: center; gap: .85rem; padding-top: 1.2rem; border-top: 1px solid var(--rm-border); }
.rm-avatar {
  width: 48px; height: 48px; border-radius: 15px; flex-shrink: 0; display: grid; place-items: center;
  font-weight: 700; font-size: .92rem; color: #fff; background: var(--rm-grad-brand);
}
.rm-testimonial-person strong { display: block; font-size: .98rem; color: var(--rm-heading); line-height: 1.25; }
.rm-testimonial-person small { font-size: .82rem; color: var(--rm-muted); }
.rm-testimonial-featured { background: var(--rm-grad-dark); border-color: transparent; color: rgba(255, 255, 255, .8); }
.rm-testimonial-featured .rm-testimonial-text { color: rgba(255, 255, 255, .84); }
.rm-testimonial-featured .rm-testimonial-person { border-top-color: rgba(255, 255, 255, .14); }
.rm-testimonial-featured .rm-testimonial-person strong { color: #fff; }
.rm-testimonial-featured .rm-testimonial-person small { color: rgba(255, 255, 255, .58); }
.rm-testimonial-featured .rm-testimonial-quote { color: rgba(255, 255, 255, .12); }

/* --------------------------------------------------------------------------
   15. Client logos & marquee
   -------------------------------------------------------------------------- */
.rm-logo-tile {
  display: grid; place-items: center; height: 108px; padding: 1rem 1.2rem; text-align: center;
  background: #fff; border: 1px solid var(--rm-border); border-radius: var(--rm-r-md);
  font-weight: 700; font-size: 1rem; letter-spacing: -.01em; color: var(--rm-muted);
  transition: all .4s var(--rm-ease); box-shadow: var(--rm-shadow-xs);
}
.rm-logo-tile:hover { color: var(--rm-primary); border-color: rgba(94, 59, 238, .28); transform: translateY(-5px); box-shadow: var(--rm-shadow-md); }
.rm-logo-tile img { max-height: 52px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .72; transition: all .4s var(--rm-ease); }
.rm-logo-tile:hover img { filter: none; opacity: 1; }

.rm-marquee { overflow: hidden; position: relative; padding: 1.2rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.rm-marquee-track { display: flex; gap: 3.2rem; width: max-content; animation: rmMarquee 36s linear infinite; }
.rm-marquee:hover .rm-marquee-track { animation-play-state: paused; }
.rm-marquee-item { display: inline-flex; align-items: center; gap: .7rem; font-size: 1.28rem; font-weight: 700; color: rgba(17, 24, 39, .34); letter-spacing: -.02em; white-space: nowrap; transition: color .3s var(--rm-ease); }
.rm-marquee-item:hover { color: var(--rm-primary); }
.rm-marquee-item i { font-size: 1.4rem; color: rgba(94, 59, 238, .4); }
.rm-bg-dark .rm-marquee-item, .rm-bg-gradient .rm-marquee-item { color: rgba(255, 255, 255, .42); }

.rm-trusted-brands {
  padding: clamp(2.8rem, 5.5vw, 4.2rem) 0;
  background: linear-gradient(180deg, #F8F7FC 0%, #FFFFFF 100%);
  border-top: 1px solid rgba(15, 23, 42, .05);
  border-bottom: 1px solid rgba(15, 23, 42, .05);
}
.rm-marquee-logos { padding: .6rem 0 0; }
.rm-marquee-logos .rm-marquee-track { gap: 1.75rem; align-items: center; }

/* Few logos: centered static row (no marquee clone / double logo) */
.rm-trusted-static {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  padding: .6rem 0 0;
}

.rm-marquee-logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: clamp(200px, 22vw, 260px);
  height: clamp(120px, 14vw, 150px);
  padding: 1.1rem 1.25rem;
  overflow: hidden;
  background: #fff; border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 22px; box-shadow: var(--rm-shadow-sm);
  transition: transform .3s var(--rm-ease), box-shadow .3s var(--rm-ease), border-color .3s var(--rm-ease);
}
.rm-marquee-logo:hover {
  transform: translateY(-5px);
  border-color: rgba(94, 59, 238, .22);
  box-shadow: var(--rm-shadow-md);
}
.rm-marquee-logo img {
  width: 100%; height: 100%;
  max-width: 100%; max-height: 100%;
  object-fit: contain; object-position: center;
  display: block;
  filter: none; opacity: 1;
  transition: transform .35s var(--rm-ease);
}
.rm-marquee-logo:hover img { transform: scale(1.04); }
.rm-marquee-fallback {
  font-size: 1.05rem; font-weight: 700; color: var(--rm-heading);
  letter-spacing: -.02em; text-align: center; padding: 1rem;
}

@media (max-width: 767.98px) {
  .rm-marquee-logo {
    width: 180px; height: 110px;
  }
  .rm-marquee-logos .rm-marquee-track { gap: 1.1rem; }
}

@keyframes rmMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   16. Blog
   -------------------------------------------------------------------------- */
.rm-blog-card {
  display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--rm-r-lg);
  border: 1px solid var(--rm-border); overflow: hidden; box-shadow: var(--rm-shadow-sm);
  transition: transform .45s var(--rm-ease), box-shadow .45s var(--rm-ease);
}
.rm-blog-card:hover { transform: translateY(-8px); box-shadow: var(--rm-shadow-lg); }
.rm-blog-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.rm-blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--rm-ease); }
.rm-blog-card:hover .rm-blog-media img { transform: scale(1.07); }
.rm-blog-cat { position: absolute; z-index: 3; top: 1rem; left: 1rem; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); color: var(--rm-primary); font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 99px; }
.rm-blog-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex-grow: 1; }
.rm-blog-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .8rem; color: var(--rm-muted); font-weight: 500; margin-bottom: .75rem; }
.rm-blog-meta span { display: inline-flex; align-items: center; gap: .34rem; }
.rm-blog-body h3 { font-size: 1.2rem; line-height: 1.35; margin-bottom: .65rem; }
.rm-blog-body h3 a { color: var(--rm-heading); }
.rm-blog-card:hover .rm-blog-body h3 a { color: var(--rm-primary); }
.rm-blog-excerpt { font-size: .93rem; margin-bottom: 1.2rem; flex-grow: 1; }
.rm-blog-card .rm-link-arrow { margin-top: auto; font-size: .92rem; }

.rm-article { font-size: 1.06rem; line-height: 1.85; }
.rm-article h2 { font-size: 1.75rem; margin: 2.4rem 0 1rem; }
.rm-article h3 { font-size: 1.35rem; margin: 2rem 0 .85rem; }
.rm-article p { margin-bottom: 1.25rem; }
.rm-article ul, .rm-article ol { margin: 0 0 1.4rem 1.1rem; }
.rm-article li { margin-bottom: .5rem; }
.rm-article blockquote {
  margin: 2rem 0; padding: 1.5rem 1.8rem; border-left: 4px solid var(--rm-primary);
  background: var(--rm-primary-100); border-radius: 0 var(--rm-r-md) var(--rm-r-md) 0;
  font-family: var(--rm-font-display); font-size: 1.15rem; font-style: italic; color: var(--rm-heading);
}
.rm-article img { border-radius: var(--rm-r-md); margin: 1.6rem 0; box-shadow: var(--rm-shadow-md); }

.rm-sidebar-card { background: #fff; border: 1px solid var(--rm-border); border-radius: var(--rm-r-lg); padding: 1.7rem; box-shadow: var(--rm-shadow-sm); margin-bottom: 1.6rem; }
.rm-sidebar-card h5 { font-size: 1.06rem; margin-bottom: 1.1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--rm-border); }
.rm-side-post { display: flex; gap: .9rem; padding: .75rem 0; border-bottom: 1px dashed var(--rm-border); }
.rm-side-post:last-child { border-bottom: 0; padding-bottom: 0; }
.rm-side-post-thumb { width: 62px; height: 62px; flex-shrink: 0; border-radius: 13px; overflow: hidden; position: relative; }
.rm-side-post-copy strong { display: block; font-size: .9rem; line-height: 1.4; color: var(--rm-heading); font-weight: 600; }
.rm-side-post:hover .rm-side-post-copy strong { color: var(--rm-primary); }
.rm-side-post-copy small { font-size: .76rem; color: var(--rm-muted); }
.rm-tag-cloud { display: flex; flex-wrap: wrap; gap: .5rem; }
.rm-tag { font-size: .8rem; font-weight: 600; padding: .38rem .85rem; border-radius: 99px; background: var(--rm-surface-alt); color: var(--rm-body); border: 1px solid var(--rm-border); }
.rm-tag:hover, .rm-tag.is-active { background: var(--rm-primary); color: #fff; border-color: var(--rm-primary); }

/* --------------------------------------------------------------------------
   17. Forms
   -------------------------------------------------------------------------- */
.rm-form-card {
  background: #fff; border: 1px solid var(--rm-border); border-radius: var(--rm-r-xl);
  padding: clamp(1.8rem, 4vw, 2.8rem); box-shadow: var(--rm-shadow-lg);
}
.rm-form-card-glass {
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%);
}

.rm-label { font-size: .86rem; font-weight: 650; color: var(--rm-heading); margin-bottom: .45rem; display: block; }
.rm-label .req { color: var(--rm-secondary); }

.form-control, .form-select {
  border: 1.5px solid var(--rm-border); border-radius: var(--rm-r-md);
  padding: .82rem 1.05rem; font-size: .96rem; color: var(--rm-heading);
  background-color: #fff; transition: all .28s var(--rm-ease); box-shadow: none;
}
.form-control::placeholder { color: #A9B0C4; }
.form-control:focus, .form-select:focus {
  border-color: rgba(94, 59, 238, .55); box-shadow: 0 0 0 4px rgba(94, 59, 238, .12); background-color: #fff;
}
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--rm-danger); }
textarea.form-control { min-height: 140px; resize: vertical; }

.rm-input-group { position: relative; }
.rm-input-group > i {
  position: absolute; left: 1.05rem; top: 50%; transform: translateY(-50%);
  color: var(--rm-muted); font-size: 1rem; pointer-events: none; transition: color .28s var(--rm-ease);
}
.rm-input-group .form-control, .rm-input-group .form-select { padding-left: 2.9rem; }
.rm-input-group .form-control:focus ~ i { color: var(--rm-primary); }
.rm-input-group.textarea > i { top: 1.25rem; transform: none; }

.form-check-input { width: 1.15em; height: 1.15em; margin-top: .2em; border-color: var(--rm-border); }
.form-check-input:checked { background-color: var(--rm-primary); border-color: var(--rm-primary); }
.form-check-input:focus { box-shadow: 0 0 0 4px rgba(94, 59, 238, .12); border-color: rgba(94, 59, 238, .5); }
.form-check-label { font-size: .9rem; }

.rm-field-error { display: block; font-size: .82rem; color: var(--rm-danger); margin-top: .35rem; font-weight: 500; }

.rm-file-drop {
  border: 2px dashed rgba(94, 59, 238, .3); border-radius: var(--rm-r-md); padding: 1.7rem 1.2rem;
  text-align: center; background: rgba(94, 59, 238, .035); transition: all .3s var(--rm-ease); cursor: pointer;
}
.rm-file-drop:hover, .rm-file-drop.is-drag { border-color: var(--rm-primary); background: rgba(94, 59, 238, .07); }
.rm-file-drop i { font-size: 1.9rem; color: var(--rm-primary); display: block; margin-bottom: .6rem; }
.rm-file-drop strong { display: block; font-size: .95rem; color: var(--rm-heading); }
.rm-file-drop small { color: var(--rm-muted); font-size: .82rem; }
.rm-file-drop input[type="file"] { display: none; }
.rm-file-name { margin-top: .7rem; font-size: .86rem; font-weight: 600; color: var(--rm-primary); }

.rm-alert {
  display: flex; align-items: flex-start; gap: .75rem; padding: 1rem 1.2rem;
  border-radius: var(--rm-r-md); font-size: .93rem; margin-bottom: 1.5rem; border: 1px solid transparent;
}
.rm-alert i { font-size: 1.15rem; margin-top: .08rem; }
.rm-alert-success { background: var(--rm-success-100); border-color: rgba(34, 197, 94, .3); color: #15803D; }
.rm-alert-danger { background: #FEE2E2; border-color: rgba(239, 68, 68, .3); color: #B91C1C; }
.rm-alert-info { background: var(--rm-accent-100); border-color: rgba(0, 188, 212, .3); color: #0E7490; }
.rm-alert ul { margin: .4rem 0 0; padding-left: 1.1rem; }

/* Contact info cards */
.rm-contact-card {
  display: flex; gap: 1.1rem; padding: 1.5rem 1.6rem; background: #fff; border: 1px solid var(--rm-border);
  border-radius: var(--rm-r-lg); box-shadow: var(--rm-shadow-sm); height: 100%;
  transition: all .4s var(--rm-ease);
}
.rm-contact-card:hover { transform: translateY(-6px); box-shadow: var(--rm-shadow-lg); border-color: rgba(94, 59, 238, .2); }
.rm-contact-card h5 { font-size: 1rem; margin-bottom: .3rem; }
.rm-contact-card p, .rm-contact-card a { font-size: .93rem; margin-bottom: .15rem; display: block; color: var(--rm-body); }
.rm-contact-card a:hover { color: var(--rm-primary); }

.rm-map-wrap { border-radius: var(--rm-r-xl); overflow: hidden; box-shadow: var(--rm-shadow-lg); border: 6px solid #fff; line-height: 0; }
.rm-map-wrap iframe { width: 100%; height: 460px; border: 0; display: block; filter: grayscale(.15) contrast(1.03); }

/* --------------------------------------------------------------------------
   18. Accordion (FAQ)
   -------------------------------------------------------------------------- */
.rm-accordion .accordion-item {
  border: 1px solid var(--rm-border); border-radius: var(--rm-r-md) !important;
  margin-bottom: .9rem; overflow: hidden; background: #fff; box-shadow: var(--rm-shadow-xs);
  transition: box-shadow .35s var(--rm-ease), border-color .35s var(--rm-ease);
}
.rm-accordion .accordion-item:has(.accordion-button:not(.collapsed)) { box-shadow: var(--rm-shadow-md); border-color: rgba(94, 59, 238, .25); }
.rm-accordion .accordion-button {
  font-weight: 650; font-size: 1.03rem; color: var(--rm-heading); padding: 1.25rem 1.5rem;
  background: #fff; box-shadow: none; border-radius: var(--rm-r-md) !important;
}
.rm-accordion .accordion-button:not(.collapsed) { color: var(--rm-primary); background: rgba(94, 59, 238, .04); }
.rm-accordion .accordion-button:focus { box-shadow: none; }
.rm-accordion .accordion-button::after {
  content: '\F64D'; font-family: 'bootstrap-icons'; background: none; width: auto; height: auto;
  font-size: .9rem; color: var(--rm-primary); transition: transform .35s var(--rm-ease);
}
.rm-accordion .accordion-button:not(.collapsed)::after { transform: rotate(45deg); }
.rm-accordion .accordion-body { padding: 0 1.5rem 1.4rem; font-size: .97rem; color: var(--rm-body); }

/* --------------------------------------------------------------------------
   19. Misc components
   -------------------------------------------------------------------------- */
.rm-check-list { list-style: none; padding: 0; margin: 0; }
.rm-check-list li { position: relative; padding-left: 2rem; margin-bottom: .85rem; font-size: .98rem; }
.rm-check-list li::before {
  content: '\F26E'; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .68rem;
  background: var(--rm-success-100); color: #16A34A;
}
.rm-bg-dark .rm-check-list li::before, .rm-bg-gradient .rm-check-list li::before { background: rgba(34, 197, 94, .2); color: #4ADE80; }

.rm-feature-row { display: flex; gap: 1.1rem; margin-bottom: 1.8rem; }
.rm-feature-row-icon {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.25rem; color: var(--rm-primary); background: linear-gradient(140deg, rgba(94, 59, 238, .12), rgba(0, 188, 212, .12));
  transition: all .4s var(--rm-ease);
}
.rm-feature-row:hover .rm-feature-row-icon { background: var(--rm-grad-brand); color: #fff; transform: scale(1.06); }
.rm-feature-row h5 { font-size: 1.06rem; margin-bottom: .3rem; }
.rm-feature-row p { font-size: .94rem; margin-bottom: 0; }

.rm-media-frame { position: relative; border-radius: var(--rm-r-xl); overflow: hidden; box-shadow: var(--rm-shadow-xl); aspect-ratio: 4 / 3; }
.rm-media-frame.tall { aspect-ratio: 3 / 4; }
.rm-media-frame img { width: 100%; height: 100%; object-fit: cover; }
.rm-media-badge {
  position: absolute; bottom: 1.4rem; left: 1.4rem; right: 1.4rem; z-index: 3;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(16px); border-radius: var(--rm-r-md);
  padding: 1rem 1.2rem; display: flex; align-items: center; gap: .9rem; box-shadow: var(--rm-shadow-md);
}
.rm-media-badge strong { display: block; font-size: 1.4rem; line-height: 1; color: var(--rm-heading); letter-spacing: -.03em; }
.rm-media-badge small { font-size: .78rem; color: var(--rm-muted); font-weight: 600; }

.rm-value-card { text-align: center; padding: 2.2rem 1.6rem; }
.rm-value-card .rm-icon-badge { margin-left: auto; margin-right: auto; }

.rm-team-card { text-align: center; }
.rm-team-avatar { width: 110px; height: 110px; margin: 0 auto 1.1rem; border-radius: 32px; display: grid; place-items: center; font-size: 1.9rem; font-weight: 800; color: #fff; box-shadow: var(--rm-shadow-md); transition: transform .45s var(--rm-ease); object-fit: cover; object-position: center top; }
img.rm-team-avatar { display: block; padding: 0; background: var(--rm-surface-alt); }
.rm-team-card:hover .rm-team-avatar { transform: rotate(-6deg) scale(1.05); }
.rm-team-card h5 { margin-bottom: .15rem; font-size: 1.08rem; }
.rm-team-role { font-size: .84rem; color: var(--rm-primary); font-weight: 600; letter-spacing: .03em; margin-bottom: .6rem; }
.rm-team-card p { font-size: .89rem; margin-bottom: .8rem; }
.rm-team-social { display: flex; justify-content: center; gap: .5rem; }
.rm-team-social a { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--rm-surface-alt); color: var(--rm-muted); font-size: .85rem; }
.rm-team-social a:hover { background: var(--rm-primary); color: #fff; }

.rm-job-card {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.3rem; padding: 1.6rem 1.8rem;
  background: #fff; border: 1px solid var(--rm-border); border-radius: var(--rm-r-lg);
  box-shadow: var(--rm-shadow-sm); transition: all .4s var(--rm-ease); margin-bottom: 1.1rem;
}
.rm-job-card:hover { transform: translateY(-4px); box-shadow: var(--rm-shadow-md); border-color: rgba(94, 59, 238, .22); }
.rm-job-icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 1.35rem; color: #fff; background: var(--rm-grad-brand); flex-shrink: 0; }
.rm-job-body { flex: 1 1 260px; }
.rm-job-body h4 { font-size: 1.15rem; margin-bottom: .35rem; }
.rm-job-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.rm-job-tag { font-size: .78rem; font-weight: 600; padding: .28rem .7rem; border-radius: 99px; background: var(--rm-surface-alt); color: var(--rm-body); }

.rm-pricing-card { position: relative; }
.rm-pricing-card.is-featured { border-color: rgba(94, 59, 238, .35); box-shadow: var(--rm-shadow-lg); }
.rm-pricing-card.is-featured::after { content: 'Most Popular'; position: absolute; top: 1.4rem; right: -2.4rem; transform: rotate(38deg); background: var(--rm-grad-hot); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .35rem 2.6rem; }
.rm-price { font-size: 2.3rem; font-weight: 800; letter-spacing: -.04em; color: var(--rm-heading); line-height: 1; }
.rm-price small { font-size: .85rem; font-weight: 500; color: var(--rm-muted); letter-spacing: 0; }

.rm-stat-inline { display: flex; flex-wrap: wrap; gap: 2.4rem; }
.rm-stat-inline > div strong { display: block; font-size: 2.1rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--rm-heading); }
.rm-stat-inline > div span { font-size: .85rem; color: var(--rm-muted); font-weight: 600; }

.rm-quote-strip { border-left: 4px solid var(--rm-primary); padding: .4rem 0 .4rem 1.4rem; font-family: var(--rm-font-display); font-size: 1.16rem; font-style: italic; color: var(--rm-heading); line-height: 1.6; }

.rm-legal { font-size: 1.02rem; line-height: 1.85; }
.rm-legal h2 { font-size: 1.6rem; margin: 2.4rem 0 1rem; scroll-margin-top: 120px; }
.rm-legal h3 { font-size: 1.2rem; margin: 1.7rem 0 .7rem; }
.rm-legal ul { margin: 0 0 1.4rem 1.1rem; }
.rm-legal li { margin-bottom: .55rem; }
.rm-legal table { width: 100%; margin: 1.4rem 0; border-collapse: separate; border-spacing: 0; border: 1px solid var(--rm-border); border-radius: var(--rm-r-md); overflow: hidden; font-size: .94rem; }
.rm-legal th { background: var(--rm-surface-alt); color: var(--rm-heading); font-weight: 650; }
.rm-legal th, .rm-legal td { padding: .85rem 1rem; border-bottom: 1px solid var(--rm-border); text-align: left; vertical-align: top; }
.rm-legal tr:last-child td { border-bottom: 0; }
/* Four-column policy tables cannot compress below phone width, so let them
   scroll on their own instead of stretching the page. */
@media (max-width: 767.98px) {
  .rm-legal table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .rm-legal th, .rm-legal td { min-width: 8.5rem; }
}

.rm-toc { position: sticky; top: calc(var(--rm-header-h) + 24px); }
.rm-toc ul { list-style: none; padding: 0; margin: 0; }
.rm-toc li a { display: block; padding: .5rem .8rem; border-radius: 10px; font-size: .9rem; color: var(--rm-body); font-weight: 500; }
.rm-toc li a:hover { background: var(--rm-primary-100); color: var(--rm-primary); }

.rm-pagination { display: flex; justify-content: center; gap: .45rem; margin-top: 3rem; flex-wrap: wrap; }
.rm-pagination a, .rm-pagination span {
  min-width: 44px; height: 44px; padding: 0 .8rem; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 13px; border: 1px solid var(--rm-border); background: #fff; color: var(--rm-heading);
  font-weight: 600; font-size: .92rem; transition: all .3s var(--rm-ease);
}
.rm-pagination a:hover { border-color: var(--rm-primary); color: var(--rm-primary); transform: translateY(-2px); }
.rm-pagination .is-active { background: var(--rm-grad-brand); border-color: transparent; color: #fff; box-shadow: var(--rm-shadow-brand); }
.rm-pagination .is-disabled { opacity: .45; pointer-events: none; }

.rm-empty { text-align: center; padding: 4rem 1.5rem; }
.rm-empty i { font-size: 3rem; color: rgba(94, 59, 238, .28); display: block; margin-bottom: 1rem; }
.rm-empty h4 { margin-bottom: .5rem; }

/* --------------------------------------------------------------------------
   20. CTA band
   -------------------------------------------------------------------------- */
.rm-cta-band { position: relative; padding: 0 0 clamp(3rem, 6vw, 5rem); background: var(--rm-light); overflow: hidden; }
.rm-cta-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.rm-cta-orb-1 { width: 320px; height: 320px; background: rgba(94, 59, 238, .4); top: 10%; left: -6%; }
.rm-cta-orb-2 { width: 280px; height: 280px; background: rgba(0, 188, 212, .35); bottom: 0; right: -4%; }
.rm-cta-card {
  position: relative; overflow: hidden; border-radius: var(--rm-r-xl);
  background: var(--rm-grad-dark); padding: clamp(2.2rem, 5vw, 3.6rem);
  box-shadow: var(--rm-shadow-xl);
}
.rm-cta-card::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(700px 340px at 88% 10%, rgba(0, 188, 212, .3), transparent 62%), radial-gradient(560px 300px at 4% 92%, rgba(233, 30, 99, .26), transparent 60%);
}
.rm-cta-card > * { position: relative; z-index: 2; }
.rm-cta-title { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 1rem 0 .9rem; }
.rm-cta-title .rm-underline::after { background: linear-gradient(90deg, rgba(0, 188, 212, .5), rgba(233, 30, 99, .45)); z-index: 0; }
.rm-cta-text { color: rgba(255, 255, 255, .76); font-size: 1.05rem; margin-bottom: 1.3rem; max-width: 560px; }
.rm-cta-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1.3rem; }
.rm-cta-points li { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: rgba(255, 255, 255, .82); font-weight: 500; }
.rm-cta-points i { color: #4ADE80; }
.rm-cta-actions { display: flex; flex-direction: column; gap: .8rem; }
.rm-cta-whatsapp { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; color: rgba(255, 255, 255, .68); font-size: .88rem; font-weight: 500; margin-top: .2rem; }
.rm-cta-whatsapp:hover { color: #fff; }
.rm-cta-whatsapp i { color: #25D366; font-size: 1.1rem; }

/* --------------------------------------------------------------------------
   21. Footer
   -------------------------------------------------------------------------- */
.rm-footer { position: relative; background: var(--rm-dark); color: rgba(255, 255, 255, .64); padding: clamp(3.5rem, 6vw, 5rem) 0 0; overflow: hidden; }
.rm-footer-glow { position: absolute; top: -180px; left: 50%; transform: translateX(-50%); width: 900px; height: 360px; background: radial-gradient(ellipse, rgba(94, 59, 238, .35), transparent 70%); filter: blur(50px); }
.rm-footer-top { padding-bottom: 3rem; }
.rm-footer-brand { display: inline-flex; align-items: center; gap: .8rem; margin-bottom: 1.3rem; }
.rm-footer-brand .rm-brand-name { color: #fff; }
.rm-footer-brand .rm-brand-tag { color: rgba(255, 255, 255, .5); }
.rm-footer-about { font-size: .94rem; line-height: 1.75; color: rgba(255, 255, 255, .62); margin-bottom: 1.4rem; }

.rm-footer-contact { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.rm-footer-contact li { display: flex; align-items: flex-start; gap: .8rem; margin-bottom: .8rem; font-size: .91rem; line-height: 1.6; }
.rm-footer-contact i {
  color: var(--rm-accent);
  font-size: 1rem;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: .2rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-align: center;
}
.rm-footer-contact i::before { display: block; }
.rm-footer-contact a { color: rgba(255, 255, 255, .74); }
.rm-footer-contact a:hover { color: #fff; }

.rm-footer-heading { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 1.3rem; position: relative; padding-bottom: .75rem; }
.rm-footer-heading::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--rm-grad-brand); }

.rm-footer-links { list-style: none; padding: 0; margin: 0; }
.rm-footer-links li { margin-bottom: .58rem; }
.rm-footer-links a { font-size: .92rem; color: rgba(255, 255, 255, .62); display: inline-flex; align-items: center; gap: .4rem; transition: all .3s var(--rm-ease); }
.rm-footer-links a::before { content: '\F285'; font-family: 'bootstrap-icons'; font-size: .62rem; opacity: 0; margin-left: -12px; transition: all .3s var(--rm-ease); }
.rm-footer-links a:hover { color: #fff; }
.rm-footer-links a:hover::before { opacity: .9; margin-left: 0; }

.rm-footer-social { display: flex; gap: .6rem; flex-wrap: wrap; }
.rm-footer-social a {
  width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .74); font-size: 1rem;
  transition: all .32s var(--rm-ease);
}
.rm-footer-social a:hover { background: var(--rm-grad-brand); color: #fff; transform: translateY(-4px); box-shadow: var(--rm-shadow-brand); }

.rm-footer-cta { margin-top: 1.6rem; max-width: 280px; }
.rm-footer-cta .btn-glass {
  border-color: rgba(255, 255, 255, .22);
  color: #fff;
  justify-content: center;
}
.rm-footer-cta .btn-glass:hover {
  background: var(--rm-grad-brand);
  border-color: transparent;
  color: #fff;
}

.rm-footer-bar {
  border-top: 1px solid rgba(255, 255, 255, .09); padding: 1.5rem 0; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 1rem; font-size: .87rem; color: rgba(255, 255, 255, .52);
}
.rm-footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 1.4rem; padding: 0; margin: 0; }
.rm-footer-legal a { color: rgba(255, 255, 255, .58); font-size: .87rem; }
.rm-footer-legal a:hover { color: #fff; }
.rm-footer-credit span { color: rgba(255, 255, 255, .72); }

/* --------------------------------------------------------------------------
   22. Floating actions
   -------------------------------------------------------------------------- */
.rm-float-whatsapp {
  --rm-fab-size: 56px;
  position: fixed;
  left: max(20px, env(safe-area-inset-left, 0px));
  bottom: max(24px, env(safe-area-inset-bottom, 0px));
  z-index: 1050;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  width: var(--rm-fab-size);
  min-width: var(--rm-fab-size);
  height: var(--rm-fab-size);
  padding: 0;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  font-weight: 600;
  font-size: .88rem;
  line-height: 1;
  box-shadow: 0 14px 34px rgba(37, 211, 102, .4);
  transition: transform .35s var(--rm-ease), box-shadow .35s var(--rm-ease), color .35s var(--rm-ease), width .35s var(--rm-ease), border-radius .35s var(--rm-ease), padding .35s var(--rm-ease);
}
.rm-float-whatsapp i { font-size: 1.55rem; line-height: 1; flex-shrink: 0; }
.rm-float-whatsapp span {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transition: max-width .45s var(--rm-ease), opacity .3s var(--rm-ease);
}
.rm-float-whatsapp:hover {
  color: #fff;
  width: auto;
  padding: 0 1.15rem 0 1rem;
  border-radius: var(--rm-r-pill);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(37, 211, 102, .48);
}
.rm-float-whatsapp:hover span { max-width: 140px; opacity: 1; }

.rm-to-top {
  --rm-fab-size: 52px;
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  z-index: 1050;
  width: var(--rm-fab-size);
  height: var(--rm-fab-size);
  border-radius: 50%;
  border: none;
  color: #fff;
  display: inline-grid;
  place-items: center;
  background: var(--rm-grad-brand);
  box-shadow: var(--rm-shadow-brand);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all .38s var(--rm-ease);
}
.rm-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.rm-to-top:hover { transform: translateY(-4px); box-shadow: var(--rm-shadow-brand-lg); }

.rm-cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1060; background: rgba(17, 24, 39, .96); backdrop-filter: blur(14px); border-top: 1px solid rgba(255, 255, 255, .1); padding: 1rem 0; transform: translateY(110%); transition: transform .5s var(--rm-ease); }
.rm-cookie-bar.is-visible { transform: none; }
.rm-cookie-inner { max-width: 1240px; margin: 0 auto; padding: 0 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.rm-cookie-inner p { margin: 0; font-size: .88rem; color: rgba(255, 255, 255, .72); }
.rm-cookie-inner p i { color: var(--rm-warning); margin-right: .4rem; }
.rm-cookie-inner a { color: var(--rm-accent); text-decoration: underline; }
.rm-cookie-actions { display: flex; gap: .6rem; }

/* --------------------------------------------------------------------------
   23. Reveal animations
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--rm-ease), transform .8s var(--rm-ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-left { transform: translateX(-38px); }
.reveal-right { transform: translateX(38px); }
.reveal-scale { transform: scale(.94); }
.reveal-left.is-visible, .reveal-right.is-visible, .reveal-scale.is-visible { transform: none; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
.reveal[data-delay="4"] { transition-delay: .36s; }
.reveal[data-delay="5"] { transition-delay: .45s; }
.reveal[data-delay="6"] { transition-delay: .54s; }

/* Sideways entrances would push content past a narrow viewport before they
   settle, so small screens get the vertical entrance instead. */
@media (max-width: 1319.98px) {
  .reveal-left, .reveal-right { transform: translateY(26px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   24. Responsive
   -------------------------------------------------------------------------- */
/* The phone block only fits once the nav row has room to spare. */
@media (min-width: 1280px) {
  .rm-nav-call { display: flex; }
}

@media (max-width: 1199.98px) {
  .rm-nav-list { gap: 0; }
  .rm-nav-link { padding: .6rem .62rem; font-size: .9rem; }
  /* The full nav row is a few pixels too wide for a 1024 laptop, so the brand
     lock-up and CTA give the links the room they need. */
  .rm-nav-menu { gap: .8rem; }
  .rm-brand-tag { display: none; }
  .rm-brand-mark { width: 40px; height: 40px; }
  .rm-brand-name { font-size: 1.28rem; }
  .rm-brand-logo { height: 52px; max-width: min(180px, 46vw); }
  .rm-nav-cta { padding: .62rem 1.05rem; font-size: .88rem; }
}

@media (max-width: 991.98px) {
  :root { --rm-header-h: 74px; }

  /* backdrop-filter would make the header a containing block for the fixed
     drawer below, trapping it inside the header box — keep the bar opaque. */
  .rm-header, .rm-header.is-stuck {
    background: rgba(255, 255, 255, .97);
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }

  .rm-nav-toggle { display: block; order: 3; }

  .rm-nav-menu {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(400px, 88vw); z-index: 1045;
    background: #fff; box-shadow: -20px 0 60px rgba(17, 24, 39, .18);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 5.5rem 1.5rem 2.5rem; overflow-y: auto;
    transform: translateX(105%); transition: transform .45s var(--rm-ease);
  }
  .rm-nav-menu.is-open { transform: none; }

  .rm-nav-list { flex-direction: column; align-items: stretch; gap: .15rem; }
  .rm-nav-item { border-bottom: 1px solid var(--rm-border); }
  .rm-nav-link { justify-content: space-between; padding: .95rem .35rem; font-size: 1.02rem; border-radius: 0; }
  .rm-nav-item.active > .rm-nav-link { background: transparent; }
  .rm-nav-caret { transition: transform .3s var(--rm-ease); }
  .rm-nav-item.is-expanded .rm-nav-caret { transform: rotate(180deg); }

  .rm-mega {
    position: static; transform: none !important; width: 100%; display: block; opacity: 1; visibility: visible;
    pointer-events: auto; box-shadow: none; border: 0; border-radius: 0; background: transparent;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    padding-top: 0; max-height: 0; overflow: hidden; transition: max-height .45s var(--rm-ease);
  }
  .rm-mega::after { display: none; }
  .rm-nav-item.is-expanded .rm-mega { max-height: 640px; }
  .rm-mega-inner { padding: .3rem 0 1rem; background: transparent; border-radius: 0; }
  .rm-mega-item { padding: .65rem .35rem; }
  .rm-mega-promo { display: none; }

  .rm-nav-actions { flex-direction: column; align-items: stretch; margin-top: 1.8rem; gap: 1rem; }
  .rm-nav-call { display: flex; justify-content: center; }
  .rm-nav-cta { width: 100%; }

  .rm-hero-content { max-width: none; }
  .rm-hero-visual { margin-top: 1.5rem; }
  .rm-hero .row { --bs-gutter-x: 1.25rem; }
  .rm-hero-slides {
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-radius: var(--rm-r-lg);
  }
  .rm-hero-slider { animation: none; }

  .rm-counter-item + .rm-counter-item::before { display: none; }
  .rm-stat-strip { margin-top: -2rem; }
  .rm-stat-card { padding: 1.6rem .75rem; }
  .rm-counter-item { padding: .65rem .35rem; }
  .rm-counter-label { font-size: .78rem; line-height: 1.35; }
  .rm-process-connector { display: none; }
  .rm-footer-bar { justify-content: flex-start; }
  .rm-map-wrap iframe { height: 380px; }

  .rm-life-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rm-life-steps { grid-template-columns: 1fr; }
  .rm-life-phase::after { left: 1.85rem; }
  .rm-life-phase-head { grid-template-columns: 1fr auto; }
  .rm-life-phase-badge { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 767.98px) {
  body.rm-body { font-size: .98rem; }
  .rm-section { padding: 3.4rem 0; }
  .rm-section-head { margin-bottom: 2.2rem; }
  .rm-card { padding: 1.6rem 1.4rem; }
  .rm-brand-tag { display: none; }
  .rm-brand-name { font-size: 1.24rem; }
  .rm-brand-mark { width: 40px; height: 40px; }

  .rm-hero-actions .btn { width: 100%; }
  .rm-hero-trust { gap: 1rem; }

  .rm-timeline::before { left: 26px; }
  .rm-step { padding-left: 70px; }
  .rm-step-no { width: 54px; height: 54px; border-radius: 18px; font-size: .9rem; }
  .rm-step-body { padding: 1.3rem 1.3rem; }

  .rm-life-nav { grid-template-columns: 1fr; gap: .65rem; }
  .rm-life-phase { padding: 1.2rem 1rem 1rem; }
  .rm-life-phase::after { display: none; }
  .rm-life-phase-head { grid-template-columns: 1fr; gap: .8rem; }
  .rm-life-phase-count { justify-self: start; }
  .rm-life-step { grid-template-columns: 34px 1fr; gap: .65rem; }
  .rm-life-step-dot { width: 32px; height: 32px; border-radius: 11px; font-size: .7rem; }
  .rm-life-step-card { padding: 1rem; }
  .rm-life-close { padding: 1.35rem 1.25rem; }
  .rm-life-close-actions { width: 100%; }
  .rm-life-close-actions .btn { flex: 1 1 auto; }

  .rm-flash-stack { top: auto; bottom: 90px; right: 12px; left: 12px; max-width: none; }

  /* Mobile FABs: equal circular buttons, clear of content & safe areas */
  .rm-float-whatsapp span { display: none !important; }
  .rm-float-whatsapp {
    --rm-fab-size: 48px;
    left: max(14px, env(safe-area-inset-left, 0px));
    bottom: max(16px, calc(12px + env(safe-area-inset-bottom, 0px)));
    width: var(--rm-fab-size);
    min-width: var(--rm-fab-size);
    height: var(--rm-fab-size);
    padding: 0;
    gap: 0;
    border-radius: 50%;
  }
  .rm-float-whatsapp i { font-size: 1.45rem; }
  .rm-float-whatsapp:hover,
  .rm-float-whatsapp:active { transform: none; }
  .rm-to-top {
    --rm-fab-size: 48px;
    right: max(14px, env(safe-area-inset-right, 0px));
    bottom: max(16px, calc(12px + env(safe-area-inset-bottom, 0px)));
  }
  /* Keep page content from sitting under the FABs */
  body.rm-body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }

  .rm-cta-points { gap: .7rem 1.2rem; }
  .rm-footer-legal { gap: 1rem; }
  .rm-map-wrap { border-width: 4px; }
  .rm-map-wrap iframe { height: 320px; }
  .rm-pricing-card.is-featured::after { display: none; }
  .rm-lightbox-close { top: 8px; right: 8px; background: rgba(0, 0, 0, .5); }
}

@media (max-width: 575.98px) {
  h1 { font-size: 2.1rem; }
  .rm-hero-badge { font-size: .76rem; }
  .rm-hero-photo { object-position: center center; }
  .rm-counter-value { font-size: 1.45rem; }
  .rm-counter-value .rm-counter-suffix { font-size: .68em; }
  .rm-counter-icon { width: 48px; height: 48px; border-radius: 14px; font-size: 1.15rem; margin-bottom: .75rem; }
  .rm-job-card { padding: 1.3rem; }
  .rm-form-card { padding: 1.4rem 1.2rem; border-radius: var(--rm-r-lg); }
}

/* --------------------------------------------------------------------------
   25. Association Founder — Industry Leadership (navy / gold)
   -------------------------------------------------------------------------- */
.rm-assoc {
  --assoc-ink: var(--rm-heading);
  --assoc-ink-soft: var(--rm-dark-800);
  --assoc-brand: var(--rm-primary);
  --assoc-brand-soft: var(--rm-primary-300);
  --assoc-brand-dim: rgba(108, 60, 233, .16);
  --assoc-hot: var(--rm-secondary);
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
  background:
    radial-gradient(900px 420px at 88% 8%, rgba(108, 60, 233, .1), transparent 55%),
    radial-gradient(700px 360px at 8% 90%, rgba(233, 30, 99, .07), transparent 55%),
    linear-gradient(165deg, #FFFFFF 0%, var(--rm-light) 45%, #EEF2FF 100%);
  color: var(--assoc-ink);
}
.rm-assoc-texture {
  position: absolute; inset: 0; pointer-events: none; opacity: .04;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%236C3CE9' stroke-width='1'%3E%3Cpath d='M0 40h160M0 80h160M0 120h160M40 0v160M80 0v160M120 0v160'/%3E%3Cpath d='M20 20h40v30H20zM90 55h50v25H90zM30 100h55v35H30z' opacity='.55'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: multiply;
}
.rm-assoc-glow {
  position: absolute; border-radius: 50%; pointer-events: none; filter: blur(50px);
}
.rm-assoc-glow-a {
  width: 420px; height: 420px; top: -120px; right: -80px;
  background: radial-gradient(circle, rgba(108, 60, 233, .22), transparent 68%);
}
.rm-assoc-glow-b {
  width: 380px; height: 380px; bottom: 8%; left: -120px;
  background: radial-gradient(circle, rgba(233, 30, 99, .12), transparent 70%);
}

.rm-assoc-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  margin-bottom: clamp(3.5rem, 6vw, 5rem);
}

.rm-assoc-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .42rem .95rem .42rem .7rem;
  border-radius: 999px;
  background: var(--rm-primary-100);
  border: 1px solid rgba(108, 60, 233, .22);
  color: var(--rm-primary-600);
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; margin-bottom: 1.4rem;
}
.rm-assoc-badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--assoc-brand);
  box-shadow: 0 0 0 4px var(--assoc-brand-dim);
}

.rm-assoc-title {
  font-family: var(--rm-font-display);
  font-size: clamp(2.15rem, 4.2vw, 3.35rem);
  font-weight: 700; line-height: 1.12; letter-spacing: -.03em;
  color: var(--assoc-ink); margin-bottom: 1.35rem;
}
.rm-assoc-title span {
  background: var(--rm-grad-text);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.rm-assoc-lead {
  font-size: 1.08rem; line-height: 1.8; color: var(--rm-body); margin-bottom: 1rem; max-width: 36rem;
}
.rm-assoc-lead strong {
  background: var(--rm-grad-text);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.rm-assoc-body {
  font-size: 1rem; line-height: 1.78; color: var(--rm-muted); margin-bottom: 1.8rem; max-width: 35rem;
}

.rm-assoc-quote {
  position: relative;
  margin: 0;
  padding: 1.25rem 1.4rem 1.25rem 1.6rem;
  border-radius: 18px;
  background: var(--rm-grad-dark);
  border: 1px solid rgba(167, 139, 250, .35);
  box-shadow: 0 18px 40px rgba(108, 60, 233, .18);
  max-width: 34rem;
}
.rm-assoc-quote-mark {
  position: absolute; top: .35rem; left: .85rem;
  font-family: var(--rm-font-display); font-size: 2.8rem; line-height: 1;
  color: rgba(167, 139, 250, .5);
}
.rm-assoc-quote p {
  position: relative; z-index: 1; margin: 0;
  color: rgba(255, 255, 255, .9); font-size: 1rem; line-height: 1.65;
  font-style: italic; padding-left: .4rem;
}

/* Portrait column */
.rm-assoc-visual {
  position: relative;
  min-height: 520px;
  padding: 1.2rem 0 4.5rem;
}
.rm-assoc-portrait-frame {
  position: relative;
  margin-left: auto;
  width: min(100%, 420px);
  aspect-ratio: 4 / 5;
}
.rm-assoc-portrait-ring {
  position: absolute; inset: -14px -18px -22px 18px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 70% 20%, rgba(108, 60, 233, .22), transparent 45%),
    linear-gradient(160deg, rgba(15, 23, 42, .06), rgba(233, 30, 99, .1));
  border: 1px solid rgba(108, 60, 233, .2);
  z-index: 0;
}
.rm-assoc-portrait-bg {
  position: absolute; inset: 8% -8% -6% 12%;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, .9), rgba(49, 46, 129, .78)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 48px);
  z-index: 0;
  transform: rotate(2.5deg);
}
.rm-assoc-portrait {
  position: relative; z-index: 2; margin: 0;
  height: 100%; border-radius: 28px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .35);
  box-shadow:
    0 30px 70px rgba(15, 23, 42, .28),
    inset 0 0 0 1px rgba(167, 139, 250, .2);
  background: var(--rm-dark);
}
.rm-assoc-portrait img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  display: block;
  transition: transform 1.1s var(--rm-ease);
}
.rm-assoc-visual:hover .rm-assoc-portrait img { transform: scale(1.04); }

.rm-assoc-corner {
  position: absolute; z-index: 3; width: 54px; height: 54px;
  border: 2px solid var(--assoc-brand-soft); opacity: .9; pointer-events: none;
}
.rm-assoc-corner-tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; border-radius: 14px 0 0 0; }
.rm-assoc-corner-br { right: 12px; bottom: 12px; border-left: 0; border-top: 0; border-radius: 0 0 14px 0; }

/* Floating credentials card — glass / brand dark */
.rm-assoc-float {
  position: absolute;
  z-index: 5;
  left: 0;
  bottom: 0;
  display: flex; align-items: center; gap: 1rem;
  width: min(100%, 360px);
  padding: 1.05rem 1.2rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(15, 23, 42, .9), rgba(30, 27, 75, .94));
  border: 1px solid rgba(167, 139, 250, .4);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow:
    0 22px 50px rgba(108, 60, 233, .28),
    inset 0 1px 0 rgba(255, 255, 255, .08);
  animation: rmAssocFloat 6.5s ease-in-out infinite;
}
.rm-assoc-float-seal {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--rm-grad-brand);
  color: #fff; font-size: 1.35rem;
  box-shadow: 0 8px 18px rgba(108, 60, 233, .4), inset 0 1px 0 rgba(255,255,255,.35);
  border: 2px solid rgba(255, 255, 255, .35);
}
.rm-assoc-float-body { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.rm-assoc-float-role {
  font-size: .68rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--assoc-brand-soft);
}
.rm-assoc-float-name {
  font-size: 1.28rem; font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1.15;
}
.rm-assoc-float-org {
  font-size: .82rem; color: rgba(255,255,255,.72); line-height: 1.35; margin-top: .1rem;
}
.rm-assoc-float-year {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: .45rem; font-size: .75rem; font-weight: 600;
  color: var(--assoc-brand-soft); letter-spacing: .02em;
}

@keyframes rmAssocFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Pillars */
.rm-assoc-pillars-head {
  display: flex; align-items: center; justify-content: center; gap: 1.2rem;
  margin-bottom: 2rem;
}
.rm-assoc-pillars-head h3 {
  margin: 0; font-size: .82rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--assoc-ink); white-space: nowrap;
}
.rm-assoc-rule {
  flex: 1; max-width: 140px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--assoc-brand), transparent);
}

.rm-assoc-pillar-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}
.rm-assoc-pillar {
  position: relative;
  padding: 1.55rem 1.2rem 1.45rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--rm-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--rm-shadow-sm);
  text-align: center;
  transition: transform .45s var(--rm-ease), box-shadow .45s var(--rm-ease), border-color .45s var(--rm-ease);
  overflow: hidden;
}
.rm-assoc-pillar::before {
  content: ''; position: absolute; top: 0; left: 18%; right: 18%; height: 3px;
  border-radius: 0 0 99px 99px;
  background: var(--rm-grad-brand);
  opacity: 0; transition: opacity .4s var(--rm-ease);
}
.rm-assoc-pillar:hover {
  transform: translateY(-8px);
  border-color: rgba(108, 60, 233, .3);
  box-shadow: var(--rm-shadow-lg);
}
.rm-assoc-pillar:hover::before { opacity: 1; }

.rm-assoc-pillar-icon {
  width: 58px; height: 58px; margin: 0 auto 1.05rem; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--rm-dark), #312E81);
  color: var(--assoc-brand-soft); font-size: 1.35rem;
  box-shadow: 0 12px 24px rgba(108, 60, 233, .22);
  border: 1px solid rgba(167, 139, 250, .35);
  transition: transform .45s var(--rm-ease), background .45s var(--rm-ease), color .45s var(--rm-ease);
}
.rm-assoc-pillar:hover .rm-assoc-pillar-icon {
  transform: scale(1.08) rotate(-4deg);
  background: var(--rm-grad-brand);
  color: #fff;
}
.rm-assoc-pillar h4 {
  font-size: .98rem; font-weight: 700; color: var(--assoc-ink);
  margin-bottom: .55rem; letter-spacing: -.015em; line-height: 1.3;
}
.rm-assoc-pillar p {
  margin: 0; font-size: .84rem; line-height: 1.55; color: var(--rm-muted);
}

@media (max-width: 1199.98px) {
  .rm-assoc-pillar-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rm-assoc-pillar:nth-child(4),
  .rm-assoc-pillar:nth-child(5) { grid-column: span 1; }
}
@media (max-width: 991.98px) {
  .rm-assoc-stage { grid-template-columns: 1fr; gap: 2.5rem; }
  .rm-assoc-visual { min-height: auto; padding-bottom: 3.5rem; max-width: 460px; margin: 0 auto; }
  .rm-assoc-portrait-frame { margin: 0 auto; }
  .rm-assoc-float { left: 50%; transform: translateX(-50%); width: min(92%, 360px); }
  .rm-assoc-visual:hover .rm-assoc-float,
  .rm-assoc-float { animation: none; }
  @keyframes rmAssocFloatMobile {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-5px); }
  }
  .rm-assoc-float { animation: rmAssocFloatMobile 6.5s ease-in-out infinite; }
}
@media (max-width: 767.98px) {
  .rm-assoc-pillar-grid { grid-template-columns: 1fr 1fr; }
  .rm-assoc-pillar:last-child { grid-column: 1 / -1; max-width: 280px; margin: 0 auto; width: 100%; }
  .rm-assoc-pillars-head h3 { white-space: normal; text-align: center; }
  .rm-assoc-rule { max-width: 48px; }
}
@media (max-width: 575.98px) {
  .rm-assoc-pillar-grid { grid-template-columns: 1fr; }
  .rm-assoc-pillar:last-child { max-width: none; }
  .rm-assoc-float { padding: .9rem 1rem; }
  .rm-assoc-float-name { font-size: 1.12rem; }
}
@media (prefers-reduced-motion: reduce) {
  .rm-assoc-float { animation: none !important; }
  .rm-assoc-portrait img { transition: none; }
}

/* --------------------------------------------------------------------------
   26. USP / differentiator cards
   -------------------------------------------------------------------------- */
.rm-usp-card {
  display: flex;
  flex-direction: column;
  padding-top: 2.2rem;
}
.rm-usp-card .rm-link-arrow { margin-top: auto; padding-top: 1.1rem; }
.rm-usp-no {
  position: absolute;
  top: 1.25rem;
  right: 1.45rem;
  font-family: var(--rm-font-mono);
  font-size: 2.1rem;
  font-weight: 500;
  line-height: 1;
  color: rgba(108, 60, 233, .12);
}
.rm-usp-stack { display: flex; flex-direction: column; gap: 1.4rem; }
.rm-usp-detail {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2rem;
  align-items: start;
  background: #fff;
  border: 1px solid var(--rm-border);
  border-radius: var(--rm-r-xl);
  padding: 2.2rem 2.4rem;
  box-shadow: var(--rm-shadow-sm);
  scroll-margin-top: calc(var(--rm-header-h) + 1.5rem);
  transition: transform .42s var(--rm-ease), box-shadow .42s var(--rm-ease), border-color .42s var(--rm-ease);
}
.rm-usp-detail:hover {
  transform: translateY(-4px);
  box-shadow: var(--rm-shadow-lg);
  border-color: rgba(94, 59, 238, .22);
}
.rm-usp-detail-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.rm-usp-no-lg {
  font-family: var(--rm-font-mono);
  font-size: 3rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.04em;
  background: var(--rm-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.rm-usp-detail-body .rm-eyebrow { margin-bottom: .7rem; }
.rm-usp-detail-body h3 {
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  margin-bottom: 1rem;
  letter-spacing: -.02em;
}
.rm-usp-detail-body .rm-lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--rm-body);
}

@media (max-width: 767.98px) {
  .rm-usp-detail {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 1.7rem 1.4rem;
  }
  .rm-usp-detail-aside { flex-direction: row; align-items: center; gap: 1rem; }
  .rm-usp-no-lg { font-size: 2.2rem; }
  .rm-usp-detail-aside .rm-icon-badge { margin-bottom: 0; }
}

/* --------------------------------------------------------------------------
   27. Print
   -------------------------------------------------------------------------- */
@media print {
  .rm-topbar, .rm-header, .rm-footer, .rm-cta-band, .rm-float-whatsapp, .rm-to-top, .rm-cookie-bar, .rm-scroll-progress { display: none !important; }
  body.rm-body { background: #fff; color: #000; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
