/* ============================================================
   RETIRUM · HOJA DE ESTILOS MAESTRA ÚNICA
   Archivo canónico para index.php, páginas interiores y Checkup
   Ruta de producción: /css/style-retirum-elite.css
   ============================================================ */


:root {
  --rb-blue: #062b5f;
  --rb-blue-deep: #001f45;
  --rb-blue-mid: #0c568c;
  --rb-blue-bright: #167fba;
  --rb-blue-pale: #dcecf4;
  --rb-blue-ice: #eef6f9;
  --rb-orange: #f36f21;
  --rb-orange-dark: #d8570f;
  --rb-yellow: #f5b800;
  --rb-green: #0d927d;
  --rb-red: #bd3450;
  --rb-ink: #10223c;
  --rb-ink-soft: #42516a;
  --rb-muted: #748197;
  --rb-faint: #9ca7b7;
  --rb-line: #e2e8ef;
  --rb-line-strong: #cbd5e0;
  --rb-bg: #ffffff;
  --rb-bg-soft: #f6f8fb;
  --rb-radius: 4px;
  --rb-radius-md: 10px;
  --rb-radius-lg: 18px;
  --rb-shadow-sm: 0 5px 18px rgba(8, 34, 70, 0.08);
  --rb-shadow-md: 0 18px 50px rgba(8, 34, 70, 0.14);
  --rb-shadow-lg: 0 28px 80px rgba(0, 31, 69, 0.24);
  --rb-container: 1240px;
  --rb-font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--rb-ink);
  background: var(--rb-bg);
  font-family: var(--rb-font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.rb-modal-open { overflow: hidden; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.rb-page { overflow: clip; }
.rb-container { width: min(var(--rb-container), calc(100% - 48px)); margin: 0 auto; }
.rb-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* ===== Encabezado ===== */
.rb-header { position: relative; z-index: 100; }
.rb-topbar {
  background: #061d3e;
  color: rgba(255,255,255,.72);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.rb-topbar__inner {
  min-height: 37px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.rb-topbar__links,
.rb-topbar__contact { display: flex; align-items: center; gap: 22px; }
.rb-topbar__eyebrow { color: var(--rb-yellow); letter-spacing: .12em; }
.rb-topbar a { transition: color .18s ease; }
.rb-topbar a:hover { color: #fff; }
.rb-topbar__contact > span { color: rgba(255,255,255,.42); }
.rb-topbar__contact a:last-child { color: #fff; }

.rb-navbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--rb-blue);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 8px 22px rgba(0,31,69,.14);
}
.rb-navbar__inner {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.rb-brand { display: flex; align-items: center; gap: 15px; min-width: 190px; }
.rb-brand img { width: auto; height: 38px; display: block; }
.rb-brand__unit {
  max-width: 86px;
  padding-left: 14px;
  border-left: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.68);
  font-size: 8.5px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.rb-nav { display: flex; align-items: center; justify-content: flex-end; gap: 27px; }
.rb-nav a {
  position: relative;
  color: rgba(255,255,255,.86);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .03em;
}
.rb-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -10px;
  height: 2px;
  background: var(--rb-yellow);
  transition: right .2s ease;
}
.rb-nav a:hover { color: #fff; }
.rb-nav a:hover::after { right: 0; }
.rb-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: var(--rb-radius);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.rb-nav-cta:hover { background: #fff; color: var(--rb-blue); border-color: #fff; }
.rb-menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.22); border-radius: var(--rb-radius); background: transparent; }
.rb-menu-toggle span { display: block; width: 19px; height: 2px; margin: 4px auto; background: #fff; }

/* ===== Elementos comunes ===== */
.rb-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--rb-blue-mid);
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.rb-kicker::before { content: ""; width: 25px; height: 2px; background: var(--rb-orange); }
.rb-kicker--light { color: rgba(255,255,255,.76); }
.rb-kicker--light::before { background: var(--rb-yellow); }

.rb-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--rb-blue-ice);
  color: var(--rb-blue-mid);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.rb-pill--light { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.18); }

.rb-btn {
  min-height: 46px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--rb-radius);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.rb-btn:hover { transform: translateY(-2px); }
.rb-btn--primary { background: var(--rb-blue); color: #fff; box-shadow: 0 10px 22px rgba(6,43,95,.17); }
.rb-btn--primary:hover { background: var(--rb-blue-deep); box-shadow: 0 14px 28px rgba(6,43,95,.23); }
.rb-btn--secondary { background: #fff; color: var(--rb-blue); border-color: var(--rb-line-strong); }
.rb-btn--secondary:hover { border-color: var(--rb-blue); }
.rb-btn--accent { background: var(--rb-orange); color: #fff; box-shadow: 0 12px 26px rgba(243,111,33,.22); }
.rb-btn--accent:hover { background: var(--rb-orange-dark); box-shadow: 0 15px 32px rgba(243,111,33,.28); }
.rb-btn--outline-light { color: #fff; border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.03); }
.rb-btn--outline-light:hover { background: #fff; color: var(--rb-blue); border-color: #fff; }
.rb-btn--light { background: #fff; color: var(--rb-blue); }

/* ===== Hero ===== */
.rb-hero {
  position: relative;
  isolation: isolate;
  min-height: 720px;
  padding: 78px 0 84px;
  background:
    linear-gradient(118deg, rgba(0,31,69,.98) 0%, rgba(6,43,95,.98) 54%, rgba(12,86,140,.94) 100%);
  color: #fff;
}
.rb-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: .36;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 78%);
}
.rb-hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, rgba(0,31,69,.22));
}
.rb-hero__glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(1px); opacity: .25; }
.rb-hero__glow--one { width: 520px; height: 520px; right: -180px; top: -210px; background: radial-gradient(circle, #65c6e8 0%, transparent 68%); }
.rb-hero__glow--two { width: 300px; height: 300px; left: 30%; bottom: -190px; background: radial-gradient(circle, var(--rb-orange) 0%, transparent 68%); opacity: .14; }
.rb-hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(390px, .78fr); gap: 72px; align-items: center; }
.rb-hero__content h1 {
  max-width: 760px;
  margin: 19px 0 20px;
  font-size: clamp(2.8rem, 5.4vw, 5rem);
  line-height: .99;
  letter-spacing: -.055em;
  font-weight: 700;
}
.rb-lead { max-width: 690px; margin: 0; color: rgba(255,255,255,.78); font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.72; }
.rb-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.rb-hero__dashboard {
  width: min(650px, 100%);
  margin-top: 42px;
  padding: 22px 24px 19px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--rb-radius-md);
  background: rgba(255,255,255,.075);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
}
.rb-hero__dashboard-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 13px; border-bottom: 1px solid rgba(255,255,255,.13); }
.rb-hero__dashboard-head span { font-size: 12px; font-weight: 700; }
.rb-hero__dashboard-head small { color: rgba(255,255,255,.47); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.rb-hero__metrics { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 17px; }
.rb-hero__metrics > div { min-width: 0; padding: 0 17px; border-right: 1px solid rgba(255,255,255,.12); }
.rb-hero__metrics > div:first-child { padding-left: 0; }
.rb-hero__metrics > div:last-child { border-right: 0; }
.rb-metric__label { display: block; margin-bottom: 5px; color: var(--rb-yellow); font-size: 8.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.rb-hero__metrics strong { display: block; font-size: 14px; letter-spacing: -.02em; }
.rb-hero__metrics small { display: block; margin-top: 3px; color: rgba(255,255,255,.5); font-size: 9px; line-height: 1.35; }
.rb-hero__bars { height: 52px; display: flex; align-items: end; gap: 8px; margin-top: 16px; padding-top: 9px; border-top: 1px dashed rgba(255,255,255,.11); }
.rb-hero__bars span { flex: 1; height: var(--bar); min-height: 8px; background: linear-gradient(180deg, var(--rb-yellow), var(--rb-orange)); border-radius: 2px 2px 0 0; opacity: .86; }
.rb-hero__proof { display: flex; flex-wrap: wrap; gap: 0; margin-top: 25px; }
.rb-hero__proof div { min-width: 150px; padding: 0 23px; border-right: 1px solid rgba(255,255,255,.14); }
.rb-hero__proof div:first-child { padding-left: 0; }
.rb-hero__proof div:last-child { border-right: 0; }
.rb-hero__proof strong { display: block; color: #fff; font-size: 1.3rem; line-height: 1; }
.rb-hero__proof span { display: block; margin-top: 5px; color: rgba(255,255,255,.5); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; }

.rb-diagnostic-card {
  position: relative;
  overflow: hidden;
  padding: 34px 34px 31px;
  border-radius: var(--rb-radius-lg);
  background: #fff;
  color: var(--rb-ink);
  box-shadow: var(--rb-shadow-lg);
}
.rb-diagnostic-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--rb-yellow), var(--rb-orange)); }
.rb-card-mark { position: absolute; right: 27px; top: 25px; width: 56px; height: 42px; display: flex; align-items: end; gap: 4px; opacity: .9; }
.rb-card-mark i { flex: 1; border-radius: 2px 2px 0 0; background: var(--rb-blue-pale); }
.rb-card-mark i:nth-child(1) { height: 34%; }
.rb-card-mark i:nth-child(2) { height: 55%; background: var(--rb-blue-bright); }
.rb-card-mark i:nth-child(3) { height: 78%; background: var(--rb-blue-mid); }
.rb-card-mark i:nth-child(4) { height: 100%; background: var(--rb-blue); box-shadow: inset 0 8px 0 var(--rb-yellow); }
.rb-diagnostic-card h2 { max-width: 410px; margin: 18px 0 11px; color: var(--rb-blue); font-size: clamp(1.55rem, 2.2vw, 2rem); line-height: 1.15; letter-spacing: -.035em; }
.rb-diagnostic-card > p { margin: 0 0 24px; color: var(--rb-muted); font-size: 12.5px; line-height: 1.65; }

/* ===== Formularios ===== */
.rb-form { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.rb-form__field { min-width: 0; grid-column: 1 / -1; }
.rb-form__field--half { grid-column: auto; }
.rb-form label { display: block; margin-bottom: 6px; color: var(--rb-ink-soft); font-size: 10.5px; font-weight: 700; letter-spacing: .04em; }
.rb-form input,
.rb-form select {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid var(--rb-line-strong);
  border-radius: var(--rb-radius);
  outline: 0;
  background: #fff;
  color: var(--rb-ink);
  font-size: 12px;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.rb-form select { padding-right: 34px; }
.rb-form input:focus,
.rb-form select:focus { border-color: var(--rb-blue-mid); box-shadow: 0 0 0 3px rgba(12,86,140,.09); background: #fff; }
.rb-form__button { width: 100%; grid-column: 1 / -1; margin-top: 3px; border: 0; }
.rb-form__privacy { grid-column: 1 / -1; margin-top: -4px; text-align: center; color: var(--rb-faint); font-size: 8.5px; }
.rb-form--modal { margin-top: 21px; }

.rb-alert { grid-column: 1 / -1; margin: 0 0 18px; padding: 11px 13px; border-radius: var(--rb-radius); font-size: 11px; line-height: 1.5; }
.rb-alert--success { color: #0a6859; background: rgba(13,146,125,.1); border: 1px solid rgba(13,146,125,.28); }
.rb-alert--error { color: #98273e; background: rgba(189,52,80,.08); border: 1px solid rgba(189,52,80,.25); }

/* ===== Secciones y encabezados ===== */
.rb-section { padding: 92px 0; }
.rb-section--soft { background: var(--rb-bg-soft); }
.rb-section-head { max-width: 760px; margin-bottom: 37px; }
.rb-section-head h2 { margin: 13px 0 12px; color: var(--rb-blue); font-size: clamp(2rem, 3.6vw, 3.3rem); line-height: 1.08; letter-spacing: -.045em; }
.rb-section-head p { max-width: 690px; margin: 0; color: var(--rb-muted); font-size: 14px; }
.rb-section-head--inline { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.rb-section-head--inline > div { max-width: 720px; }
.rb-section-head--inline > p { max-width: 390px; padding-bottom: 5px; }
.rb-section-head--light h2 { color: #fff; }
.rb-section-head--light p { color: rgba(255,255,255,.63); }

/* ===== Accesos rápidos ===== */
.rb-quick-actions { padding: 59px 0 63px; background: #fff; border-bottom: 1px solid var(--rb-line); }
.rb-quick-actions .rb-section-head { margin-bottom: 26px; }
.rb-action-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--rb-line); border-radius: var(--rb-radius-md); overflow: hidden; background: #fff; box-shadow: var(--rb-shadow-sm); }
.rb-action-grid a { position: relative; min-height: 168px; padding: 23px 23px 21px; border-right: 1px solid var(--rb-line); transition: background .2s ease, transform .2s ease; }
.rb-action-grid a:last-child { border-right: 0; }
.rb-action-grid a::before { content: ""; position: absolute; top: 0; left: 0; right: 100%; height: 3px; background: var(--rb-orange); transition: right .25s ease; }
.rb-action-grid a:hover { z-index: 2; background: var(--rb-blue-ice); }
.rb-action-grid a:hover::before { right: 0; }
.rb-action-grid span { display: block; color: var(--rb-orange); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.rb-action-grid strong { display: block; margin-top: 20px; color: var(--rb-blue); font-size: 15px; line-height: 1.25; }
.rb-action-grid small { display: block; margin-top: 6px; color: var(--rb-muted); font-size: 11px; }
.rb-action-grid i { position: absolute; right: 21px; bottom: 16px; color: var(--rb-blue-mid); font-size: 18px; font-style: normal; transition: transform .18s ease; }
.rb-action-grid a:hover i { transform: translateX(4px); }

/* ===== Tarjetas de solución ===== */
.rb-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.rb-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 405px;
  padding: 25px 23px 23px;
  overflow: hidden;
  border: 1px solid var(--rb-line);
  border-radius: var(--rb-radius-md);
  background: #fff;
  box-shadow: 0 4px 12px rgba(8,34,70,.035);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.rb-product-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--rb-blue), var(--rb-blue-bright)); }
.rb-product-card:nth-child(2)::before { background: linear-gradient(90deg, var(--rb-blue-mid), var(--rb-yellow)); }
.rb-product-card:nth-child(3)::before { background: linear-gradient(90deg, var(--rb-blue), var(--rb-orange)); }
.rb-product-card:nth-child(4)::before { background: linear-gradient(90deg, var(--rb-orange), var(--rb-yellow)); }
.rb-product-card:hover { transform: translateY(-7px); border-color: var(--rb-blue-pale); box-shadow: var(--rb-shadow-md); }
.rb-product-card__top { display: flex; align-items: center; justify-content: space-between; }
.rb-product-card__top span { color: var(--rb-blue-mid); font-size: 9.5px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.rb-product-card__top b { color: #dbe3eb; font-size: 28px; line-height: 1; }
.rb-product-card h3 { margin: 36px 0 13px; color: var(--rb-blue); font-size: 1.25rem; line-height: 1.25; letter-spacing: -.025em; }
.rb-product-card p { margin: 0; color: var(--rb-muted); font-size: 12px; line-height: 1.65; }
.rb-product-card ul { margin: 24px 0 22px; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--rb-line); }
.rb-product-card li { position: relative; margin: 8px 0; padding-left: 15px; color: var(--rb-ink-soft); font-size: 10.5px; }
.rb-product-card li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--rb-orange); }
.rb-product-card > a { display: flex; align-items: center; justify-content: space-between; margin-top: auto; color: var(--rb-blue); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rb-product-card > a i { font-size: 17px; font-style: normal; transition: transform .18s ease; }
.rb-product-card > a:hover i { transform: translateX(4px); }

/* ===== Simulador ===== */
.rb-simulator { position: relative; padding: 91px 0 100px; background: linear-gradient(150deg, var(--rb-blue-deep) 0%, var(--rb-blue) 55%, #084c7c 100%); color: #fff; }
.rb-simulator::before { content: ""; position: absolute; inset: 0; opacity: .28; background-image: radial-gradient(rgba(255,255,255,.15) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, #000 45%, transparent); }
.rb-simulator .rb-container { position: relative; }
.rb-simulator__box { position: relative; display: grid; grid-template-columns: 1.03fr .97fr; border: 1px solid rgba(255,255,255,.16); border-radius: var(--rb-radius-lg); overflow: hidden; box-shadow: 0 26px 70px rgba(0,15,35,.34); }
.rb-simulator__controls,
.rb-simulator__results { padding: 37px 38px 36px; }
.rb-simulator__controls { background: #fff; color: var(--rb-ink); }
.rb-simulator__results { background: linear-gradient(145deg, rgba(6,43,95,.98), rgba(0,31,69,.98)); color: #fff; }
.rb-simulator__panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.rb-simulator__panel-head h3 { margin: 12px 0 0; color: var(--rb-blue); font-size: 1.65rem; line-height: 1.15; letter-spacing: -.03em; }
.rb-simulator__panel-head--results h3 { color: #fff; }
.rb-step-badge { margin-top: 3px; color: var(--rb-faint); font-size: 8.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.rb-step-badge--light { color: rgba(255,255,255,.4); }
.rb-muted { margin: 12px 0 27px; color: var(--rb-muted); font-size: 11px; line-height: 1.55; }
.rb-simulator__results .rb-muted { color: rgba(255,255,255,.5); }
.rb-range-field { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--rb-line); }
.rb-range-field__top { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; }
.rb-range-field__top label { color: var(--rb-ink-soft); font-size: 11.5px; font-weight: 600; }
.rb-range-field__top strong { color: var(--rb-blue); font-size: 16px; letter-spacing: -.02em; }
.rb-range { width: 100%; height: 5px; margin: 17px 0 5px; appearance: none; border-radius: 99px; background: linear-gradient(90deg, var(--rb-blue-pale), #dbe3eb); outline: none; }
.rb-range::-webkit-slider-thumb { width: 19px; height: 19px; appearance: none; border: 4px solid #fff; border-radius: 50%; background: var(--rb-blue); box-shadow: 0 1px 5px rgba(6,43,95,.32); }
.rb-range::-moz-range-thumb { width: 13px; height: 13px; border: 4px solid #fff; border-radius: 50%; background: var(--rb-blue); box-shadow: 0 1px 5px rgba(6,43,95,.32); }
.rb-range-field__limits { display: flex; justify-content: space-between; color: var(--rb-faint); font-size: 8.5px; }
.rb-fixed-value { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 23px; padding: 16px 17px; border: 1px solid var(--rb-blue-pale); border-left: 3px solid var(--rb-blue); border-radius: var(--rb-radius-md); background: var(--rb-blue-ice); }
.rb-fixed-value strong { display: block; color: var(--rb-blue); font-size: 11px; }
.rb-fixed-value small { display: block; margin-top: 3px; color: var(--rb-muted); font-size: 9px; }
.rb-fixed-value > span { color: var(--rb-blue); font-size: 22px; font-weight: 800; }
.rb-tax-box { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; margin-top: 25px; padding: 17px; border: 1px solid var(--rb-line); border-radius: var(--rb-radius-md); background: var(--rb-bg-soft); }
.rb-tax-box strong { display: block; color: var(--rb-ink); font-size: 11px; }
.rb-tax-box small { display: block; margin-top: 3px; color: var(--rb-muted); font-size: 9px; }
.rb-toggle { display: inline-flex; overflow: hidden; border: 1px solid var(--rb-line-strong); border-radius: var(--rb-radius); background: #fff; }
.rb-toggle button { min-width: 47px; min-height: 35px; padding: 0 10px; border: 0; border-right: 1px solid var(--rb-line-strong); background: #fff; color: var(--rb-muted); font-size: 10px; font-weight: 800; }
.rb-toggle button:last-child { border-right: 0; }
.rb-toggle button.is-active { background: var(--rb-blue); color: #fff; }

.rb-results-list { margin: 18px 0 23px; }
.rb-results-list div { display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.11); }
.rb-results-list dt { color: rgba(255,255,255,.58); font-size: 10.5px; }
.rb-results-list dd { margin: 0; color: #fff; font-size: 13px; font-weight: 700; text-align: right; }
.rb-result-highlight { position: relative; overflow: hidden; padding: 22px 21px 21px; border: 1px solid rgba(245,184,0,.35); border-radius: var(--rb-radius-md); background: linear-gradient(135deg, rgba(245,184,0,.14), rgba(243,111,33,.08)); }
.rb-result-highlight::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--rb-yellow), var(--rb-orange)); }
.rb-result-highlight span { display: block; color: rgba(255,255,255,.64); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.rb-result-highlight strong { display: block; margin-top: 8px; color: #fff; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; letter-spacing: -.04em; }
.rb-result-highlight small { display: block; margin-top: 9px; color: rgba(255,255,255,.48); font-size: 9px; }
.rb-simulator__cta { width: 100%; margin-top: 22px; border: 0; }
.rb-legal { margin: 12px 0 0; color: rgba(255,255,255,.38); font-size: 8.5px; line-height: 1.5; text-align: center; }

/* ===== Banda estratégica ===== */
.rb-band { padding: 54px 0; background: #071f42; color: #fff; border-top: 1px solid rgba(255,255,255,.07); }
.rb-band__grid { display: grid; grid-template-columns: 1.25fr .8fr auto; align-items: center; gap: 55px; }
.rb-band h2 { margin: 12px 0 0; font-size: clamp(1.65rem, 3vw, 2.55rem); line-height: 1.12; letter-spacing: -.04em; }
.rb-band p { margin: 0; color: rgba(255,255,255,.58); font-size: 12px; line-height: 1.65; }

/* ===== Recursos ===== */
.rb-tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.rb-tool-grid a { position: relative; min-height: 205px; padding: 23px 22px 21px; overflow: hidden; border: 1px solid var(--rb-line); border-radius: var(--rb-radius-md); background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.rb-tool-grid a:hover { transform: translateY(-5px); border-color: var(--rb-blue-pale); box-shadow: var(--rb-shadow-md); }
.rb-tool-grid b { display: block; color: var(--rb-orange); font-size: 9px; letter-spacing: .14em; }
.rb-tool-grid strong { display: block; margin-top: 42px; color: var(--rb-blue); font-size: 15px; line-height: 1.25; }
.rb-tool-grid span { display: block; margin-top: 8px; color: var(--rb-muted); font-size: 10.5px; line-height: 1.55; }
.rb-tool-grid i { position: absolute; right: 20px; bottom: 17px; color: var(--rb-blue-mid); font-size: 19px; font-style: normal; }

/* ===== Ayuda ===== */
.rb-help { padding: 72px 0; background: #fff; border-top: 1px solid var(--rb-line); }
.rb-help__grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 60px; }
.rb-help h2 { max-width: 720px; margin: 13px 0 10px; color: var(--rb-blue); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -.045em; }
.rb-help p { margin: 0; color: var(--rb-muted); font-size: 13px; }
.rb-help__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ===== Footer ===== */
.rb-footer { padding: 58px 0 0; background: var(--rb-blue-deep); color: #fff; }
.rb-footer__grid { display: grid; grid-template-columns: 1.55fr repeat(3, .7fr); gap: 48px; padding-bottom: 48px; }
.rb-footer__logo { width: auto; height: 40px; }
.rb-footer__brand p { max-width: 390px; margin: 17px 0 9px; color: rgba(255,255,255,.57); font-size: 11px; }
.rb-footer__brand > span { color: var(--rb-yellow); font-size: 8px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.rb-footer nav { display: flex; flex-direction: column; gap: 9px; }
.rb-footer nav strong { margin-bottom: 5px; color: #fff; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.rb-footer nav a { color: rgba(255,255,255,.52); font-size: 10.5px; transition: color .18s ease; }
.rb-footer nav a:hover { color: #fff; }
.rb-footer__bottom { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border-top: 1px solid rgba(255,255,255,.1); }
.rb-footer__bottom p { margin: 0; color: rgba(255,255,255,.36); font-size: 8.5px; }

/* ===== Modales ===== */
.rb-modal { position: fixed; inset: 0; z-index: 999; display: grid; place-items: center; padding: 22px; }
.rb-modal__backdrop { position: absolute; inset: 0; background: rgba(0,20,46,.72); backdrop-filter: blur(5px); }
.rb-modal__dialog { position: relative; z-index: 1; width: min(520px, 100%); max-height: calc(100vh - 44px); overflow-y: auto; padding: 34px; border-radius: var(--rb-radius-lg); background: #fff; color: var(--rb-ink); box-shadow: var(--rb-shadow-lg); }
.rb-modal__dialog::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--rb-yellow), var(--rb-orange)); }
.rb-modal__dialog h2 { margin: 17px 0 10px; color: var(--rb-blue); font-size: 1.75rem; line-height: 1.15; letter-spacing: -.035em; }
.rb-modal__dialog > p { margin: 0; color: var(--rb-muted); font-size: 12px; }
.rb-modal__close { position: absolute; right: 15px; top: 13px; width: 34px; height: 34px; border: 1px solid var(--rb-line); border-radius: 50%; background: #fff; color: var(--rb-blue); font-size: 21px; line-height: 1; }
.rb-modal__dialog--success { text-align: center; }
.rb-modal__dialog--success .rb-btn { margin-top: 20px; min-width: 150px; }

/* ===== Elementos flotantes ===== */
.investment-tab { position: fixed; z-index: 80; right: 0; top: 48%; transform: translateY(-50%); padding: 14px 8px; border-radius: 5px 0 0 5px; background: var(--rb-orange); color: #fff; box-shadow: 0 8px 22px rgba(0,31,69,.18); }
.investment-tab span { display: block; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 8.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.rb-whatsapp { position: fixed; right: 22px; bottom: 20px; z-index: 85; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: #25d366; box-shadow: 0 12px 28px rgba(0,0,0,.19); transition: transform .18s ease; }
.rb-whatsapp:hover { transform: translateY(-3px) scale(1.03); }
.rb-whatsapp img { width: 31px; height: 31px; object-fit: contain; }

/* ===== Animación discreta ===== */
@media (prefers-reduced-motion: no-preference) {
  .rb-diagnostic-card,
  .rb-hero__dashboard { animation: rb-rise .55s ease both; }
  .rb-diagnostic-card { animation-delay: .08s; }
  @keyframes rb-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}

/* ===== Responsive ===== */
@media (max-width: 1120px) {
  .rb-navbar__inner { gap: 20px; }
  .rb-nav { gap: 18px; }
  .rb-hero__grid { grid-template-columns: 1fr 410px; gap: 45px; }
  .rb-card-grid { grid-template-columns: repeat(2, 1fr); }
  .rb-product-card { min-height: 360px; }
  .rb-action-grid { grid-template-columns: repeat(2, 1fr); }
  .rb-action-grid a:nth-child(2) { border-right: 0; }
  .rb-action-grid a:nth-child(-n+2) { border-bottom: 1px solid var(--rb-line); }
  .rb-tool-grid { grid-template-columns: repeat(2, 1fr); }
  .rb-band__grid { grid-template-columns: 1fr auto; }
  .rb-band__grid > p { grid-column: 1 / 2; }
}

@media (max-width: 900px) {
  .rb-container { width: min(var(--rb-container), calc(100% - 34px)); }
  .rb-topbar { display: none; }
  .rb-navbar__inner { min-height: 68px; grid-template-columns: 1fr auto; }
  .rb-brand img { height: 34px; }
  .rb-brand__unit { display: none; }
  .rb-menu-toggle { display: block; }
  .rb-nav {
    position: absolute;
    top: 68px;
    left: 17px;
    right: 17px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    background: var(--rb-blue-deep);
    box-shadow: var(--rb-shadow-md);
  }
  .rb-nav.is-open { display: flex; }
  .rb-nav a { padding: 12px 10px; }
  .rb-nav a::after { display: none; }
  .rb-nav-cta { display: none; }
  .rb-hero { min-height: 0; padding: 60px 0 64px; }
  .rb-hero__grid { grid-template-columns: 1fr; gap: 45px; }
  .rb-hero__content h1 { max-width: 760px; font-size: clamp(2.7rem, 10vw, 4.6rem); }
  .rb-diagnostic-card { width: min(660px, 100%); }
  .rb-section-head--inline { display: block; }
  .rb-section-head--inline > p { max-width: 620px; margin-top: 12px; }
  .rb-simulator__box { grid-template-columns: 1fr; }
  .rb-band__grid { grid-template-columns: 1fr; gap: 24px; }
  .rb-band__grid > p { grid-column: auto; }
  .rb-band .rb-btn { justify-self: start; }
  .rb-help__grid { grid-template-columns: 1fr; gap: 27px; }
  .rb-footer__grid { grid-template-columns: 1.25fr repeat(3, .8fr); gap: 25px; }
}

@media (max-width: 680px) {
  .rb-container { width: min(var(--rb-container), calc(100% - 28px)); }
  .rb-hero { padding: 50px 0 56px; }
  .rb-hero__content h1 { font-size: clamp(2.45rem, 13vw, 3.7rem); }
  .rb-lead { font-size: .98rem; }
  .rb-hero__actions { display: grid; grid-template-columns: 1fr; }
  .rb-hero__actions .rb-btn { width: 100%; }
  .rb-hero__dashboard { padding: 20px 17px; }
  .rb-hero__dashboard-head { align-items: flex-start; flex-direction: column; gap: 4px; }
  .rb-hero__metrics { grid-template-columns: 1fr; }
  .rb-hero__metrics > div { padding: 11px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .rb-hero__metrics > div:last-child { border-bottom: 0; }
  .rb-hero__bars { display: none; }
  .rb-hero__proof { display: grid; grid-template-columns: repeat(3, 1fr); }
  .rb-hero__proof div { min-width: 0; padding: 0 10px; text-align: center; }
  .rb-hero__proof div:first-child { padding-left: 0; }
  .rb-hero__proof div:last-child { padding-right: 0; }
  .rb-hero__proof strong { font-size: 1.08rem; }
  .rb-hero__proof span { font-size: 7.5px; }
  .rb-diagnostic-card { padding: 30px 22px 25px; border-radius: 14px; }
  .rb-card-mark { right: 20px; width: 44px; }
  .rb-form { grid-template-columns: 1fr; }
  .rb-form__field--half { grid-column: 1 / -1; }
  .rb-section,
  .rb-simulator { padding: 70px 0; }
  .rb-quick-actions { padding: 51px 0; }
  .rb-section-head h2 { font-size: 2.15rem; }
  .rb-action-grid { grid-template-columns: 1fr; }
  .rb-action-grid a { min-height: 145px; border-right: 0; border-bottom: 1px solid var(--rb-line); }
  .rb-action-grid a:last-child { border-bottom: 0; }
  .rb-card-grid,
  .rb-tool-grid { grid-template-columns: 1fr; }
  .rb-product-card { min-height: 340px; }
  .rb-simulator__controls,
  .rb-simulator__results { padding: 30px 22px; }
  .rb-simulator__panel-head { display: block; }
  .rb-step-badge { display: block; margin-top: 10px; }
  .rb-tax-box { grid-template-columns: 1fr; }
  .rb-toggle { width: 100%; }
  .rb-toggle button { flex: 1; }
  .rb-results-list div { gap: 14px; }
  .rb-band { padding: 47px 0; }
  .rb-help { padding: 60px 0; }
  .rb-help__actions { display: grid; grid-template-columns: 1fr; }
  .rb-help__actions .rb-btn { width: 100%; }
  .rb-footer__grid { grid-template-columns: 1fr 1fr; }
  .rb-footer__brand { grid-column: 1 / -1; }
  .rb-footer__bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding: 15px 0; }
  .investment-tab { display: none; }
  .rb-whatsapp { right: 15px; bottom: 15px; width: 50px; height: 50px; }
  .rb-modal__dialog { padding: 30px 22px; }
}

@media (max-width: 430px) {
  .rb-navbar__inner { min-height: 64px; }
  .rb-nav { top: 64px; }
  .rb-hero__proof { grid-template-columns: 1fr; gap: 9px; }
  .rb-hero__proof div { padding: 8px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); text-align: left; }
  .rb-hero__proof div:last-child { border-bottom: 0; }
  .rb-diagnostic-card h2 { padding-right: 35px; }
  .rb-card-mark { opacity: .5; }
  .rb-footer__grid { grid-template-columns: 1fr; }
  .rb-footer__brand { grid-column: auto; }
}

/* ============================================================
   RETIRUM · PÁGINAS INTERIORES INSTITUCIONALES
   Compatibilidad rs-* para productos, planes, contacto y marca
   ============================================================ */
:root {
  --rs-blue: var(--rb-blue);
  --rs-blue-deep: var(--rb-blue-deep);
  --rs-blue-mid: var(--rb-blue-mid);
  --rs-blue-bright: var(--rb-blue-bright);
  --rs-blue-pale: var(--rb-blue-pale);
  --rs-blue-ice: var(--rb-blue-ice);
  --rs-orange: var(--rb-orange);
  --rs-yellow: var(--rb-yellow);
  --rs-green: var(--rb-green);
  --rs-ink: var(--rb-ink);
  --rs-soft: var(--rb-ink-soft);
  --rs-muted: var(--rb-muted);
  --rs-faint: var(--rb-faint);
  --rs-line: var(--rb-line);
  --rs-line-strong: var(--rb-line-strong);
  --rs-bg-soft: var(--rb-bg-soft);
  --rs-container: var(--rb-container);
}

.rs-page { min-height: 100vh; overflow: clip; background: #fff; }
.rs-container { width: min(var(--rs-container), calc(100% - 48px)); margin: 0 auto; }
.rs-header { position: relative; z-index: 110; }
.rs-topbar {
  background: #061d3e;
  color: rgba(255,255,255,.72);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.rs-topbar__inner {
  min-height: 37px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.rs-topbar__links,
.rs-topbar__contact { display: flex; align-items: center; gap: 22px; }
.rs-topbar a { transition: color .18s ease; }
.rs-topbar a:hover { color: #fff; }
.rs-topbar__contact a:last-child { color: #fff; }

.rs-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--rs-blue);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 8px 22px rgba(0,31,69,.14);
}
.rs-navbar__inner {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.rs-brand { display: inline-flex; align-items: center; min-width: 175px; }
.rs-brand img { display: block; width: auto; height: 38px; }
.rs-nav { display: flex; align-items: center; justify-content: flex-end; gap: 25px; }
.rs-nav a {
  position: relative;
  color: rgba(255,255,255,.84);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .025em;
  white-space: nowrap;
}
.rs-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -10px;
  height: 2px;
  background: var(--rs-yellow);
  transition: right .2s ease;
}
.rs-nav a:hover,
.rs-nav a.is-active { color: #fff; }
.rs-nav a:hover::after,
.rs-nav a.is-active::after { right: 0; }
.rs-nav-cta {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: var(--rb-radius);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .085em;
  text-transform: uppercase;
  transition: .18s ease;
}
.rs-nav-cta:hover { background: #fff; border-color: #fff; color: var(--rs-blue); }
.rs-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--rb-radius);
  background: transparent;
}
.rs-menu-toggle span { display: block; width: 19px; height: 2px; margin: 4px auto; background: #fff; }

.rs-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--rs-blue-mid);
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.rs-kicker::before { content: ""; width: 25px; height: 2px; background: var(--rs-orange); }
.rs-kicker--light { color: rgba(255,255,255,.76); }
.rs-kicker--light::before { background: var(--rs-yellow); }

.rs-page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px 0 78px;
  color: #fff;
  background: linear-gradient(118deg, rgba(0,31,69,.99) 0%, rgba(6,43,95,.98) 58%, rgba(12,86,140,.94) 100%);
}
.rs-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .33;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 82%);
}
.rs-page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 470px;
  height: 470px;
  right: -170px;
  top: -250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(101,198,232,.42), transparent 68%);
}
.rs-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 31px;
  color: rgba(255,255,255,.55);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.rs-breadcrumb a:hover { color: #fff; }
.rs-page-hero .rs-kicker { color: rgba(255,255,255,.74); }
.rs-page-hero .rs-kicker::before { background: var(--rs-yellow); }
.rs-page-hero h1 {
  max-width: 940px;
  margin: 17px 0 19px;
  font-size: clamp(2.65rem, 5.2vw, 4.8rem);
  line-height: 1.01;
  letter-spacing: -.052em;
  font-weight: 700;
}
.rs-page-hero p {
  max-width: 880px;
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.75;
}

.rs-section { padding: 88px 0 94px; }
.rs-section--soft { background: linear-gradient(180deg, #f8fafc, var(--rs-bg-soft)); border-block: 1px solid var(--rs-line); }
.rs-section-head { max-width: 840px; margin-bottom: 38px; }
.rs-section-head h2 {
  margin: 15px 0 15px;
  color: var(--rs-blue-deep);
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 700;
}
.rs-section-head p { margin: 0; color: var(--rs-muted); font-size: 1rem; line-height: 1.75; }

.rs-brand-strip {
  min-height: 62px;
  margin-bottom: 30px;
  padding: 13px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border: 1px solid var(--rs-line);
  border-left: 3px solid var(--rs-yellow);
  background: #fff;
  box-shadow: var(--rb-shadow-sm);
}
.rs-brand-strip img { width: auto; max-height: 43px; }
.rs-badge {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--rs-blue-ice);
  color: var(--rs-blue-mid);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .105em;
  text-transform: uppercase;
}

.rs-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; }
.rs-product-card,
.rs-contact-card,
.rs-states-card,
.rs-profile-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--rs-line);
  border-radius: var(--rb-radius-md);
  background: #fff;
  box-shadow: 0 7px 22px rgba(8,34,70,.07);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.rs-product-card:hover,
.rs-contact-card:hover,
.rs-profile-card:hover { transform: translateY(-4px); border-color: var(--rs-blue-pale); box-shadow: 0 18px 44px rgba(8,34,70,.12); }
.rs-product-card__media {
  position: relative;
  height: 100px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--rs-blue-deep), var(--rs-blue) 62%, var(--rs-blue-mid));
}
.rs-product-card__media::before,
.rs-product-card__media::after {
  content: "";
  position: absolute;
  bottom: 21px;
  width: 16px;
  border-radius: 2px 2px 0 0;
  background: rgba(255,255,255,.9);
}
.rs-product-card__media::before { left: 29px; height: 26px; box-shadow: 24px -14px 0 rgba(255,255,255,.72), 48px -32px 0 var(--rs-yellow); }
.rs-product-card__media::after { left: 102px; height: 55px; background: rgba(255,255,255,.28); }
.rs-product-card__circle {
  position: absolute;
  width: 190px;
  height: 190px;
  right: -69px;
  top: -82px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: inset 0 0 0 28px rgba(255,255,255,.04), inset 0 0 0 57px rgba(255,255,255,.035);
}
.rs-product-card__body,
.rs-contact-card__body,
.rs-states-card__body,
.rs-profile-card__body { padding: 27px 27px 29px; }
.rs-product-card h2,
.rs-contact-card h2 { margin: 13px 0 12px; color: var(--rs-blue-deep); font-size: 1.75rem; line-height: 1.15; letter-spacing: -.03em; }
.rs-product-card h3,
.rs-step-card h3,
.rs-states-card h3 {
  margin: 14px 0 11px;
  color: var(--rs-blue-deep);
  font-size: 1.28rem;
  line-height: 1.25;
  letter-spacing: -.026em;
}
.rs-product-card p,
.rs-contact-card p,
.rs-profile-card p,
.rs-states-card p { margin: 0 0 17px; color: var(--rs-muted); line-height: 1.72; }
.rs-info-box {
  margin: 19px 0;
  padding: 14px 15px;
  border: 1px solid var(--rs-blue-pale);
  border-left: 3px solid var(--rs-blue-mid);
  border-radius: var(--rb-radius);
  background: var(--rs-blue-ice);
  color: var(--rs-soft);
  font-size: 12.5px;
  line-height: 1.6;
}
.rs-info-box strong { color: var(--rs-blue); }
.rs-check-list { margin: 18px 0 0; padding: 0; list-style: none; }
.rs-check-list li {
  position: relative;
  padding: 8px 0 8px 25px;
  border-bottom: 1px solid var(--rs-line);
  color: var(--rs-soft);
  font-size: 13px;
  line-height: 1.55;
}
.rs-check-list li:last-child { border-bottom: 0; }
.rs-check-list li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 14px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--rs-green);
  border-bottom: 2px solid var(--rs-green);
  transform: rotate(-45deg);
}
.rs-card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.rs-btn {
  min-height: 46px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--rb-radius);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .075em;
  text-transform: uppercase;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.rs-btn:hover { transform: translateY(-2px); }
.rs-btn--sm { min-height: 40px; padding: 0 15px; font-size: 9.5px; }
.rs-btn--primary { background: var(--rs-blue); color: #fff; box-shadow: 0 10px 22px rgba(6,43,95,.16); }
.rs-btn--primary:hover { background: var(--rs-blue-deep); }
.rs-btn--secondary { background: #fff; color: var(--rs-blue); border-color: var(--rs-line-strong); }
.rs-btn--secondary:hover { border-color: var(--rs-blue); }
.rs-btn--light { background: #fff; color: var(--rs-blue); }

.rs-steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.rs-step-card {
  min-height: 250px;
  padding: 28px 27px;
  border: 1px solid var(--rs-line);
  border-top: 3px solid var(--rs-orange);
  border-radius: var(--rb-radius-md);
  background: #fff;
  box-shadow: 0 7px 22px rgba(8,34,70,.06);
}
.rs-step-card > span {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--rs-blue);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(6,43,95,.17);
}
.rs-step-card p { margin: 0; color: var(--rs-muted); line-height: 1.7; }

.rs-final-cta {
  padding: 0 0 92px;
  background: #fff;
}
.rs-final-cta__box {
  position: relative;
  overflow: hidden;
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 42px;
  border-radius: var(--rb-radius-lg);
  color: #fff;
  background: linear-gradient(130deg, var(--rs-blue-deep), var(--rs-blue) 62%, var(--rs-blue-mid));
  box-shadow: var(--rb-shadow-md);
}
.rs-final-cta__box::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -145px;
  top: -175px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: inset 0 0 0 46px rgba(255,255,255,.035), inset 0 0 0 95px rgba(255,255,255,.025);
}
.rs-final-cta__box > * { position: relative; z-index: 1; }
.rs-final-cta h2 { margin: 10px 0 9px; font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.1; letter-spacing: -.04em; }
.rs-final-cta p { max-width: 760px; margin: 0; color: rgba(255,255,255,.72); }
.rs-disclaimer { margin: 18px auto 0; max-width: 1080px; color: var(--rs-faint); font-size: 11px; line-height: 1.6; }

.rs-contact-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, .75fr); gap: 25px; align-items: start; }
.rs-contact-card--calendar .rs-product-card__media { height: 78px; }
.rs-calendar-frame { overflow: hidden; margin-top: 21px; border: 1px solid var(--rs-line); border-radius: var(--rb-radius-md); background: var(--rs-bg-soft); }
.rs-calendar-frame iframe { display: block; min-height: 620px; }
.rs-contact-list { margin: 20px 0; padding: 0; list-style: none; }
.rs-contact-list li { padding: 11px 0; border-bottom: 1px solid var(--rs-line); color: var(--rs-soft); font-size: 13px; line-height: 1.55; }
.rs-contact-list strong { color: var(--rs-blue); }
.rs-contact-list a { color: var(--rs-blue-mid); font-weight: 700; }
.rs-social-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.rs-social-links a { padding: 7px 10px; border: 1px solid var(--rs-line); border-radius: var(--rb-radius); color: var(--rs-blue); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.rs-social-links a:hover { border-color: var(--rs-blue); background: var(--rs-blue-ice); }

.rs-states-card { display: grid; grid-template-columns: 120px 1fr; }
.rs-states-card > .rs-product-card__media { height: 100%; min-height: 390px; }
.rs-state-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 18px; }
.rs-state-grid ul { margin: 0; padding: 0; list-style: none; }
.rs-state-grid li { border-bottom: 1px solid var(--rs-line); }
.rs-state-grid a { display: block; padding: 8px 2px; color: var(--rs-soft); font-size: 12px; }
.rs-state-grid a:hover { color: var(--rs-blue); padding-left: 5px; }

.rs-about-grid { display: grid; grid-template-columns: minmax(290px, .72fr) minmax(0, 1.55fr); gap: 25px; align-items: start; }
.rs-profile-card__media { overflow: hidden; min-height: 360px; background: var(--rs-blue-ice); }
.rs-profile-card__media img { display: block; width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.rs-about-main-card .rs-product-card__media { height: 112px; }
.rs-media-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 25px; }
.rs-media-grid--press { margin-top: 18px; }
.rs-media-card {
  min-height: 295px;
  padding: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rs-line);
  border-radius: var(--rb-radius-md);
  background: #fff;
  box-shadow: 0 7px 22px rgba(8,34,70,.06);
  transition: .2s ease;
}
.rs-media-card:hover { transform: translateY(-4px); box-shadow: 0 17px 38px rgba(8,34,70,.11); }
.rs-media-card img { max-height: 255px; width: auto; object-fit: contain; }
.rs-timeline-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.rs-timeline-card .rs-product-card__media { height: 76px; }

.rs-product-card table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.rs-product-card th { padding: 12px; text-align: left; color: #fff; background: var(--rs-blue); border: 1px solid rgba(255,255,255,.12); }
.rs-product-card td { padding: 12px; border: 1px solid var(--rs-line); color: var(--rs-soft); }
.rs-product-card tbody tr:nth-child(even) td { background: var(--rs-bg-soft); }

.rs-footer { padding: 65px 0 0; background: #061d3e; color: #fff; }
.rs-footer__grid { display: grid; grid-template-columns: 1.35fr repeat(3, .75fr); gap: 43px; padding-bottom: 48px; }
.rs-footer__logo { width: auto; height: 38px; margin-bottom: 18px; }
.rs-footer p { max-width: 390px; margin: 0; color: rgba(255,255,255,.56); font-size: 12px; line-height: 1.75; }
.rs-footer nav { display: flex; flex-direction: column; gap: 9px; }
.rs-footer nav strong { margin-bottom: 7px; color: #fff; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.rs-footer nav a { color: rgba(255,255,255,.58); font-size: 11px; transition: color .18s ease; }
.rs-footer nav a:hover { color: #fff; }
.rs-footer__bottom { min-height: 58px; display: flex; align-items: center; border-top: 1px solid rgba(255,255,255,.09); }
.rs-footer__bottom p { font-size: 10px; }

.rs-investment-tab {
  position: fixed;
  left: 0;
  top: 50%;
  z-index: 120;
  transform: translateY(-50%);
  padding: 13px 8px;
  border-radius: 0 5px 5px 0;
  background: var(--rs-orange);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0,31,69,.2);
  writing-mode: vertical-rl;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.rs-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 130;
  width: 58px;
  height: 58px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 14px 36px rgba(0,31,69,.25);
}
.rs-whatsapp img { width: 100%; height: 100%; object-fit: contain; }

/* Checkup financiero */
.rs-checkup-layout { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr); gap: 28px; align-items: start; }
.rs-checkup-copy,
.rs-checkup-form-card { border: 1px solid var(--rs-line); border-radius: var(--rb-radius-md); background: #fff; box-shadow: 0 8px 27px rgba(8,34,70,.08); }
.rs-checkup-copy { overflow: hidden; }
.rs-checkup-visual { min-height: 245px; padding: 30px; display: grid; grid-template-columns: 1fr 220px; align-items: center; gap: 25px; color: #fff; background: linear-gradient(135deg, var(--rs-blue-deep), var(--rs-blue) 65%, var(--rs-blue-mid)); }
.rs-checkup-visual h2 { margin: 13px 0 10px; font-size: 2.15rem; line-height: 1.12; letter-spacing: -.04em; }
.rs-checkup-visual p { margin: 0; color: rgba(255,255,255,.72); }
.rs-checkup-visual img { width: 220px; max-height: 220px; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0,0,0,.2)); }
.rs-checkup-content { padding: 30px; }
.rs-checkup-content h2 { margin: 30px 0 10px; color: var(--rs-blue-deep); font-size: 1.65rem; letter-spacing: -.03em; }
.rs-checkup-content h2:first-child { margin-top: 0; }
.rs-checkup-content p { color: var(--rs-muted); line-height: 1.75; }
.rs-checkup-list { margin: 20px 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.rs-checkup-list li { padding: 13px 15px 13px 42px; position: relative; border: 1px solid var(--rs-line); border-radius: var(--rb-radius); color: var(--rs-soft); background: var(--rs-bg-soft); }
.rs-checkup-list li::before { content: "✓"; position: absolute; left: 15px; top: 11px; color: var(--rs-green); font-weight: 900; }
.rs-checkup-form-card { position: sticky; top: 94px; padding: 30px; }
.rs-checkup-form-card h2 { margin: 13px 0 9px; color: var(--rs-blue-deep); font-size: 1.9rem; line-height: 1.15; letter-spacing: -.035em; }
.rs-checkup-form-card > p { margin: 0 0 22px; color: var(--rs-muted); }
.rs-checkup-form { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.rs-checkup-field { display: flex; flex-direction: column; gap: 7px; }
.rs-checkup-field--full { grid-column: 1 / -1; }
.rs-checkup-field label { color: var(--rs-soft); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rs-checkup-field input[type="text"],
.rs-checkup-field input[type="tel"],
.rs-checkup-field input[type="email"] { width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid var(--rs-line-strong); border-radius: var(--rb-radius); outline: none; background: #fff; color: var(--rs-ink); transition: .18s ease; }
.rs-checkup-field input:focus { border-color: var(--rs-blue-mid); box-shadow: 0 0 0 3px rgba(12,86,140,.09); }
.rs-checkup-consent { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; padding: 12px 13px; border: 1px solid var(--rs-line); border-radius: var(--rb-radius); background: var(--rs-bg-soft); color: var(--rs-muted); font-size: 11px; line-height: 1.55; }
.rs-checkup-consent input { margin-top: 3px; accent-color: var(--rs-blue); }
.rs-checkup-consent a { color: var(--rs-blue); font-weight: 700; }
.rs-checkup-submit { grid-column: 1 / -1; width: 100%; border: 0; }

@media (max-width: 1120px) {
  .rs-navbar__inner { gap: 18px; }
  .rs-nav { gap: 16px; }
  .rs-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rs-timeline-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rs-footer__grid { grid-template-columns: 1.25fr repeat(3, .8fr); gap: 28px; }
}

@media (max-width: 900px) {
  .rs-container { width: min(var(--rs-container), calc(100% - 34px)); }
  .rs-topbar { display: none; }
  .rs-navbar__inner { min-height: 68px; grid-template-columns: 1fr auto; }
  .rs-brand img { height: 34px; }
  .rs-menu-toggle { display: block; }
  .rs-nav {
    position: absolute;
    top: 68px;
    left: 17px;
    right: 17px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    background: var(--rs-blue-deep);
    box-shadow: var(--rb-shadow-md);
  }
  .rs-nav.is-open { display: flex; }
  .rs-nav a { padding: 12px 10px; }
  .rs-nav a::after { display: none; }
  .rs-nav-cta { display: none; }
  .rs-contact-layout,
  .rs-about-grid,
  .rs-checkup-layout { grid-template-columns: 1fr; }
  .rs-checkup-form-card { position: static; }
  .rs-final-cta__box { grid-template-columns: 1fr; }
  .rs-state-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rs-footer__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rs-footer__grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .rs-container { width: min(var(--rs-container), calc(100% - 28px)); }
  .rs-page-hero { padding: 52px 0 58px; }
  .rs-page-hero h1 { font-size: clamp(2.35rem, 13vw, 3.6rem); }
  .rs-section { padding: 68px 0 72px; }
  .rs-section-head h2 { font-size: 2.05rem; }
  .rs-product-grid,
  .rs-steps-grid,
  .rs-media-grid,
  .rs-timeline-grid { grid-template-columns: 1fr; }
  .rs-product-card__body,
  .rs-contact-card__body,
  .rs-states-card__body,
  .rs-profile-card__body { padding: 24px 21px 26px; }
  .rs-card-actions { display: grid; grid-template-columns: 1fr; }
  .rs-card-actions .rs-btn { width: 100%; }
  .rs-final-cta { padding-bottom: 70px; }
  .rs-final-cta__box { padding: 34px 23px; gap: 25px; }
  .rs-final-cta__box .rs-btn { width: 100%; }
  .rs-states-card { grid-template-columns: 1fr; }
  .rs-states-card > .rs-product-card__media { min-height: 90px; height: 90px; }
  .rs-state-grid { grid-template-columns: 1fr; gap: 0; }
  .rs-profile-card__media,
  .rs-profile-card__media img { min-height: 300px; }
  .rs-checkup-visual { grid-template-columns: 1fr; }
  .rs-checkup-visual img { justify-self: center; }
  .rs-checkup-content,
  .rs-checkup-form-card { padding: 24px 21px; }
  .rs-checkup-form { grid-template-columns: 1fr; }
  .rs-checkup-field--full,
  .rs-checkup-consent,
  .rs-checkup-submit { grid-column: auto; }
  .rs-footer__grid { grid-template-columns: 1fr; }
  .rs-footer__grid > div:first-child { grid-column: auto; }
  .rs-investment-tab { display: none; }
  .rs-whatsapp { right: 15px; bottom: 15px; width: 50px; height: 50px; }
  .rs-product-card table { min-width: 680px; }
}
.rs-page-hero__content { position: relative; z-index: 1; }
/* ============================================================
   RETIRUM · MÓDULO UNIFICADO DE CALCULADORAS Y FORMACIÓN
   Añadido al final del CSS maestro. No requiere hojas adicionales.
   ============================================================ */

/* ===== Calculadoras históricas, comparativas y ORVI ===== */
.orvi-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}
.orvi-section-head > div { min-width: 0; }
.orvi-section-head h3 {
  margin: 13px 0 8px;
  color: var(--rs-blue-deep);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.16;
  letter-spacing: -.035em;
}
.orvi-section-head p { margin: 0; color: var(--rs-muted); line-height: 1.7; }
.orvi-section-head > .rs-badge { flex: 0 0 auto; }

.orvi-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.orvi-field { min-width: 0; }
.orvi-field label {
  display: block;
  margin-bottom: 7px;
  color: var(--rs-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.orvi-field input,
.orvi-field select,
.orvi-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--rs-line-strong);
  border-radius: var(--rb-radius);
  outline: 0;
  background: #fff;
  color: var(--rs-ink);
  font: inherit;
  font-size: 13px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.orvi-field textarea { min-height: 110px; padding-block: 12px; resize: vertical; }
.orvi-field input[readonly] { background: var(--rs-bg-soft); color: var(--rs-blue); font-weight: 700; }
.orvi-field input:focus,
.orvi-field select:focus,
.orvi-field textarea:focus {
  border-color: var(--rs-blue-mid);
  box-shadow: 0 0 0 3px rgba(12,86,140,.1);
}
.orvi-field small {
  display: block;
  min-height: 31px;
  margin-top: 7px;
  color: var(--rs-faint);
  font-size: 10px;
  line-height: 1.5;
}
.orvi-input-unit { position: relative; }
.orvi-input-unit input { padding-right: 72px; }
.orvi-input-unit > span,
.orvi-input-unit > small {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  min-height: 0;
  color: var(--rs-blue-mid);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  pointer-events: none;
}
.orvi-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 27px;
  padding-top: 23px;
  border-top: 1px solid var(--rs-line);
}
.orvi-actions .rs-btn:disabled {
  cursor: not-allowed;
  opacity: .48;
  transform: none;
  box-shadow: none;
}
.orvi-validation {
  margin-top: 18px;
  padding: 13px 15px;
  border: 1px solid rgba(243,111,33,.28);
  border-left: 3px solid var(--rs-orange);
  border-radius: var(--rb-radius);
  background: rgba(243,111,33,.07);
  color: #8d431a;
  font-size: 12px;
  line-height: 1.6;
}
.orvi-validation.is-success {
  border-color: rgba(13,146,125,.25);
  border-left-color: var(--rs-green);
  background: rgba(13,146,125,.08);
  color: #087160;
}

.orvi-results { margin-top: 34px; }
.orvi-results-head {
  margin-bottom: 21px;
  padding: 27px 29px;
  border-radius: var(--rb-radius-md);
  background: linear-gradient(135deg, var(--rs-blue-deep), var(--rs-blue) 68%, var(--rs-blue-mid));
  color: #fff;
  box-shadow: var(--rb-shadow-sm);
}
.orvi-results-head h2 {
  margin: 12px 0 8px;
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.1;
  letter-spacing: -.04em;
}
.orvi-results-head p { margin: 0; color: rgba(255,255,255,.66); }
.orvi-results-head .rs-badge { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.16); }
.orvi-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
}
.orvi-kpi-grid .rs-step-card {
  min-height: 205px;
  padding: 24px 22px;
}
.orvi-kpi-grid .rs-step-card h3 { margin-top: 18px; font-size: 1.05rem; }
.orvi-kpi-grid .rs-step-card p { margin: 0; }
.orvi-kpi-grid .rs-step-card p > strong {
  display: inline-block;
  margin: 3px 0 4px;
  color: var(--rs-blue-deep);
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  line-height: 1.1;
  letter-spacing: -.035em;
}
.orvi-kpi-grid .rs-step-card p small { color: var(--rs-muted); font-size: 10px; line-height: 1.45; }

.orvi-table-card {
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--rs-line);
  border-radius: var(--rb-radius-md);
  background: #fff;
  box-shadow: 0 8px 27px rgba(8,34,70,.07);
}
.orvi-table-head {
  padding: 25px 27px 21px;
  border-bottom: 1px solid var(--rs-line);
  background: linear-gradient(180deg, #fff, var(--rs-bg-soft));
}
.orvi-table-head h3 {
  margin: 0 0 8px;
  color: var(--rs-blue-deep);
  font-size: 1.35rem;
  letter-spacing: -.025em;
}
.orvi-table-head p { margin: 0; color: var(--rs-muted); font-size: 12px; line-height: 1.65; }
.orvi-table-scroll {
  width: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.orvi-table-scroll canvas { display: block; min-width: 760px; max-height: 520px; padding: 20px; }
.orvi-table {
  width: 100%;
  min-width: 880px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 11px;
}
.orvi-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 12px 13px;
  border-right: 1px solid rgba(255,255,255,.12);
  background: var(--rs-blue);
  color: #fff;
  text-align: left;
  white-space: nowrap;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.orvi-table td {
  padding: 11px 13px;
  border-right: 1px solid var(--rs-line);
  border-bottom: 1px solid var(--rs-line);
  color: var(--rs-soft);
  white-space: nowrap;
  text-align: right;
}
.orvi-table th:first-child,
.orvi-table td:first-child { text-align: left; }
.orvi-table tbody tr:nth-child(even) td { background: var(--rs-bg-soft); }
.orvi-table tbody tr:hover td { background: var(--rs-blue-ice); }
.orvi-table th:last-child,
.orvi-table td:last-child { border-right: 0; }

.orvi-disclaimer {
  margin-top: 24px;
  padding: 18px 19px;
  border: 1px solid var(--rs-line);
  border-left: 3px solid var(--rs-yellow);
  border-radius: var(--rb-radius);
  background: #fffdf5;
  color: var(--rs-muted);
  font-size: 11px;
  line-height: 1.65;
}
.orvi-disclaimer > strong { display: block; margin-bottom: 5px; color: var(--rs-blue); }
.orvi-disclaimer p { margin: 7px 0 0; }
.orvi-disclaimer .rs-check-list { margin-top: 7px; }

.orvi-divider { height: 1px; margin: 27px 0; background: var(--rs-line); border: 0; }
.orvi-guarantees {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.orvi-guarantees > * {
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--rs-line);
  border-radius: var(--rb-radius);
  background: var(--rs-bg-soft);
}
.orvi-guarantees strong { display: block; color: var(--rs-blue); font-size: 12px; }
.orvi-guarantees span,
.orvi-guarantees small { display: block; margin-top: 4px; color: var(--rs-muted); font-size: 10px; }
.orvi-summary-grid { align-items: stretch; }
.orvi-summary-grid .rs-product-card { height: 100%; }
.orvi-summary-list { margin: 18px 0 0; padding: 0; list-style: none; }
.orvi-summary-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rs-line);
  color: var(--rs-muted);
  font-size: 12px;
}
.orvi-summary-list li:last-child { border-bottom: 0; }
.orvi-summary-list strong { color: var(--rs-blue-deep); text-align: right; }
.orvi-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.orvi-faq-grid > * {
  padding: 22px 23px;
  border: 1px solid var(--rs-line);
  border-radius: var(--rb-radius-md);
  background: #fff;
  box-shadow: 0 7px 22px rgba(8,34,70,.055);
}
.orvi-faq-grid h3 { margin: 0 0 9px; color: var(--rs-blue-deep); font-size: 1.05rem; }
.orvi-faq-grid p { margin: 0; color: var(--rs-muted); font-size: 12px; line-height: 1.7; }

/* ===== Compatibilidad institucional para páginas de certificación ===== */
.page-clean,
.page-clean main { background: #fff; }
.page-clean { min-height: 100vh; overflow: clip; }
.page-clean .container,
.page-clean .container-fluid {
  width: min(var(--rs-container), calc(100% - 48px));
  margin-inline: auto;
  padding-inline: 0;
}
.page-clean .container-fluid.container-full-clean { width: min(var(--rs-container), calc(100% - 48px)); }
.page-clean .row {
  display: flex;
  flex-wrap: wrap;
  margin-inline: -12px;
  row-gap: 24px;
}
.page-clean [class*="col-"] { width: 100%; min-width: 0; padding-inline: 12px; }
.page-clean .justify-content-center { justify-content: center; }
.page-clean .align-items-center { align-items: center; }
.page-clean .text-center { text-align: center; }
.page-clean .offset-top-30 { margin-top: 30px; }

.page-clean .page-head { position: relative; z-index: 120; }
.page-clean .rd-navbar-wrap { background: var(--rs-blue); box-shadow: 0 8px 22px rgba(0,31,69,.14); }
.page-clean .rd-navbar {
  position: relative;
  width: min(var(--rs-container), calc(100% - 48px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  background: transparent;
  color: #fff;
}
.page-clean .rd-navbar-inner { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.page-clean .rd-navbar-panel { display: flex; align-items: center; }
.page-clean .rd-navbar-brand img { display: block; width: auto; height: 38px; }
.page-clean .rd-navbar-menu-wrap { flex: 1; }
.page-clean .rd-navbar-nav-wrap,
.page-clean .rd-navbar-mobile-scroll { display: flex; align-items: center; justify-content: flex-end; }
.page-clean .rd-navbar-mobile-brand,
.page-clean .form-search-wrap,
.page-clean .rd-navbar-search { display: none !important; }
.page-clean .rd-navbar-nav,
.page-clean .rd-navbar-nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  list-style: none;
}
.page-clean .rd-navbar-nav li { margin: 0; list-style: none; }
.page-clean .rd-navbar-nav a,
.page-clean .rd-navbar-nav li > a {
  color: rgba(255,255,255,.84);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .025em;
}
.page-clean .rd-navbar-nav a:hover { color: #fff; }
.page-clean .rd-navbar-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--rb-radius);
  background: transparent;
}
.page-clean .rd-navbar-toggle span,
.page-clean .rd-navbar-toggle span::before,
.page-clean .rd-navbar-toggle span::after {
  display: block;
  width: 19px;
  height: 2px;
  margin: 0 auto;
  background: #fff;
}

.mini-page-bar {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 66px 0 70px;
  color: #fff;
  background: linear-gradient(118deg, rgba(0,31,69,.99), rgba(6,43,95,.98) 58%, rgba(12,86,140,.94));
}
.mini-page-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .3;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, #000, transparent 82%);
}
.mini-page-bar__title {
  max-width: 960px;
  margin: 0 auto 17px;
  color: #fff;
  font-size: clamp(2.45rem, 5vw, 4.45rem);
  line-height: 1.02;
  letter-spacing: -.05em;
}
.mini-page-bar__breadcrumb ul { margin: 0; padding: 0; display: flex; justify-content: center; gap: 9px; list-style: none; }
.mini-page-bar__breadcrumb li { color: rgba(255,255,255,.58); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mini-page-bar__breadcrumb a:hover { color: #fff; }

.products-section-clean,
.steps-section-clean { padding: 86px 0 92px; }
.steps-section-clean { background: linear-gradient(180deg, #f8fafc, var(--rs-bg-soft)); border-block: 1px solid var(--rs-line); }
.section-full-width { width: 100%; }
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--rs-blue-mid);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.section-kicker::before { content: ""; width: 25px; height: 2px; background: var(--rs-orange); }
.section-title-clean {
  margin: 14px 0 15px;
  color: var(--rs-blue-deep);
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.section-intro-clean { margin: 0 0 16px; color: var(--rs-muted); font-size: 1rem; line-height: 1.75; }
.product-grid-clean,
.steps-grid-clean { margin-top: 35px; }
.plan-card-clean,
.step-card-clean {
  position: relative;
  height: 100%;
  overflow: hidden;
  padding: 28px 27px;
  border: 1px solid var(--rs-line);
  border-radius: var(--rb-radius-md);
  background: #fff;
  box-shadow: 0 7px 22px rgba(8,34,70,.07);
  text-align: left;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.plan-card-clean::before,
.step-card-clean::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--rs-blue), var(--rs-blue-mid), var(--rs-orange)); }
.plan-card-clean:hover,
.step-card-clean:hover { transform: translateY(-4px); border-color: var(--rs-blue-pale); box-shadow: 0 18px 44px rgba(8,34,70,.12); }
.plan-card-clean--compact { min-height: 340px; }
.plan-badge-clean {
  display: inline-flex;
  min-height: 27px;
  padding: 0 10px;
  align-items: center;
  border-radius: 999px;
  background: var(--rs-blue-ice);
  color: var(--rs-blue-mid);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.plan-card-clean h3,
.step-card-clean h3 { margin: 16px 0 11px; color: var(--rs-blue-deep); font-size: 1.27rem; line-height: 1.25; letter-spacing: -.025em; }
.plan-description,
.step-card-clean p { margin: 0; color: var(--rs-muted); line-height: 1.72; }
.plan-list-clean { margin: 20px 0 0; padding: 0; list-style: none; }
.plan-list-clean li { position: relative; padding: 8px 0 8px 24px; border-bottom: 1px solid var(--rs-line); color: var(--rs-soft); font-size: 13px; line-height: 1.55; }
.plan-list-clean li:last-child { border-bottom: 0; }
.plan-list-clean li::before { content: "✓"; position: absolute; left: 1px; color: var(--rs-green); font-weight: 900; }
.step-number-clean {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--rs-blue);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(6,43,95,.17);
}
.plan-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.btn-clean-primary,
.btn-clean-secondary {
  min-height: 44px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--rb-radius);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: .18s ease;
}
.btn-clean-primary { background: var(--rs-blue); color: #fff; box-shadow: 0 10px 22px rgba(6,43,95,.16); }
.btn-clean-primary:hover { background: var(--rs-blue-deep); transform: translateY(-2px); }
.btn-clean-secondary { background: #fff; color: var(--rs-blue); border-color: var(--rs-line-strong); }
.btn-clean-secondary:hover { border-color: var(--rs-blue); transform: translateY(-2px); }
.disclaimer-clean {
  margin-top: 28px;
  padding: 18px 19px;
  border: 1px solid var(--rs-line);
  border-left: 3px solid var(--rs-yellow);
  border-radius: var(--rb-radius);
  background: #fffdf5;
  color: var(--rs-muted);
  font-size: 11px;
  line-height: 1.65;
  text-align: left;
}

.footer-horizontal { padding: 54px 0 0; background: #061d3e; color: #fff; }
.footer-horizontal__top { min-height: 92px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 35px; padding-bottom: 35px; }
.footer-horizontal__logo img { width: auto; height: 38px; display: block; }
.footer-horizontal__nav ul { margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; list-style: none; }
.footer-horizontal__nav a { color: rgba(255,255,255,.58); font-size: 10.5px; }
.footer-horizontal__nav a:hover { color: #fff; }
.footer-horizontal__social { display: flex; gap: 8px; }
.footer-horizontal__social a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; color: #fff; font-size: 11px; }
.footer-horizontal__bottom { min-height: 58px; display: flex; align-items: center; border-top: 1px solid rgba(255,255,255,.09); }
.footer-horizontal__bottom p { margin: 0; color: rgba(255,255,255,.42); font-size: 10px; }

.btn-whatsapp { position: fixed; right: 18px; bottom: 18px; z-index: 140; }
.btn-whatsapp a { width: 56px; height: 56px; padding: 8px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 14px 36px rgba(0,31,69,.25); }
.btn-whatsapp img { width: 100%; height: 100%; object-fit: contain; }
.builder-button {
  position: fixed;
  left: 0;
  top: 50%;
  z-index: 130;
  transform: translateY(-50%);
  padding: 13px 8px;
  border-radius: 0 5px 5px 0;
  background: var(--rs-orange);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0,31,69,.2);
}
.builder-button img { display: none; }
.builder-button span { display: block; writing-mode: vertical-rl; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.snackbars { display: none; }

@media (min-width: 768px) {
  .page-clean .col-md-6 { flex: 0 0 50%; max-width: 50%; }
}
@media (min-width: 992px) {
  .page-clean .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  .page-clean .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .page-clean .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  .page-clean .text-lg-left { text-align: left; }
  .page-clean .offset-lg-top-0 { margin-top: 0; }
}
@media (min-width: 1200px) {
  .page-clean .col-xl-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
}

@media (max-width: 1120px) {
  .orvi-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .orvi-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .orvi-guarantees { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .page-clean .container,
  .page-clean .container-fluid,
  .page-clean .container-fluid.container-full-clean,
  .page-clean .rd-navbar { width: min(var(--rs-container), calc(100% - 34px)); }
  .page-clean .rd-navbar { min-height: 68px; }
  .page-clean .rd-navbar-inner { display: grid; grid-template-columns: 1fr auto; }
  .page-clean .rd-navbar-toggle { display: block; }
  .page-clean .rd-navbar-menu-wrap {
    position: absolute;
    top: 68px;
    left: 17px;
    right: 17px;
    display: none;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    background: var(--rs-blue-deep);
    box-shadow: var(--rb-shadow-md);
  }
  .page-clean .rd-navbar-menu-wrap.active,
  .page-clean .rd-navbar-menu-wrap.open,
  .page-clean .rd-navbar-menu-wrap.rd-navbar-nav-wrap-active,
  .page-clean .rd-navbar-nav-wrap.active { display: block; }
  .page-clean .rd-navbar-nav-wrap,
  .page-clean .rd-navbar-mobile-scroll { display: block; }
  .page-clean .rd-navbar-nav,
  .page-clean .rd-navbar-nav ul { display: block; }
  .page-clean .rd-navbar-nav a,
  .page-clean .rd-navbar-nav li > a { display: block; padding: 11px 10px; }
  .footer-horizontal__top { grid-template-columns: 1fr; justify-items: start; }
  .footer-horizontal__nav ul { justify-content: flex-start; }
}
@media (max-width: 680px) {
  .orvi-section-head { display: block; }
  .orvi-section-head > .rs-badge { margin-top: 12px; }
  .orvi-form-grid,
  .orvi-kpi-grid,
  .orvi-guarantees,
  .orvi-faq-grid { grid-template-columns: 1fr; }
  .orvi-actions { display: grid; grid-template-columns: 1fr; }
  .orvi-actions .rs-btn { width: 100%; }
  .orvi-results-head,
  .orvi-table-head { padding: 23px 20px; }
  .orvi-kpi-grid .rs-step-card { min-height: 180px; }
  .page-clean .container,
  .page-clean .container-fluid,
  .page-clean .container-fluid.container-full-clean { width: min(var(--rs-container), calc(100% - 28px)); }
  .products-section-clean,
  .steps-section-clean { padding: 68px 0 72px; }
  .mini-page-bar { padding: 52px 0 58px; }
  .mini-page-bar__title { font-size: clamp(2.25rem, 12vw, 3.5rem); }
  .plan-actions { display: grid; grid-template-columns: 1fr; }
  .btn-clean-primary,
  .btn-clean-secondary { width: 100%; }
  .builder-button { display: none; }
  .btn-whatsapp { right: 15px; bottom: 15px; }
}

/* Ajuste final del menú móvil de la plantilla de certificaciones. */
@media (max-width: 900px) {
  .page-clean .rd-navbar-menu-wrap {
    position: absolute;
    top: 68px;
    left: 17px;
    right: 17px;
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .page-clean .rd-navbar-nav-wrap {
    display: none;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    background: var(--rs-blue-deep);
    box-shadow: var(--rb-shadow-md);
  }
  .page-clean .rd-navbar-nav-wrap.active,
  .page-clean .rd-navbar-nav-wrap.open { display: block; }
}

/* Icono y orden correctos del menú móvil de certificaciones. */
@media (max-width: 900px) {
  .page-clean .rd-navbar-panel {
    width: 100%;
    justify-content: space-between;
  }
  .page-clean .rd-navbar-brand { order: 1; }
  .page-clean .rd-navbar-toggle { order: 2; position: relative; }
  .page-clean .rd-navbar-toggle span {
    position: relative;
    margin: 0 auto;
  }
  .page-clean .rd-navbar-toggle span::before,
  .page-clean .rd-navbar-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
  }
  .page-clean .rd-navbar-toggle span::before { top: -6px; }
  .page-clean .rd-navbar-toggle span::after { top: 6px; }
}


/* ============================================================
   RETIRUM · PANEL DE ÍNDICES
   Variante específica para indices.php
   ============================================================ */
.rs-page--indices .rs-page-hero {
  padding-bottom: 88px;
  background:
    linear-gradient(118deg, rgba(0,31,69,.99) 0%, rgba(6,43,95,.985) 57%, rgba(12,86,140,.95) 100%);
}
.rs-page--indices .rs-page-hero__content {
  max-width: 970px;
}
.rs-page--indices .rs-page-hero__content p {
  max-width: 820px;
}
.rs-page--indices .rs-section:first-of-type {
  position: relative;
}
.rs-page--indices .rs-section:first-of-type::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rs-blue-pale), transparent);
}
.rs-page--indices .rs-product-grid {
  align-items: stretch;
}
.rs-page--indices .rs-product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.rs-page--indices .rs-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.rs-page--indices .rs-product-card__body > p {
  min-height: 88px;
}
.rs-page--indices .rs-product-card .rs-info-box {
  flex: 1;
}
.rs-page--indices .rs-card-actions {
  margin-top: auto;
}
.rs-page--indices .rs-card-actions .rs-btn {
  width: 100%;
}
.rs-page--indices .rs-product-card__media {
  height: 112px;
}
.rs-page--indices .rs-product-card__media::before {
  left: 26px;
  bottom: 23px;
  width: 14px;
  height: 23px;
  box-shadow:
    23px -10px 0 rgba(255,255,255,.72),
    46px -27px 0 var(--rs-yellow),
    69px -43px 0 rgba(255,255,255,.4);
}
.rs-page--indices .rs-product-grid .rs-product-card:nth-child(4n+1) .rs-product-card__media {
  background: linear-gradient(135deg, #001f45, #0c568c 72%, #167fba);
}
.rs-page--indices .rs-product-grid .rs-product-card:nth-child(4n+2) .rs-product-card__media {
  background: linear-gradient(135deg, #062b5f, #167fba 68%, #52a9cf);
}
.rs-page--indices .rs-product-grid .rs-product-card:nth-child(4n+3) .rs-product-card__media {
  background: linear-gradient(135deg, #0b4778, #167fba 65%, #f5b800);
}
.rs-page--indices .rs-product-grid .rs-product-card:nth-child(4n) .rs-product-card__media {
  background: linear-gradient(135deg, #001f45, #062b5f 64%, #f36f21);
}
.rs-page--indices .rs-product-grid .rs-product-card:nth-child(4n+1) .rs-badge {
  color: #075f8f;
  background: #e6f4fa;
}
.rs-page--indices .rs-product-grid .rs-product-card:nth-child(4n+2) .rs-badge {
  color: #735a00;
  background: #fff6cf;
}
.rs-page--indices .rs-product-grid .rs-product-card:nth-child(4n+3) .rs-badge {
  color: #9b430d;
  background: #fff0e6;
}
.rs-page--indices .rs-product-grid .rs-product-card:nth-child(4n) .rs-badge {
  color: #08705f;
  background: #e4f7f2;
}
.rs-page--indices .rs-info-box {
  min-height: 104px;
  border-left-width: 4px;
}
.rs-page--indices .rs-section--soft .rs-product-card {
  box-shadow: 0 9px 27px rgba(8,34,70,.075);
}
.rs-page--indices .rs-final-cta__box {
  border: 1px solid rgba(255,255,255,.12);
}

@media (max-width: 1120px) {
  .rs-page--indices .rs-product-card__body > p,
  .rs-page--indices .rs-info-box { min-height: auto; }
}

@media (max-width: 680px) {
  .rs-page--indices .rs-page-hero { padding-bottom: 62px; }
  .rs-page--indices .rs-product-card__media { height: 94px; }
  .rs-page--indices .rs-product-card__body > p { min-height: auto; }
  .rs-page--indices .rs-card-actions .rs-btn { min-height: 44px; }
}

/* ============================================================
   RETIRUM · ÍNDICES DETALLE + LANDINGS DE INVERSIÓN
   Módulos añadidos al final del CSS unificado
   ============================================================ */

/* ===== Detalle de indicadores Banxico ===== */
.rs-financial-data-page {
  background: var(--rs-bg-soft);
}
.rs-page--index-detail .rs-page-hero {
  min-height: 405px;
  display: flex;
  align-items: center;
}
.rs-page--index-detail .rs-card-actions:first-of-type {
  margin: 0 0 28px;
  padding: 14px;
  border: 1px solid var(--rs-line);
  border-radius: var(--rb-radius-md);
  background: #fff;
  box-shadow: var(--rb-shadow-sm);
}
.rs-page--index-detail .rs-product-card {
  margin-bottom: 28px;
}
.rs-page--index-detail .rs-steps-grid {
  margin: 28px 0;
}
.rs-page--index-detail .rs-step-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
}
.rs-page--index-detail .rs-step-card h3 {
  margin-top: 22px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}
.rs-page--index-detail .rs-step-card p:last-child {
  margin-top: auto;
}
.rs-page--index-detail .orvi-table-card {
  margin-top: 28px;
}
.rs-page--index-detail #yearsAll {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--rs-line);
}
.rs-page--index-detail #noRows {
  margin-top: 18px;
}

/* ===== Compatibilidad institucional para índices heredados ===== */
.rs-legacy-indices {
  margin: 0;
  min-width: 320px;
  color: var(--rb-ink);
  background: var(--rb-bg-soft);
  font-family: var(--rb-font);
  font-size: 15px;
  line-height: 1.65;
}
.rs-legacy-indices *,
.rs-legacy-indices *::before,
.rs-legacy-indices *::after { box-sizing: border-box; }
.rs-legacy-indices a { color: inherit; text-decoration: none; }
.rs-legacy-indices img { max-width: 100%; }
.rs-legacy-indices .ie-panel { display: none !important; }
.rs-legacy-indices .page { overflow: clip; background: #fff; }
.rs-legacy-indices .container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}
.rs-legacy-indices .row {
  display: flex;
  flex-wrap: wrap;
  margin-inline: -12px;
}
.rs-legacy-indices [class*="col-"] { width: 100%; padding-inline: 12px; }
.rs-legacy-indices .col-xl-10 { width: 83.333%; margin-inline: auto; }
.rs-legacy-indices .col-md-4 { width: 33.333%; }
.rs-legacy-indices .col-md-6 { width: 50%; }
.rs-legacy-indices .col-lg-4 { width: 33.333%; }
.rs-legacy-indices .col-lg-5 { width: 41.666%; }
.rs-legacy-indices .col-xl-4 { width: 33.333%; }
.rs-legacy-indices .justify-content-center { justify-content: center; }
.rs-legacy-indices .align-items-end { align-items: flex-end; }
.rs-legacy-indices .text-left,
.rs-legacy-indices .text-xl-left,
.rs-legacy-indices .text-lg-left,
.rs-legacy-indices .text-sm-left { text-align: left; }
.rs-legacy-indices .text-center { text-align: center; }
.rs-legacy-indices .text-md-right { text-align: right; }
.rs-legacy-indices .offset-top-4 { margin-top: 4px; }
.rs-legacy-indices .offset-top-10 { margin-top: 10px; }
.rs-legacy-indices .offset-top-20 { margin-top: 20px; }
.rs-legacy-indices .offset-top-30 { margin-top: 30px; }
.rs-legacy-indices .offset-top-34 { margin-top: 34px; }
.rs-legacy-indices .offset-top-50 { margin-top: 50px; }
.rs-legacy-indices .section { position: relative; }
.rs-legacy-indices .section-top-41,
.rs-legacy-indices .section-lg-top-85 { padding-top: 82px; }
.rs-legacy-indices .section-bottom-98,
.rs-legacy-indices .section-lg-bottom-110 { padding-bottom: 92px; }
.rs-legacy-indices .page-head {
  position: sticky;
  top: 0;
  z-index: 150;
  background: var(--rb-blue);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,31,69,.18);
}
.rs-legacy-indices .rd-navbar { background: transparent; }
.rs-legacy-indices .rd-navbar-inner {
  width: min(1180px, calc(100% - 48px));
  min-height: 74px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.rs-legacy-indices .rd-navbar-panel { display: flex; align-items: center; }
.rs-legacy-indices .rd-navbar-brand img,
.rs-legacy-indices .rd-navbar-mobile-brand img { width: auto; height: 38px; display: block; }
.rs-legacy-indices .rd-navbar-mobile-brand { display: none; }
.rs-legacy-indices .rd-navbar-menu-wrap,
.rs-legacy-indices .rd-navbar-nav-wrap,
.rs-legacy-indices .rd-navbar-mobile-scroll { flex: 1; }
.rs-legacy-indices .rd-navbar-mobile-scroll { display: flex; justify-content: flex-end; align-items: center; }
.rs-legacy-indices .form-search-wrap,
.rs-legacy-indices .rd-navbar-search { display: none !important; }
.rs-legacy-indices .rd-navbar-nav,
.rs-legacy-indices .rd-navbar-nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rs-legacy-indices .rd-navbar-nav li { list-style: none; }
.rs-legacy-indices .rd-navbar-nav a {
  color: rgba(255,255,255,.86);
  font-size: 11.5px;
  font-weight: 700;
}
.rs-legacy-indices .rd-navbar-nav a:hover { color: #fff; }
.rs-legacy-indices .rd-navbar-toggle { display: none; }
.rs-legacy-indices .parallax-container {
  min-height: 350px;
  display: flex;
  align-items: center;
  color: #fff;
  background: linear-gradient(118deg, rgba(0,31,69,.99), rgba(6,43,95,.97) 62%, rgba(12,86,140,.94));
}
.rs-legacy-indices .parallax-content { width: 100%; padding: 76px 0; }
.rs-legacy-indices .parallax-container h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -.05em;
}
.rs-legacy-indices .list-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255,255,255,.62);
  font-size: 11px;
}
.rs-legacy-indices .titulo-finanzas {
  margin: 0 0 16px;
  color: var(--rb-blue-deep);
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  text-align: left;
}
.rs-legacy-indices .parrafo-finanzas {
  color: var(--rb-muted);
  font-family: var(--rb-font);
  font-size: 15px;
  line-height: 1.75;
}
.rs-legacy-indices .divider {
  width: 72px;
  height: 3px;
  margin: 0;
  border: 0;
  background: linear-gradient(90deg, var(--rb-yellow), var(--rb-orange));
}
.rs-legacy-indices .indice-grid,
.rs-legacy-indices .plan-grid { row-gap: 24px; }
.rs-legacy-indices .indice-card,
.rs-legacy-indices .plan-card,
.rs-legacy-indices .stat-card,
.rs-legacy-indices .cta-box {
  height: 100%;
  padding: 27px;
  border: 1px solid var(--rb-line);
  border-radius: var(--rb-radius-md);
  background: #fff;
  box-shadow: 0 8px 26px rgba(8,34,70,.075);
}
.rs-legacy-indices .indice-card,
.rs-legacy-indices .plan-card { display: flex; flex-direction: column; }
.rs-legacy-indices .indice-card h3,
.rs-legacy-indices .plan-card h3 { color: var(--rb-blue); font-size: 1.35rem; line-height: 1.25; }
.rs-legacy-indices .indice-card p,
.rs-legacy-indices .plan-card p { color: var(--rb-muted); }
.rs-legacy-indices .indice-card .btn,
.rs-legacy-indices .plan-card .btn { width: 100%; margin-top: auto; }
.rs-legacy-indices .indice-badge,
.rs-legacy-indices .plan-badge {
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--rb-blue-mid);
  background: var(--rb-blue-ice);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.rs-legacy-indices .stat-label { color: var(--rb-muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.rs-legacy-indices .stat-value { margin-top: 8px; color: var(--rb-blue); font-size: 1.75rem; font-weight: 800; }
.rs-legacy-indices .stat-sub { color: var(--rb-muted); font-size: 11px; }
.rs-legacy-indices .cta-box { border-left: 4px solid var(--rb-orange); }
.rs-legacy-indices .btn {
  min-height: 43px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rb-line-strong);
  border-radius: var(--rb-radius);
  background: #fff;
  color: var(--rb-blue);
  font-family: var(--rb-font);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}
.rs-legacy-indices .btn:hover { transform: translateY(-1px); border-color: var(--rb-blue); }
.rs-legacy-indices .btn-primary { color: #fff; background: var(--rb-blue); border-color: var(--rb-blue); }
.rs-legacy-indices .btn-warning { color: #fff; background: var(--rb-orange); border-color: var(--rb-orange); }
.rs-legacy-indices .btn-sm { min-height: 39px; padding-inline: 14px; font-size: 9px; }
.rs-legacy-indices .btn-block { width: 100%; }
.rs-legacy-indices .group { display: flex; flex-wrap: wrap; gap: 9px; }
.rs-legacy-indices .form-label { display: block; margin-bottom: 7px; color: var(--rb-ink-soft); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.rs-legacy-indices .form-control {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid var(--rb-line-strong);
  border-radius: var(--rb-radius);
  background: #fff;
  color: var(--rb-ink);
  font: inherit;
}
.rs-legacy-indices textarea.form-control { min-height: 92px; padding-block: 12px; }
.rs-legacy-indices .table-responsive { overflow-x: auto; border: 1px solid var(--rb-line); border-radius: var(--rb-radius-md); background: #fff; box-shadow: var(--rb-shadow-sm); }
.rs-legacy-indices table { width: 100%; border-collapse: collapse; min-width: 580px; }
.rs-legacy-indices th { padding: 14px; background: var(--rb-blue); color: #fff; text-align: left; font-size: 10px; text-transform: uppercase; }
.rs-legacy-indices td { padding: 13px 14px; border-bottom: 1px solid var(--rb-line); color: var(--rb-ink-soft); }
.rs-legacy-indices tbody tr:nth-child(even) td { background: var(--rb-bg-soft); }
.rs-legacy-indices .page-footer {
  padding: 58px 0 28px;
  color: #fff;
  background: var(--rb-blue-deep);
}
.rs-legacy-indices .page-footer h6 { color: #fff; font-size: 10px; letter-spacing: .12em; }
.rs-legacy-indices .page-footer p,
.rs-legacy-indices .page-footer a { color: rgba(255,255,255,.6); }
.rs-legacy-indices .footer-brand img { width: auto; height: 40px; }
.rs-legacy-indices .builder-button {
  position: fixed;
  left: 0;
  top: 50%;
  z-index: 140;
  padding: 12px 8px;
  border-radius: 0 5px 5px 0;
  color: #fff;
  background: var(--rb-orange);
  writing-mode: vertical-rl;
  font-size: 9px;
  font-weight: 800;
}
.rs-legacy-indices .builder-button img { display: none; }
.rs-legacy-indices .btn-whatsapp { position: fixed; right: 20px; bottom: 20px; z-index: 145; }
.rs-legacy-indices .btn-whatsapp img { width: 56px !important; height: 56px !important; }
.rs-legacy-indices .snackbars { display: none; }

/* ===== Landing de inversión: sistema institucional unificado ===== */
.rb-investment-landing {
  --muted: var(--rb-muted);
  margin: 0;
  min-width: 320px;
  color: var(--rb-ink);
  background: linear-gradient(180deg, #f7f9fc, #fff 42%);
  font-family: var(--rb-font);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.rb-investment-landing *,
.rb-investment-landing *::before,
.rb-investment-landing *::after { box-sizing: border-box; }
.rb-investment-landing a { color: inherit; text-decoration: none; }
.rb-investment-landing img { max-width: 100%; }
.rb-investment-landing .wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.rb-investment-landing > header {
  position: sticky;
  top: 0;
  z-index: 180;
  color: #fff;
  background: rgba(6,43,95,.98);
  border-bottom: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 9px 26px rgba(0,31,69,.18);
  backdrop-filter: blur(12px);
}
.rb-investment-landing .nav {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.rb-investment-landing .brand { display: inline-flex; align-items: center; }
.rb-investment-landing .logo-retirum { width: auto; height: 38px; display: block; }
.rb-investment-landing .links { display: flex; align-items: center; justify-content: flex-end; gap: 25px; }
.rb-investment-landing .links a { color: rgba(255,255,255,.84); font-size: 11px; font-weight: 700; }
.rb-investment-landing .links a:hover { color: #fff; }
.rb-investment-landing .btn {
  min-height: 45px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--rb-line-strong);
  border-radius: var(--rb-radius);
  background: #fff;
  color: var(--rb-blue);
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.rb-investment-landing .btn:hover { transform: translateY(-2px); border-color: var(--rb-blue); }
.rb-investment-landing .btn-primary { color: #fff; background: var(--rb-orange); border-color: var(--rb-orange); box-shadow: 0 11px 25px rgba(243,111,33,.22); }
.rb-investment-landing .btn-primary:hover { background: var(--rb-orange-dark); border-color: var(--rb-orange-dark); }
.rb-investment-landing main { overflow: clip; }
.rb-investment-landing main > .wrap { padding-bottom: 86px; }
.rb-investment-landing .hero {
  position: relative;
  margin-inline: calc(50% - 50vw);
  padding: 82px max(24px, calc((100vw - 1180px)/2)) 86px;
  color: #fff;
  background:
    linear-gradient(118deg, rgba(0,31,69,.99), rgba(6,43,95,.98) 60%, rgba(12,86,140,.94));
}
.rb-investment-landing .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .28;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}
.rb-investment-landing .hero > * { position: relative; z-index: 1; }
.rb-investment-landing .hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(350px, .72fr); gap: 54px; align-items: center; }
.rb-investment-landing .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.72);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.rb-investment-landing .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rb-yellow); box-shadow: 0 0 0 5px rgba(245,184,0,.13); }
.rb-investment-landing .hero h1 {
  margin: 19px 0 20px;
  color: #fff;
  font-size: clamp(2.7rem, 5.1vw, 4.8rem);
  line-height: 1;
  letter-spacing: -.052em;
}
.rb-investment-landing .lead { margin: 0; color: rgba(255,255,255,.75); font-size: 1rem; line-height: 1.78; }
.rb-investment-landing .hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 29px; }
.rb-investment-landing .hero-actions .btn:not(.btn-primary) { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.05); }
.rb-investment-landing .pillrow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.rb-investment-landing .pill,
.rb-investment-landing .badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.rb-investment-landing .card,
.rb-investment-landing .mini {
  border: 1px solid var(--rb-line);
  border-radius: var(--rb-radius-md);
  background: #fff;
  box-shadow: 0 10px 30px rgba(8,34,70,.09);
}
.rb-investment-landing .price-card { padding: 29px; color: var(--rb-ink); }
.rb-investment-landing .price { display: grid; grid-template-columns: 1fr auto; gap: 20px; }
.rb-investment-landing .mxn { color: var(--rb-muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.rb-investment-landing .amt { margin-top: 8px; color: var(--rb-blue); font-size: clamp(2rem, 3vw, 2.85rem); font-weight: 800; line-height: 1; }
.rb-investment-landing .price-card .badge { color: var(--rb-blue-mid); background: var(--rb-blue-ice); border-color: var(--rb-blue-pale); }
.rb-investment-landing .divider { height: 1px; margin: 22px 0; background: var(--rb-line); }
.rb-investment-landing .list { margin: 0; padding: 0; list-style: none; }
.rb-investment-landing .list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; padding: 9px 0; color: var(--rb-ink-soft); }
.rb-investment-landing .check { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--rb-green); font-size: 10px; font-weight: 900; }
.rb-investment-landing section:not(.hero) { padding-top: 76px; }
.rb-investment-landing #proceso:empty { display: none; }
.rb-investment-landing .section-title { margin-bottom: 28px; }
.rb-investment-landing .section-title h2 { margin: 0; color: var(--rb-blue-deep); font-size: clamp(2rem, 3.7vw, 3.1rem); line-height: 1.08; letter-spacing: -.04em; }
.rb-investment-landing .hint { margin-top: 9px; color: var(--rb-muted); }
.rb-investment-landing .stepper { overflow: hidden; padding: 0; }
.rb-investment-landing .stepsbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--rb-line);
  background: var(--rb-bg-soft);
}
.rb-investment-landing .sitem {
  min-height: 72px;
  padding: 14px 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--rb-muted);
  border-right: 1px solid var(--rb-line);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.rb-investment-landing .sitem:last-child { border-right: 0; }
.rb-investment-landing .sitem[aria-current="step"] { color: var(--rb-blue); background: var(--rb-blue-ice); box-shadow: inset 0 -3px 0 var(--rb-orange); }
.rb-investment-landing .snum { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--rb-blue); }
.rb-investment-landing .wstep { padding: 31px; }
.rb-investment-landing .formgrid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 17px; }
.rb-investment-landing .span2 { grid-column: 1 / -1; }
.rb-investment-landing label { display: block; margin-bottom: 7px; color: var(--rb-ink-soft); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.rb-investment-landing input:not([type="checkbox"]),
.rb-investment-landing select,
.rb-investment-landing textarea {
  width: 100%;
  min-height: 47px;
  padding: 0 13px;
  border: 1px solid var(--rb-line-strong);
  border-radius: var(--rb-radius);
  outline: none;
  color: var(--rb-ink);
  background: #fff;
  font: inherit;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.rb-investment-landing textarea { min-height: 105px; padding-block: 12px; resize: vertical; }
.rb-investment-landing input:focus,
.rb-investment-landing select:focus,
.rb-investment-landing textarea:focus { border-color: var(--rb-blue-mid); box-shadow: 0 0 0 3px rgba(12,86,140,.1); }
.rb-investment-landing .terms-label {
  min-height: 48px;
  padding: 11px 13px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--rb-line);
  border-radius: var(--rb-radius);
  background: var(--rb-bg-soft);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}
.rb-investment-landing input[type="checkbox"] { margin-top: 3px; accent-color: var(--rb-blue); }
.rb-investment-landing .form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 24px; padding-top: 21px; border-top: 1px solid var(--rb-line); }
.rb-investment-landing .form-actions .note { margin-right: auto; }
.rb-investment-landing .note { color: var(--rb-muted); font-size: 11px; line-height: 1.6; }
.rb-investment-landing .grid-2,
.rb-investment-landing .grid-3 { display: grid; gap: 18px; }
.rb-investment-landing .grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.rb-investment-landing .grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.rb-investment-landing .mini { padding: 23px; box-shadow: 0 7px 23px rgba(8,34,70,.06); }
.rb-investment-landing .mini h3 { margin: 0 0 10px; color: var(--rb-blue); }
.rb-investment-landing .mini p { margin: 0; color: var(--rb-muted); }
.rb-investment-landing details {
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--rb-line);
  border-radius: var(--rb-radius-md);
  background: #fff;
  box-shadow: 0 6px 20px rgba(8,34,70,.05);
}
.rb-investment-landing summary { padding: 18px 20px; color: var(--rb-blue); font-weight: 800; cursor: pointer; }
.rb-investment-landing details p { margin: 0; padding: 0 20px 20px; color: var(--rb-muted); }
.rb-investment-landing footer { margin-top: 82px; color: #fff; background: var(--rb-blue-deep); }
.rb-investment-landing .foot,
.rb-investment-landing .rb-footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: 1.5fr .65fr;
  gap: 45px;
  background: transparent;
}
.rb-investment-landing footer small { color: rgba(255,255,255,.58); line-height: 1.7; }
.rb-investment-landing .footer-logo { height: 39px; }
.rb-investment-landing .float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 190;
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--rb-line);
  border-radius: 8px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--rb-shadow-md);
  backdrop-filter: blur(10px);
}
.rb-investment-landing .float .btn { min-height: 41px; }

@media (max-width: 900px) {
  .rs-legacy-indices .container,
  .rs-legacy-indices .rd-navbar-inner { width: min(100% - 34px, 1180px); }
  .rs-legacy-indices .col-xl-10 { width: 100%; }
  .rs-legacy-indices .col-lg-4,
  .rs-legacy-indices .col-xl-4 { width: 50%; }
  .rs-legacy-indices .rd-navbar-inner { min-height: 68px; }
  .rs-legacy-indices .rd-navbar-nav,
  .rs-legacy-indices .rd-navbar-nav ul { gap: 12px; flex-wrap: wrap; }
  .rb-investment-landing .wrap,
  .rb-investment-landing .foot,
  .rb-investment-landing .rb-footer { width: min(100% - 34px, 1180px); }
  .rb-investment-landing .nav { grid-template-columns: 1fr auto; gap: 20px; }
  .rb-investment-landing .links { display: none; }
  .rb-investment-landing .hero-grid { grid-template-columns: 1fr; }
  .rb-investment-landing .price-card { width: min(680px,100%); }
  .rb-investment-landing .grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .rs-page--index-detail .rs-card-actions:first-of-type { display: grid; grid-template-columns: 1fr; }
  .rs-page--index-detail .rs-card-actions:first-of-type .rs-btn { width: 100%; }
  .rs-legacy-indices .container,
  .rs-legacy-indices .rd-navbar-inner { width: calc(100% - 28px); }
  .rs-legacy-indices .col-md-4,
  .rs-legacy-indices .col-md-6,
  .rs-legacy-indices .col-lg-4,
  .rs-legacy-indices .col-lg-5,
  .rs-legacy-indices .col-xl-4 { width: 100%; }
  .rs-legacy-indices .rd-navbar-inner { align-items: flex-start; flex-direction: column; padding-block: 14px; }
  .rs-legacy-indices .rd-navbar-mobile-scroll,
  .rs-legacy-indices .rd-navbar-nav,
  .rs-legacy-indices .rd-navbar-nav ul { width: 100%; align-items: stretch; flex-direction: column; }
  .rs-legacy-indices .parallax-content { padding: 58px 0; }
  .rs-legacy-indices .section-top-41,
  .rs-legacy-indices .section-lg-top-85 { padding-top: 62px; }
  .rs-legacy-indices .section-bottom-98,
  .rs-legacy-indices .section-lg-bottom-110 { padding-bottom: 68px; }
  .rs-legacy-indices .text-md-right { text-align: left; }
  .rs-legacy-indices .btn { width: 100%; }
  .rs-legacy-indices .group { display: grid; grid-template-columns: 1fr; }
  .rs-legacy-indices .builder-button { display: none; }
  .rb-investment-landing .wrap,
  .rb-investment-landing .foot,
  .rb-investment-landing .rb-footer { width: calc(100% - 28px); }
  .rb-investment-landing .nav { min-height: 66px; }
  .rb-investment-landing .nav > .btn { min-height: 40px; padding-inline: 12px; font-size: 8.5px; }
  .rb-investment-landing .logo-retirum { height: 33px; }
  .rb-investment-landing .hero { padding-top: 58px; padding-bottom: 62px; }
  .rb-investment-landing .hero h1 { font-size: clamp(2.3rem, 12vw, 3.5rem); }
  .rb-investment-landing section:not(.hero) { padding-top: 60px; }
  .rb-investment-landing .stepsbar { grid-template-columns: 1fr; }
  .rb-investment-landing .sitem { min-height: 56px; justify-content: flex-start; border-right: 0; border-bottom: 1px solid var(--rb-line); }
  .rb-investment-landing .wstep { padding: 23px 19px; }
  .rb-investment-landing .formgrid,
  .rb-investment-landing .grid-2 { grid-template-columns: 1fr; }
  .rb-investment-landing .span2 { grid-column: auto; }
  .rb-investment-landing .form-actions { align-items: stretch; flex-direction: column; }
  .rb-investment-landing .form-actions .note { margin-right: 0; }
  .rb-investment-landing .form-actions .btn { width: 100%; }
  .rb-investment-landing .price { grid-template-columns: 1fr; }
  .rb-investment-landing .foot,
  .rb-investment-landing .rb-footer { grid-template-columns: 1fr; gap: 25px; }
  .rb-investment-landing .float { left: 14px; right: 14px; bottom: 14px; display: grid; grid-template-columns: 1fr 1fr; }
  .rb-investment-landing .float .btn { width: 100%; padding-inline: 8px; font-size: 8.5px; }
}

/* =========================================================
   RETIRUM · INDICADORES, MODALIDAD 40 Y ORVI 99
   Variantes añadidas al final de la hoja unificada
   ========================================================= */

/* Base compartida para páginas de información económica */
.rs-page--price-index .rs-page-hero,
.rs-page--economic-cycles .rs-page-hero,
.rs-page--m40 .rs-page-hero,
.rs-page--orvi99 .rs-page-hero {
  padding-top: 82px;
  padding-bottom: 86px;
}

.rs-page--price-index .rs-page-hero__content,
.rs-page--economic-cycles .rs-page-hero__content,
.rs-page--m40 .rs-page-hero__content,
.rs-page--orvi99 .rs-page-hero__content {
  max-width: 1020px;
}

.rs-page--price-index .rs-section-head,
.rs-page--economic-cycles .rs-section-head,
.rs-page--m40 .rs-section-head,
.rs-page--orvi99 .rs-section-head {
  max-width: 900px;
}

/* INPC / INPP */
.rs-page--price-index .rs-calendar-frame {
  position: relative;
  margin-top: 24px;
  border: 1px solid rgba(6,43,95,.14);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(0,31,69,.10);
}

.rs-page--price-index .rs-calendar-frame::before {
  content: "INEGI · consulta oficial";
  display: block;
  padding: 12px 18px;
  color: var(--rs-blue);
  background: linear-gradient(90deg, rgba(6,43,95,.07), rgba(243,111,33,.06));
  border-bottom: 1px solid var(--rs-line);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.rs-page--price-index .rs-product-grid .rs-product-card {
  border-top: 3px solid var(--rs-blue-mid);
}

.rs-page--price-index .rs-product-grid .rs-product-card:nth-child(-n+3) {
  border-top-color: var(--rs-orange);
}

.rs-page--price-index .rs-product-card .rs-badge {
  background: rgba(6,43,95,.08);
}

/* Ciclos económicos */
.rs-page--economic-cycles .rs-embed-frame {
  display: block;
  width: 100%;
  min-height: 700px;
  margin-top: 22px;
  border: 1px solid rgba(6,43,95,.14);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(0,31,69,.10);
}

.rs-page--economic-cycles .rs-product-grid .rs-product-card {
  position: relative;
  overflow: hidden;
}

.rs-page--economic-cycles .rs-product-grid .rs-product-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--rs-blue), var(--rs-blue-mid), var(--rs-orange));
}

.rs-page--economic-cycles .rs-steps-grid {
  grid-template-columns: repeat(5, minmax(0,1fr));
}

.rs-page--economic-cycles .rs-step-card span {
  background: linear-gradient(135deg, var(--rs-blue), var(--rs-blue-mid));
}

/* Modalidad 40 */
.rs-page--m40 #m40-costos {
  margin-top: 34px;
  border-top: 4px solid var(--rs-orange);
}

.rs-page--m40 #m40-costos .orvi-table th:nth-child(n+2),
.rs-page--m40 #m40-costos .orvi-table td:nth-child(n+2) {
  text-align: right;
}

.rs-page--m40 #m40-costos .orvi-table tbody tr:hover td {
  background: rgba(6,43,95,.055);
}

.rs-page--m40 .orvi-row-99 td {
  padding: 11px 18px !important;
  color: #fff !important;
  background: linear-gradient(90deg, var(--rs-blue-deep), var(--rs-blue-mid)) !important;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .18em;
  text-align: center !important;
  text-transform: uppercase;
}

.rs-page--m40 #m40-costos tbody tr:has(td strong) td {
  background: rgba(243,111,33,.055);
}

/* ORVI 99 */
.rs-page--orvi99 {
  --orvi-accent: #f36f21;
  --orvi-soft: #f5f8fc;
}

.rs-page--orvi99 #orviForm {
  margin-top: 34px;
  border-top: 4px solid var(--orvi-accent);
  box-shadow: 0 22px 60px rgba(0,31,69,.12);
}

.rs-page--orvi99 #orviForm .rs-product-card__media {
  min-height: 105px;
  background: linear-gradient(115deg, var(--rs-blue-deep), var(--rs-blue), #0d6ea6);
}

.rs-page--orvi99 .orvi-form-grid {
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}

.rs-page--orvi99 .orvi-field {
  padding: 17px;
  border: 1px solid var(--rs-line);
  border-radius: 12px;
  background: #fff;
}

.rs-page--orvi99 .orvi-field:focus-within {
  border-color: rgba(243,111,33,.55);
  box-shadow: 0 0 0 4px rgba(243,111,33,.09);
}

.rs-page--orvi99 .orvi-guarantees {
  margin-top: 18px;
  padding: 18px;
  border: 1px dashed rgba(6,43,95,.24);
  border-radius: 14px;
  background: var(--orvi-soft);
}

.rs-page--orvi99 .orvi-results {
  margin-top: 34px;
  border-top: 4px solid var(--rs-blue-mid);
}

.rs-page--orvi99 .orvi-kpi-grid .rs-step-card {
  min-height: 190px;
}

.rs-page--orvi99 .orvi-summary-grid {
  margin-top: 26px;
}

.rs-page--orvi99 .orvi-summary-list {
  display: grid;
  gap: 0;
}

.rs-page--orvi99 .orvi-summary-list > div {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: baseline;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rs-line);
}

.rs-page--orvi99 .orvi-summary-list > div:last-child {
  border-bottom: 0;
}

.rs-page--orvi99 .orvi-summary-list dt {
  color: var(--rs-muted);
  font-size: 11px;
  line-height: 1.5;
}

.rs-page--orvi99 .orvi-summary-list dd {
  margin: 0;
  color: var(--rs-blue-deep);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.rs-page--orvi99 .orvi-faq-grid details {
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.rs-page--orvi99 .orvi-faq-grid summary {
  position: relative;
  padding: 18px 46px 18px 20px;
  color: var(--rs-blue-deep);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.rs-page--orvi99 .orvi-faq-grid summary::-webkit-details-marker { display: none; }

.rs-page--orvi99 .orvi-faq-grid summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--orvi-accent);
  font-size: 22px;
  font-weight: 500;
}

.rs-page--orvi99 .orvi-faq-grid details[open] summary::after { content: "−"; }

.rs-page--orvi99 .orvi-faq-grid details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--rs-muted);
}

.rs-page--orvi99 .orvi-table-card {
  border-top: 3px solid var(--rs-blue-mid);
}

@media (max-width: 1100px) {
  .rs-page--economic-cycles .rs-steps-grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }
  .rs-page--orvi99 .orvi-form-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 760px) {
  .rs-page--price-index .rs-calendar-frame iframe,
  .rs-page--economic-cycles .rs-embed-frame {
    min-height: 620px;
  }
  .rs-page--economic-cycles .rs-steps-grid,
  .rs-page--orvi99 .orvi-form-grid {
    grid-template-columns: 1fr;
  }
  .rs-page--m40 #m40-costos .orvi-table {
    min-width: 760px;
  }
  .rs-page--orvi99 .orvi-summary-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .rs-page--orvi99 .orvi-summary-list dd { text-align: left; }
}

@media print {
  .rs-page--orvi99 .rs-topbar,
  .rs-page--orvi99 .rs-navbar,
  .rs-page--orvi99 .rs-page-hero,
  .rs-page--orvi99 #orviForm,
  .rs-page--orvi99 .rs-footer,
  .rs-page--orvi99 .rs-investment-tab,
  .rs-page--orvi99 .rs-whatsapp {
    display: none !important;
  }
  .rs-page--orvi99 .orvi-results[hidden] { display: none !important; }
  .rs-page--orvi99 .orvi-results:not([hidden]) { display: block !important; box-shadow: none; }
}


/* =========================================================
   INDEX RETIRUM — ACOMPAÑAMIENTO Y TESTIMONIOS
   Módulo agregado al final para conservar el CSS unificado.
   ========================================================= */

.rb-testimonials {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 94% 10%, rgba(243, 111, 33, .09), transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.rb-testimonials::before {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -170px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(6, 43, 95, .08);
  border-radius: 50%;
  pointer-events: none;
}

.rb-testimonials__layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: stretch;
}

.rb-testimonials__feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, .78fr) minmax(220px, 1fr);
  min-height: 510px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(6, 43, 95, .10);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 24px 64px rgba(0, 31, 69, .10);
}

.rb-testimonials__image-wrap {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: #eef2f8;
}

.rb-testimonials__image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 54%, rgba(0, 31, 69, .50) 100%);
  pointer-events: none;
}

.rb-testimonials__image-wrap img {
  width: 100%;
  height: 100%;
  min-height: 510px;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.rb-testimonials__image-badge {
  position: absolute;
  z-index: 1;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 999px;
  background: rgba(0, 31, 69, .84);
  color: #ffffff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .02em;
  backdrop-filter: blur(9px);
}

.rb-testimonials__feature figcaption {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px 34px;
}

.rb-testimonials__feature figcaption::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 0;
  width: 4px;
  height: 68px;
  border-radius: 0 4px 4px 0;
  background: #f36f21;
}

.rb-testimonials__feature h3 {
  margin: 12px 0 15px;
  color: #062b5f;
  font-size: clamp(1.55rem, 2.2vw, 2.15rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.rb-testimonials__feature p {
  margin: 0 0 25px;
  color: #526276;
  font-size: .94rem;
  line-height: 1.75;
}

.rb-testimonials__feature .rb-btn {
  align-self: flex-start;
}

.rb-testimonial-grid {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.rb-testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 154px;
  padding: 24px 26px 22px 78px;
  overflow: hidden;
  border: 1px solid rgba(6, 43, 95, .10);
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 15px 38px rgba(0, 31, 69, .07);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.rb-testimonial-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #062b5f 0%, #f36f21 100%);
}

.rb-testimonial-card:hover {
  transform: translateY(-3px);
  border-color: rgba(243, 111, 33, .42);
  box-shadow: 0 20px 46px rgba(0, 31, 69, .10);
}

.rb-testimonial-card__quote {
  position: absolute;
  top: 17px;
  left: 25px;
  color: rgba(243, 111, 33, .24);
  font-family: Georgia, serif;
  font-size: 4.6rem;
  line-height: 1;
  pointer-events: none;
}

.rb-testimonial-card > p {
  position: relative;
  z-index: 1;
  margin: 0 0 20px;
  color: #26394d;
  font-size: .92rem;
  font-weight: 560;
  line-height: 1.65;
}

.rb-testimonial-card footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 13px;
}

.rb-testimonial-card footer img {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: block;
  object-fit: cover;
  object-position: center;
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(6, 43, 95, .12), 0 8px 18px rgba(0, 31, 69, .12);
}

.rb-testimonial-card footer div {
  display: grid;
  gap: 3px;
}

.rb-testimonial-card footer strong {
  color: #062b5f;
  font-size: .88rem;
  line-height: 1.2;
}

.rb-testimonial-card footer span {
  color: #f36f21;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 1120px) {
  .rb-testimonials__layout {
    grid-template-columns: 1fr;
  }

  .rb-testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .rb-testimonial-card {
    min-height: 245px;
    padding: 66px 22px 22px;
  }

  .rb-testimonial-card__quote {
    top: 18px;
    left: 22px;
  }
}

@media (max-width: 820px) {
  .rb-testimonials__feature {
    grid-template-columns: 1fr;
  }

  .rb-testimonials__image-wrap,
  .rb-testimonials__image-wrap img {
    min-height: 430px;
    max-height: 520px;
  }

  .rb-testimonials__feature figcaption {
    padding: 32px 26px 34px;
  }

  .rb-testimonials__feature figcaption::before {
    top: 32px;
  }

  .rb-testimonial-grid {
    grid-template-columns: 1fr;
  }

  .rb-testimonial-card {
    min-height: 0;
    padding: 24px 24px 22px 76px;
  }
}

@media (max-width: 520px) {
  .rb-testimonials__layout {
    gap: 22px;
  }

  .rb-testimonials__feature {
    border-radius: 22px;
  }

  .rb-testimonials__image-wrap,
  .rb-testimonials__image-wrap img {
    min-height: 350px;
    max-height: 420px;
  }

  .rb-testimonials__feature figcaption {
    padding: 28px 22px 30px;
  }

  .rb-testimonials__feature .rb-btn {
    width: 100%;
  }

  .rb-testimonial-card {
    padding: 68px 20px 21px;
    border-radius: 19px;
  }

  .rb-testimonial-card__quote {
    top: 15px;
    left: 19px;
  }
}
