/* ==========================================================================
   ReadyForRole — Conversion & Trust layer (home page)
   Added Oct 2026. Loaded by index.html only. Additive: defines no new brand
   colour and overrides no existing token. Reuses --brand-1/2/3 from main.css.
   Sections: 1 Client trust grid · 2 Problem/Solution/Impact · 3 CTA trust
             micro-copy · 4 Floating callback bar
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CLIENT TRUST GRID  (replaces the marquee strip)
   -------------------------------------------------------------------------- */

.rfr-clients { padding: 54px 0 40px; position: relative; z-index: 1; }
@media (max-width: 767.98px) { .rfr-clients { padding: 38px 0 28px; } }

.rfr-clients-head { text-align: center; max-width: 780px; margin: 0 auto 30px; }
.rfr-clients-kicker {
  display: inline-block; font-size: clamp(1.25rem, 1.05rem + .9vw, 1.75rem); font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; margin-bottom: 14px; line-height: 1.2;
  /* same navy-to-blue text gradient as the section headings (e.g. "Enterprise Expertise") */
  color: var(--rfr-ink-2, #132a47);
  background: linear-gradient(95deg, var(--rfr-ink-2, #132a47) 15%, var(--brand-2, #2380B9) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.rfr-clients-head h2 {
  /* one solid brand navy, in Poppins (already loaded for the nav) for a cleaner, premium look */
  font-family: "Poppins", "Montserrat", sans-serif;
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.05rem); font-weight: 600;
  letter-spacing: -.015em;
  color: var(--brand-1, #16356F); line-height: 1.3; margin-bottom: 12px;
}
.rfr-clients-head p { font-size: .95rem; line-height: 1.62; color: #5a6b85; margin: 0; }

/* continuous right-to-left marquee (same mechanism and 38s cadence as the
   original clientele strip): one track, two identical lists, translated -50% */
.rfr-clients-box {
  position: relative;
  overflow: hidden;
  padding: 4px 0 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.rfr-clients-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: rfr-clients-scroll 38s linear infinite;
  will-change: transform;
}
.rfr-clients-box:hover .rfr-clients-track,
.rfr-clients-box:focus-within .rfr-clients-track { animation-play-state: paused; }

.rfr-clients-list {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin: 0; padding: 0; list-style: none;
}

@keyframes rfr-clients-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(calc(-50% - 8px), 0, 0); }
}

.rfr-client-card {
  flex: 0 0 auto; width: 244px;
  display: flex; flex-direction: column; gap: 10px; height: auto;
  padding: 18px 16px;
  border-radius: 14px;
  border: 1px solid rgba(22, 53, 111, .1);
  background: #fff;
  box-shadow: 0 3px 12px rgba(22, 53, 111, .05);
  transition: transform .26s ease-out, box-shadow .26s ease-out, border-color .26s ease-out;
}
.rfr-client-card:hover {
  transform: translateY(-4px);
  border-color: rgba(35, 128, 185, .42);
  box-shadow: 0 16px 34px rgba(22, 53, 111, .12);
}

.rfr-client-top { display: flex; align-items: center; gap: 11px; min-width: 0; }

/* monogram tile — stands in for a logo; swap for <img> without layout change */
.rfr-client-mark {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 11px;
  background: linear-gradient(140deg, var(--brand-1, #16356F) 0%, var(--brand-2, #2380B9) 100%);
  color: #fff; font-weight: 800; letter-spacing: .01em;
  font-size: .78rem; line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28);
}
.rfr-client-mark.is-len4 { font-size: .64rem; }
.rfr-client-mark.alt { background: linear-gradient(140deg, var(--brand-2, #2380B9) 0%, var(--brand-3, #25B786) 100%); }
.rfr-client-card img.rfr-client-mark { object-fit: contain; background: #fff; border: 1px solid rgba(22,53,111,.1); padding: 4px; }

.rfr-client-name {
  min-width: 0; font-size: .92rem; font-weight: 700; line-height: 1.32;
  color: var(--brand-1, #16356F); overflow-wrap: anywhere;
}

.rfr-client-tag {
  align-self: flex-start; margin-top: auto;
  padding: 3px 9px; border-radius: 999px;
  background: rgba(35, 128, 185, .08);
  border: 1px solid rgba(35, 128, 185, .16);
  font-size: .66rem; font-weight: 700; letter-spacing: .03em;
  text-transform: uppercase; color: #3d5a82; white-space: nowrap;
}
.rfr-client-tag.t-health { background: rgba(37, 183, 134, .1); border-color: rgba(37, 183, 134, .22); color: #17795a; }
.rfr-client-tag.t-cyber  { background: rgba(22, 53, 111, .08); border-color: rgba(22, 53, 111, .18); color: #16356F; }

.rfr-clients-foot {
  margin-top: 26px; text-align: center;
  font-size: .85rem; color: #6b7a93;
}
.rfr-clients-foot strong { color: var(--brand-1, #16356F); }

/* --------------------------------------------------------------------------
   2. PROBLEM → SOLUTION → IMPACT
   -------------------------------------------------------------------------- */

.rfr-psi { padding: 60px 0; position: relative; z-index: 1; }
@media (max-width: 767.98px) { .rfr-psi { padding: 42px 0; } }

.rfr-psi-head { text-align: center; max-width: 860px; margin: 0 auto 38px; }
.rfr-psi-head h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.1rem); font-weight: 800;
  color: var(--brand-1, #16356F); line-height: 1.2; margin-bottom: 12px;
}
/* the 2-sentence direct answer AI engines quote */
.rfr-answer {
  font-size: 1.02rem; line-height: 1.68; color: #44546e;
  max-width: 820px; margin: 0 auto;
}
.rfr-answer strong { color: var(--brand-1, #16356F); }

.rfr-psi-rail { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 992px) { .rfr-psi-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }

/* Cards reuse the site's Services-card design (.rfr-svc-mini gradient border,
   glass hover, shine, .rfr-icon-bubble) so they match the logo palette and the
   rest of the page. Only the layout glue below is new. */
.rfr-psi-card { min-width: 0; height: 100%; }
.rfr-psi-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.rfr-psi-top .rfr-icon-bubble { width: 54px; height: 54px; font-size: 1.35rem; flex: 0 0 auto; }
.rfr-psi-tag {
  font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-2, #2380B9); padding: 5px 11px; border-radius: 999px;
  background: rgba(35, 128, 185, .09); border: 1px solid rgba(35, 128, 185, .18);
}
.rfr-psi-card h3 { line-height: 1.32; }
.rfr-psi-card p { font-size: .93rem; line-height: 1.62; color: #55657e; margin: 0 0 4px; flex: 1 1 auto; }
.rfr-psi-fix {
  display: block; margin-top: 14px; padding-top: 14px;
  border-top: 1px solid rgba(22, 53, 111, .09);
  font-size: .88rem; line-height: 1.58; color: #3d5a82;
}
.rfr-psi-fix b { color: var(--brand-1, #16356F); }
.rfr-psi-fix a { color: var(--brand-2, #2380B9); font-weight: 700; text-decoration: none; }
.rfr-psi-fix a:hover { text-decoration: underline; }

.rfr-psi-sub {
  text-align: center; font-size: clamp(1.3rem, 1.05rem + 1.2vw, 2rem); font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brand-2, #2380B9); margin: 52px 0 26px; line-height: 1.25;
}

/* impact metrics */
.rfr-impact { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 992px) { .rfr-impact { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.rfr-impact-card {
  min-width: 0; padding: 22px 18px; border-radius: 14px; text-align: center;
  border: 1px solid rgba(35, 128, 185, .2);
  background: linear-gradient(180deg, #ffffff 0%, #f4f9fe 100%);
}
.rfr-impact-n {
  display: block; font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem); font-weight: 800;
  line-height: 1.1; margin-bottom: 6px;
  background: linear-gradient(100deg, var(--brand-1, #16356F), var(--brand-2, #2380B9) 55%, var(--brand-3, #25B786));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--brand-2, #2380B9);
}
.rfr-impact-l { display: block; font-size: .84rem; line-height: 1.5; color: #55657e; }
.rfr-impact-src { display: block; margin-top: 7px; font-size: .68rem; color: #8a97ad; }


/* feature / outcome / metric table (3 columns, machine-readable for answer engines) */
.rfr-feat-wrap { margin: 40px auto 6px; max-width: 980px; }
.rfr-feat-title {
  text-align: center; font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); font-weight: 800;
  color: var(--brand-1, #16356F); margin: 0 0 16px;
}
.rfr-feat-scroll { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; border-radius: 16px;
  border: 1px solid rgba(35, 128, 185, .22); background: #fff; box-shadow: 0 6px 22px rgba(22, 53, 111, .07); }
.rfr-feat { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .92rem; line-height: 1.5; }
.rfr-feat thead th {
  text-align: left; padding: 13px 18px; font-size: .74rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: #fff; background: transparent;
}
.rfr-feat thead { background: linear-gradient(95deg, var(--brand-1, #16356F), var(--brand-2, #2380B9)); }
.rfr-feat tbody th, .rfr-feat tbody td { padding: 14px 18px; vertical-align: top; border-top: 1px solid rgba(22, 53, 111, .09); text-align: left; }
.rfr-feat tbody th { font-weight: 800; color: var(--brand-1, #16356F); width: 29%; }
.rfr-feat tbody td { color: #44546e; }
.rfr-feat tbody td:last-child { color: var(--brand-1, #16356F); font-weight: 700; }
.rfr-feat tbody tr:nth-child(even) { background: #f4f9fe; }

/* Home "Traditional L&D Vendors vs ReadyForRole" table restyled to match the
   feature table above (gradient header, bordered card, striped rows). Design only. */
.rfr-compare-wrap {
  overflow-y: hidden; border-radius: 16px;
  border: 1px solid rgba(35, 128, 185, .22);
  box-shadow: 0 6px 22px rgba(22, 53, 111, .07);
}
.rfr-compare-table thead { background: linear-gradient(95deg, var(--brand-1, #16356F), var(--brand-2, #2380B9)); }
.rfr-compare-table thead th,
.rfr-compare-table thead .rfr-compare-old,
.rfr-compare-table thead .rfr-compare-new {
  padding: 15px 24px; border-bottom: none; background: transparent;
  font-family: var(--rfr-body); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; -webkit-text-fill-color: #fff;
}
.rfr-compare-table td { padding: 15px 24px; border-bottom: none; border-top: 1px solid rgba(22, 53, 111, .09); }
.rfr-compare-table tbody tr:first-child td { border-top: none; }
.rfr-compare-table tbody tr:nth-child(even) { background: #f4f9fe; }
.rfr-compare-table tbody tr:hover { background: #eaf4fb; }
.rfr-compare-label { font-weight: 800; color: var(--brand-1, #16356F); }
.rfr-compare-new { color: var(--brand-1, #16356F); font-weight: 700; }

/* --------------------------------------------------------------------------
   3. CTA TRUST MICRO-COPY
   -------------------------------------------------------------------------- */

.rfr-cta-trust {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 6px 14px; margin-top: 14px;
  font-size: .8rem; line-height: 1.4; color: rgba(255, 255, 255, .8);
}
.rfr-cta-trust span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.rfr-cta-trust i { color: var(--brand-3, #25B786); font-size: .9rem; }
.rfr-cta-trust.on-light { color: #6b7a93; }
.rfr-cta-trust.on-light i { color: var(--brand-3, #25B786); }

/* --------------------------------------------------------------------------
   4. FLOATING CALLBACK BAR
   -------------------------------------------------------------------------- */

.rfr-callbar {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%) translateY(140%);
  z-index: 1035; width: min(660px, calc(100vw - 24px));
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px 14px 12px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: linear-gradient(110deg, #16356F 0%, #1c4a8c 55%, #1d6f9e 100%);
  box-shadow: 0 18px 44px rgba(11, 26, 56, .38);
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), opacity .35s ease;
  opacity: 0;
}
.rfr-callbar.is-in { transform: translateX(-50%) translateY(0); opacity: 1; }
.rfr-callbar[hidden] { display: none; }

.rfr-callbar-txt { flex: 1 1 210px; min-width: 0; color: #fff; }
.rfr-callbar-txt strong { display: block; font-size: .95rem; font-weight: 700; line-height: 1.3; }
.rfr-callbar-txt span { display: block; font-size: .78rem; color: rgba(255, 255, 255, .72); margin-top: 2px; }

.rfr-callbar-act { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; flex-wrap: wrap; }
.rfr-callbar-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  background: linear-gradient(100deg, var(--brand-2, #2380B9), var(--brand-3, #25B786));
  color: #fff !important; font-size: .86rem; font-weight: 700; text-decoration: none;
  box-shadow: 0 6px 16px rgba(35, 128, 185, .38);
  transition: transform .24s ease-out, box-shadow .24s ease-out;
  white-space: nowrap;
}
.rfr-callbar-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37, 183, 134, .48); }
.rfr-callbar-tel {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .28); color: #fff !important;
  font-size: .84rem; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background-color .24s ease-out;
}
.rfr-callbar-tel:hover { background: rgba(255, 255, 255, .12); }
.rfr-callbar-x {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .12); color: #fff;
  font-size: .95rem; line-height: 1; cursor: pointer;
  transition: background-color .22s ease-out;
}
.rfr-callbar-x:hover { background: rgba(255, 255, 255, .24); }

@media (max-width: 575.98px) {
  .rfr-callbar { bottom: 12px; padding: 12px 12px 12px 14px; gap: 10px; }
  .rfr-callbar-txt { flex: 1 1 100%; }
  .rfr-callbar-txt span { display: none; }
  .rfr-callbar-act { flex: 1 1 100%; }
  .rfr-callbar-cta { flex: 1 1 auto; justify-content: center; }
}

/* keep the back-to-top control clear of the bar */
body.rfr-callbar-open .scroll-top { bottom: 96px; }

/* --------------------------------------------------------------------------
   5. FOCUS + MOTION
   -------------------------------------------------------------------------- */

.rfr-client-card:focus-within,
.rfr-callbar a:focus-visible,
.rfr-callbar button:focus-visible {
  outline: 3px solid rgba(37, 183, 134, .6); outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .rfr-client-card, .rfr-callbar, .rfr-callbar-cta, .rfr-callbar-tel, .rfr-callbar-x { transition: none !important; }
  .rfr-clients-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .rfr-clients-list { flex-wrap: wrap; justify-content: center; }
  .rfr-clients-box { -webkit-mask-image: none; mask-image: none; }
  .rfr-client-card:hover, .rfr-callbar-cta:hover { transform: none !important; }
  .rfr-callbar { transform: translateX(-50%) translateY(0); opacity: 1; }
}

@media print {
  .rfr-callbar { display: none !important; }
  .rfr-client-card, .rfr-psi-card, .rfr-impact-card { box-shadow: none; break-inside: avoid; }
  .rfr-clients-track { animation: none; flex-wrap: wrap; width: auto; }
}
