/* ============================================================
   Работа Питер — v0.9
   Job board profesional: azul Indeed/LinkedIn, superficies blancas.
   ============================================================ */

:root {
  --blue: #2557a7;
  --blue-dark: #1b4a8c;
  --blue-soft: #eef3fb;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --ink: #1f2328;
  --muted: #5f6b7a;
  --line: #e3e6ea;
  --line-strong: #cdd3da;
  --ok: #1a7f37;
  --warn: #b54708;
  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --shadow-md: 0 12px 28px -16px rgba(16, 24, 40, .28);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --fast: 150ms;
  --med: 240ms;
  --font: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

/* ---------- Header ---------- */

.rp-top {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--med) var(--ease);
}
.rp-top.is-scrolled { box-shadow: 0 6px 20px -14px rgba(16, 24, 40, .4); }

.rp-top-in {
  max-width: 1200px;
  margin: 0 auto;
  height: 68px;
  padding: 0 clamp(16px, 4vw, 24px);
  display: flex;
  align-items: center;
  gap: 28px;
}

.rp-mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -.01em;
  color: var(--ink);
  white-space: nowrap;
}
.rp-mark img { width: 34px; height: 34px; border-radius: 8px; }
.rp-mark em { color: var(--blue); font-style: normal; }
.rp-mark-light { color: #fff; }
.rp-mark-light em { color: #8ab4f8; }

.rp-menu { display: flex; gap: 22px; margin-left: 8px; }
.rp-menu a {
  position: relative;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  padding: 22px 0;
  transition: color var(--fast) ease;
  white-space: nowrap;
}
.rp-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--med) var(--ease);
}
.rp-menu a:hover { color: var(--blue); }
.rp-menu a:hover::after { transform: scaleX(1); }

.rp-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.rp-nav { font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; }
.rp-nav:hover { color: var(--blue); }
.rp-nav-solid {
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  padding: 10px 16px;
  border-radius: 8px;
  transition: background var(--fast) ease, transform var(--fast) ease;
}
.rp-nav-solid:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* ---------- Tipografía ---------- */

h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(32px, 4.6vw, 52px); }
h2 { font-size: clamp(22px, 2.4vw, 30px); }
h3 { font-size: 18px; }
p { margin: 0; }

.rp-kicker { margin: 0 0 12px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); font-weight: 600; }
.rp-lead { font-size: 18px; color: var(--muted); max-width: 56ch; margin-top: 14px; }
.rp-meta { font-size: 13px; color: var(--muted); }
.rp-hint { font-size: 13px; color: var(--muted); }

/* ---------- Contenedores ---------- */

.rp-page, .rp-hero-in, .rp-block, .rp-cta, .rp-foot-in, .rp-board-top {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 24px);
  padding-right: clamp(16px, 4vw, 24px);
}

/* ---------- Botones ---------- */

.rp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 22px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--fast) ease, transform var(--fast) ease, box-shadow var(--fast) ease;
}
.rp-btn:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 10px 22px -14px rgba(37, 87, 167, .9); }
.rp-btn:active { transform: scale(.985); }
.rp-btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.rp-btn-ghost:hover { background: var(--blue-soft); color: var(--blue); border-color: var(--blue); box-shadow: none; }
.rp-btn-light { background: #fff; color: var(--blue); }
.rp-btn-light:hover { background: #eef3fb; color: var(--blue-dark); }
.rp-btn-small { padding: 10px 16px; font-size: 14px; }

/* ---------- Hero ---------- */

.rp-hero { background: linear-gradient(180deg, #eef3fb 0%, #f7f8fa 100%); border-bottom: 1px solid var(--line); }
.rp-hero-in {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding-top: clamp(40px, 6vw, 64px);
  padding-bottom: clamp(40px, 6vw, 64px);
}
.rp-hero-copy h1 { max-width: 15ch; }
.rp-hero-side-label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.rp-hero-side .rp-job-card { border-color: var(--blue); }

.rp-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.rp-popular a { color: var(--blue); text-decoration: none; border-bottom: 1px solid transparent; }
.rp-popular a:hover { border-color: var(--blue); }

.rp-stats { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 32px; }
.rp-stats div { display: flex; flex-direction: column; gap: 2px; }
.rp-stats strong { font-size: 26px; font-weight: 700; line-height: 1.1; }
.rp-stats span { font-size: 12px; color: var(--muted); }

/* ---------- Buscador ---------- */

.rp-search {
  display: grid;
  grid-template-columns: 1.4fr .9fr auto;
  gap: 8px;
  margin-top: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--med) var(--ease), border-color var(--med) ease;
}
.rp-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 87, 167, .12); }
.rp-search-field { position: relative; display: flex; align-items: center; }
.rp-search-field input, .rp-search-field select {
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  padding: 11px 12px;
  border-radius: 8px;
}
.rp-search-field input:focus, .rp-search-field select:focus { outline: none; background: var(--blue-soft); }
.rp-search-select { border-left: 1px solid var(--line); }
.rp-search-icon { width: 18px; height: 18px; margin-left: 10px; border: 2px solid var(--muted); border-radius: 50%; position: relative; flex: 0 0 auto; }
.rp-search-icon::after { content: ""; position: absolute; width: 7px; height: 2px; background: var(--muted); transform: rotate(45deg); right: -5px; bottom: 0; }

/* ---------- Tarjetas de vacante ---------- */

.rp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 16px; }

.rp-job-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform var(--med) var(--ease), box-shadow var(--med) var(--ease), border-color var(--med) ease;
}
.rp-job-card:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: var(--shadow-md); }
.rp-job-card h2 { font-size: 17px; line-height: 1.3; margin-bottom: 6px; }
.rp-job-card-meta { font-size: 13px; color: var(--muted); }
.rp-job-card-pay { margin-top: 10px; font-size: 16px; font-weight: 700; color: var(--ink); }
.rp-job-card-arrow {
  color: var(--blue);
  font-size: 18px;
  line-height: 1;
  margin-top: 2px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--med) ease, transform var(--med) var(--ease);
}
.rp-job-card:hover .rp-job-card-arrow { opacity: 1; transform: translateX(0); }
.rp-job-card-featured { border-width: 1px; }
.rp-job-card-featured .rp-job-card-pay { color: var(--blue); font-size: 20px; }

/* ---------- Bloques ---------- */

.rp-block { padding-top: clamp(36px, 5vw, 56px); padding-bottom: clamp(36px, 5vw, 56px); }
.rp-block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.rp-block-head a { color: var(--blue); text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; }
.rp-block-head a:hover { text-decoration: underline; }

/* ---------- Categorías ---------- */

.rp-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.rp-cat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--med) ease, transform var(--med) var(--ease), box-shadow var(--med) var(--ease);
}
.rp-cat:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.rp-cat-name { font-weight: 600; font-size: 16px; }
.rp-cat-count { font-size: 13px; color: var(--muted); }
.rp-cat-arrow { position: absolute; right: 18px; top: 18px; color: var(--blue); opacity: 0; transform: translateX(-4px); transition: all var(--med) var(--ease); }
.rp-cat:hover .rp-cat-arrow { opacity: 1; transform: translateX(0); }

/* ---------- Pasos ---------- */

.rp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rp-steps article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.rp-steps span { display: block; font-size: 12px; font-weight: 700; color: var(--blue); letter-spacing: .1em; margin-bottom: 8px; }
.rp-steps h2, .rp-steps h3 { font-size: 18px; margin-bottom: 6px; }
.rp-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 22px 0; }
.rp-how article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.rp-how span { display: block; font-size: 12px; font-weight: 700; color: var(--blue); margin-bottom: 6px; }
.rp-steps p { font-size: 14px; color: var(--muted); }

/* ---------- CTA ---------- */

.rp-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--blue);
  color: #fff;
  border-radius: 14px;
  padding: clamp(24px, 4vw, 40px);
  margin-top: 16px;
  margin-bottom: 48px;
}
.rp-cta h2 { color: #fff; margin-bottom: 6px; }
.rp-cta p { color: #dbe7f7; max-width: 52ch; }

/* ---------- Listado ---------- */

.rp-board-top { padding-top: clamp(32px, 5vw, 48px); }
.rp-board-top .rp-search { margin-bottom: 18px; }

.rp-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; }
.rp-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  padding: 8px 13px;
  border-radius: 999px;
  transition: all var(--fast) ease;
}
.rp-chip span { color: var(--muted); }
.rp-chip:hover { border-color: var(--blue); color: var(--blue); }
.rp-chip.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.rp-chip.is-on span { color: #dbe7f7; }

.rp-filters-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin-bottom: 12px; }
.rp-filters-form label { display: flex; flex-direction: column; gap: 5px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.rp-filters-form select, .rp-filters-form input {
  font: inherit;
  font-size: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  min-width: 160px;
}
.rp-filters-form .rp-filters-q input { min-width: 220px; }
.rp-filters-form select:focus, .rp-filters-form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 87, 167, .12); }

.rp-found { font-size: 14px; color: var(--muted); margin: 10px 0 18px; }
.rp-found strong { color: var(--ink); }

.rp-empty { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; grid-column: 1 / -1; }
.rp-empty h2 { margin-bottom: 8px; }
.rp-empty p { color: var(--muted); margin-bottom: 16px; }

/* ---------- Vacante ---------- */

.rp-job {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, .8fr);
  gap: clamp(24px, 4vw, 48px);
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px) clamp(16px, 4vw, 24px);
  align-items: start;
}
.rp-job-copy { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.rp-job-copy h1 { font-size: clamp(28px, 3.6vw, 40px); max-width: 22ch; }
.rp-back { display: inline-block; font-size: 13px; color: var(--blue); text-decoration: none; margin-bottom: 16px; }
.rp-back:hover { text-decoration: underline; }

.rp-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0 8px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rp-facts span { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.rp-facts strong { font-size: 16px; font-weight: 600; line-height: 1.25; }
.rp-verified { font-size: 12px; color: var(--muted); margin: 10px 0 22px; }

.rp-text { max-width: 70ch; }
.rp-text h2 { font-size: 18px; margin: 28px 0 10px; }
.rp-text p { margin-bottom: 12px; }
.rp-text ul { margin: 0 0 18px; padding-left: 18px; }
.rp-text li { margin-bottom: 7px; }
.rp-text li::marker { color: var(--blue); }

.rp-apply { position: sticky; top: 88px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 2.4vw, 26px); box-shadow: var(--shadow-sm); }
.rp-apply h2 { font-size: 20px; margin-bottom: 14px; }
.rp-tg { display: flex; margin-bottom: 6px; width: 100%; align-items: center; justify-content: center; background: var(--blue); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 13px 18px; border-radius: 8px; transition: background var(--fast) ease, transform var(--fast) ease; }
.rp-tg:hover { background: var(--blue-dark); transform: translateY(-1px); }
.rp-or { display: flex; align-items: center; gap: 12px; margin: 16px 0; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rp-or::before, .rp-or::after { content: ""; height: 1px; background: var(--line); flex: 1; }

/* ---------- Formulario ---------- */

.rp-form { display: grid; gap: 14px; }
.rp-form label, .rp-form legend { font-size: 12px; font-weight: 600; color: var(--ink); }
.rp-form input, .rp-form textarea, .rp-form select {
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 8px;
  padding: 11px 12px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color var(--fast) ease, box-shadow var(--fast) ease;
}
.rp-form input:focus, .rp-form textarea:focus, .rp-form select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 87, 167, .12); }
.rp-form button[type="submit"], .rp-form .rp-next {
  border: 0;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border-radius: 8px;
  padding: 13px 16px;
  cursor: pointer;
  transition: background var(--fast) ease, transform var(--fast) ease;
}
.rp-form button[type="submit"]:hover, .rp-form .rp-next:hover { background: var(--blue-dark); }
.rp-stepper .rp-step { display: none; }
.rp-stepper .rp-step.is-active { display: grid; gap: 14px; }
.rp-stepnum { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rp-progress { display: flex; gap: 6px; margin: 2px 0 4px; }
.rp-progress span { flex: 1; height: 3px; border-radius: 2px; background: var(--line); transition: background var(--med) ease; }
.rp-progress span.on { background: var(--blue); }
.rp-stepnav { display: flex; gap: 8px; }
.rp-stepnav button { flex: 1; cursor: pointer; }
.rp-form .rp-btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line-strong); }
.rp-form .rp-btn-ghost:hover { background: var(--blue-soft); border-color: var(--blue); color: var(--blue); }
.rp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rp-consent { display: flex; gap: 9px; align-items: flex-start; font-size: 12px; font-weight: 400; color: var(--muted); }
.rp-form label.rp-consent input { width: auto; margin-top: 3px; }
.rp-choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 7px; }
.rp-choices label { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line-strong); padding: 9px 12px; border-radius: 8px; font-size: 13px; font-weight: 500; cursor: pointer; }
.rp-choices label:hover { border-color: var(--blue); }
.rp-choices input { width: auto; margin: 0; accent-color: var(--blue); }

.rp-notice { padding: 12px 14px; border-radius: 8px; font-size: 14px; margin-bottom: 14px; }
.rp-notice.ok { background: #e7f5ec; color: var(--ok); }
.rp-notice.err { background: #fdecea; color: #b42318; }

/* ---------- Noticias ---------- */

.rp-news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 28px; }
.rp-news-card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform var(--med) var(--ease), box-shadow var(--med) var(--ease), border-color var(--med) ease; }
.rp-news-card:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: var(--shadow-md); }
.rp-news-card img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.rp-news-card time { display: block; padding: 14px 18px 0; font-size: 12px; color: var(--muted); }
.rp-news-card h2 { font-size: 17px; margin: 6px 18px 8px; line-height: 1.3; }
.rp-news-card p { margin: 0 18px 18px; font-size: 14px; color: var(--muted); }
.rp-news { max-width: 760px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 40px); }
.rp-news h1 { font-size: clamp(26px, 4vw, 40px); margin-bottom: 10px; }
.rp-news-hero { width: 100%; height: auto; border-radius: 8px; margin: 18px 0 8px; }
.rp-source { margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.rp-related { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); }
.rp-related h2 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.rp-related ul { list-style: none; padding: 0; margin: 0; }
.rp-related li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.rp-related a { text-decoration: none; color: var(--blue); font-weight: 500; }
.rp-related a:hover { text-decoration: underline; }

/* ---------- Páginas ---------- */

.rp-page { padding-top: clamp(32px, 5vw, 52px); padding-bottom: clamp(36px, 5vw, 56px); }
.rp-prose { max-width: 72ch; }
.rp-prose h2 { margin: 28px 0 10px; }
.rp-prose p { margin-bottom: 14px; }
.rp-prose ul, .rp-prose ol { padding-left: 20px; }
.rp-prose li { margin-bottom: 8px; }
.rp-prose a { color: var(--blue); }
.rp-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 26px); margin: 20px 0; }
.rp-panel h2 { font-size: 19px; margin-bottom: 10px; }
.rp-faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 22px; }
.rp-faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.rp-faq details:last-child { border-bottom: 0; }
.rp-faq summary { cursor: pointer; font-weight: 600; }
.rp-faq p { margin-top: 10px; color: var(--muted); }
.rp-contacts { display: grid; gap: 10px; margin: 20px 0; }
.rp-contacts a { display: flex; justify-content: space-between; gap: 20px; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; }
.rp-contacts a:hover { border-color: var(--blue); }
.rp-contacts span { color: var(--muted); font-size: 13px; }
.rp-districts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin: 24px 0; }
.rp-district { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.rp-district h2 { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 8px; }
.rp-district h2 span { color: var(--blue); font-size: 13px; }
.rp-district ul { list-style: none; margin: 0; padding: 0; }
.rp-district li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.rp-district li:last-child { border-bottom: 0; }
.rp-district li a { text-decoration: none; }
.rp-district li a:hover { color: var(--blue); }
.rp-district li em { font-style: normal; color: var(--muted); white-space: nowrap; }
.rp-legal p { margin: 8px 0; }

/* ---------- Footer ---------- */

.rp-foot { background: #1b2733; color: #aeb9c5; margin-top: 24px; }
.rp-foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-top: 40px; padding-bottom: 32px; }
.rp-foot-brand p { font-size: 13px; margin: 12px 0; max-width: 30ch; color: #8fa0b3; }
.rp-foot-tg { display: inline-block; color: #8ab4f8; text-decoration: none; font-weight: 600; font-size: 14px; }
.rp-foot-col { display: flex; flex-direction: column; gap: 9px; }
.rp-foot-col h3 { color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.rp-foot-col a { color: #aeb9c5; text-decoration: none; font-size: 14px; }
.rp-foot-col a:hover { color: #fff; }
.rp-foot-bottom { display: flex; justify-content: space-between; gap: 16px; padding: 16px clamp(16px, 4vw, 24px); border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; color: #aeb9c5; max-width: 1200px; margin: 0 auto; }

/* ---------- Motion ---------- */

@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.rp-hero-copy > * { animation: fadeUp .6s var(--ease) both; }
.rp-hero-copy > *:nth-child(1) { animation-delay: .02s; }
.rp-hero-copy > *:nth-child(2) { animation-delay: .06s; }
.rp-hero-copy > *:nth-child(3) { animation-delay: .1s; }
.rp-hero-copy > *:nth-child(4) { animation-delay: .14s; }
.rp-hero-copy > *:nth-child(5) { animation-delay: .18s; }
.rp-hero-side { animation: fadeUp .7s var(--ease) both; animation-delay: .12s; }

[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .rp-hero-in { grid-template-columns: 1fr; }
  .rp-hero-side { order: 2; }
  .rp-job { grid-template-columns: 1fr; }
  .rp-apply { position: static; }
  .rp-foot-in { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .rp-top-in { height: auto; flex-wrap: wrap; gap: 4px 12px; padding-top: 8px; padding-bottom: 8px; }
  .rp-menu { order: 3; width: 100%; gap: 16px; overflow-x: auto; margin-left: 0; scrollbar-width: none; }
  .rp-menu::-webkit-scrollbar { display: none; }
  .rp-menu a { padding: 12px 0; font-size: 14px; }
  .rp-mark { font-size: 16px; }
  .rp-search { grid-template-columns: 1fr; }
  .rp-search-select { border-left: 0; border-top: 1px solid var(--line); }
  .rp-steps, .rp-how { grid-template-columns: 1fr; }
  .rp-facts { grid-template-columns: 1fr 1fr; }
  .rp-cta { flex-direction: column; align-items: flex-start; }
  .rp-foot-bottom { flex-direction: column; gap: 6px; }
}

@media (max-width: 560px) {
  .rp-cards, .rp-cats, .rp-news-grid { grid-template-columns: 1fr; }
  .rp-foot-in { grid-template-columns: 1fr; }
  .rp-stats { gap: 24px; }
  .rp-filters-form label, .rp-filters-form input, .rp-filters-form select { width: 100%; min-width: 0; }
  .rp-filters-form { flex-direction: column; align-items: stretch; }
  .rp-filters-form .rp-btn { width: 100%; }
}

/* ---------- Marca ---------- */

.rp-logo { display: inline-flex; align-items: center; gap: 10px; }
.rp-mark-svg { width: 34px; height: 34px; flex: 0 0 auto; }
.rp-logo-word { display: inline-flex; gap: 5px; font-weight: 700; font-size: 18px; letter-spacing: -.015em; color: var(--ink); }
.rp-logo-word em { font-style: normal; color: var(--blue); }
.rp-logo-light .rp-logo-word { color: #fff; }
.rp-logo-light .rp-logo-word em { color: #8ab4f8; }
.rp-mark { text-decoration: none; }

/* ---------- Detalles de sistema ---------- */

.rp-block-head h2 { position: relative; padding-left: 14px; }
.rp-block-head h2::before { content: ""; position: absolute; left: 0; top: .18em; bottom: .18em; width: 4px; border-radius: 2px; background: var(--blue); }

.rp-job-card-pay, .rp-stats strong, .rp-facts strong { font-variant-numeric: tabular-nums; }

.rp-search-icon { display: inline-flex; align-items: center; justify-content: center; color: var(--muted); margin-left: 10px; flex: 0 0 auto; }
.rp-search-icon::after { display: none; }

.rp-job-card-arrow svg, .rp-cat-arrow svg { display: block; }

/* ---------- Banda de oficios ---------- */

.rp-band { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 24px); }
.rp-band-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; transform: translateY(-18px); }
.rp-band-item { position: relative; margin: 0; overflow: hidden; border-radius: 12px; background: var(--blue); }
.rp-band-item img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; filter: grayscale(1) contrast(1.06); mix-blend-mode: luminosity; opacity: .95; transition: transform .7s var(--ease); }
.rp-band-item:hover img { transform: scale(1.04); }
.rp-band-item figcaption { position: absolute; left: 16px; bottom: 14px; display: flex; align-items: baseline; gap: 8px; color: #fff; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 1px 10px rgba(0,0,0,.45); }
.rp-band-item figcaption span { font-weight: 700; font-size: 15px; letter-spacing: 0; text-transform: none; }
@media (max-width: 760px) { .rp-band-in { grid-template-columns: 1fr 1fr; } .rp-band-item:last-child { grid-column: 1 / -1; } .rp-band-item:last-child img { aspect-ratio: 16 / 7; } }

.rp-privacy { font-size: 12px; line-height: 1.45; color: var(--muted); border-left: 2px solid var(--line-strong); padding-left: 10px; margin: 2px 0 4px; }

/* Paginación de noticias */
.rp-pager { display: flex; justify-content: center; gap: 10px; margin-top: 8px; }
.rp-pager-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; padding: 11px 18px; border-radius: 8px; transition: border-color var(--fast) ease, color var(--fast) ease, transform var(--fast) ease; }
.rp-pager-btn:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-1px); }

/* Cabecera móvil compacta */
.rp-cta-short { display: none; }
@media (max-width: 1100px) {
  .rp-top-in { flex-wrap: wrap; height: auto; padding-top: 8px; padding-bottom: 8px; }
  .rp-menu { order: 3; width: 100%; gap: 16px; overflow-x: auto; }
  .rp-menu a { white-space: nowrap; }
}
@media (max-width: 560px) {
  .rp-cta-full { display: none; }
  .rp-cta-short { display: inline; }
  .rp-nav-solid { padding: 9px 12px; font-size: 13px; min-height: 44px; display: inline-flex; align-items: center; }
  .rp-logo-word { font-size: 16px; gap: 4px; }
  .rp-mark-svg { width: 30px; height: 30px; }
  .rp-top-in { gap: 4px 8px; }
}


/* Perfil de candidato para agencias */
.rp-actions-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 10px; }
.rp-agency-facts { width: 100%; border-collapse: collapse; margin: 22px 0; }
.rp-agency-facts th { width: 180px; text-align: left; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.rp-agency-facts td { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.rp-agency-qa { margin: 14px 0 0; }
.rp-agency-qa dt { font-weight: 600; margin-top: 14px; }
.rp-agency-qa dd { margin: 4px 0 0; }
@media (max-width: 640px) { .rp-agency-facts th { width: 120px; } }

/* Botones dentro del texto: el enlace heredaba el azul y quedaba invisible */
.rp-prose a.rp-btn, .rp-prose .rp-btn { color: #fff; }
.rp-prose a.rp-btn:hover { color: #fff; }
.rp-prose a.rp-btn-ghost { color: var(--ink); }
.rp-prose a.rp-btn-ghost:hover { color: var(--blue); }
.rp-prose a.rp-btn-light { color: var(--blue); }

/* Página de continuación: Telegram + hueco MAX */
.rp-continue { max-width: 880px; }
.rp-channels { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.rp-channel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.rp-channel h2 { font-size: 20px; margin: 0 0 6px; }
.rp-channel-note { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.rp-channel-off { opacity: .6; }
.rp-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); background: var(--blue-soft); border-radius: 99px; padding: 3px 8px; vertical-align: middle; margin-left: 6px; }
.rp-qr { display: flex; justify-content: center; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.rp-qr svg { width: 190px; height: 190px; display: block; }
.rp-btn-block { display: flex; justify-content: center; width: 100%; }
.rp-link { display: inline-block; margin-top: 10px; font-size: 14px; color: var(--blue); }
@media (max-width: 720px) { .rp-channels { grid-template-columns: 1fr; } }

/* Agencias: alta, contrato y panel */
.rp-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rp-partner-form { max-width: 720px; }
.rp-note { border-radius: 10px; padding: 14px 16px; margin: 16px 0; font-size: 15px; }
.rp-note-ok { background: #e9f2e9; border: 1px solid #bfd8bf; }
.rp-note-err { background: #fdecec; border: 1px solid #f0c2c2; }
.rp-check { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; }
.rp-check input { margin-top: 3px; }
.rp-contract { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; margin: 18px 0; font-size: 15px; line-height: 1.55; }
.rp-contract ol { padding-left: 20px; }
.rp-contract-actions { margin: 10px 0 18px; }
.rp-dash { max-width: 1100px; }
.rp-dash-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.rp-dash-cards { display: flex; gap: 14px; margin: 18px 0 8px; flex-wrap: wrap; }
.rp-card-stat { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; min-width: 180px; }
.rp-card-stat span { display: block; color: var(--muted); font-size: 13px; }
.rp-card-stat strong { font-size: 24px; }
.rp-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.rp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.rp-table th, .rp-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.rp-table th { background: #f4f6fa; font-weight: 600; }
.rp-muted { color: var(--muted); font-size: 13px; }
.rp-inline { display: flex; gap: 6px; margin: 0; }
.rp-status { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 99px; background: #eef2f7; }
.rp-status-passed { background: #e3f2e3; color: #256b25; }
.rp-status-rejected { background: #f7e6e6; color: #8a2b2b; }
.rp-status-proposed { background: #e8eefb; color: var(--blue); }
@media (max-width: 720px) { .rp-grid2 { grid-template-columns: 1fr; } .rp-dash-head { flex-direction: column; align-items: flex-start; } }
.rp-date { padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 6px; font-size: 13px; }
.rp-vacancy-form textarea { width: 100%; }

/* Contrato: membrete, partes y firmas */
.rp-contract { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0; margin: 20px 0; overflow: hidden; }
.rp-contract-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 26px; border-bottom: 1px solid var(--line); background: #f4f7fb; }
.rp-contract-brand { display: flex; align-items: center; gap: 12px; }
.rp-contract-brand img { display: block; }
.rp-contract-brand strong { display: block; font-size: 16px; }
.rp-contract-brand span { display: block; font-size: 12px; color: var(--muted); }
.rp-contract-meta { text-align: right; font-size: 13px; font-weight: 600; }
.rp-contract-meta span { color: var(--muted); font-weight: 400; }
.rp-contract h2 { font-size: 22px; margin: 22px 26px 14px; }
.rp-contract h3 { font-size: 15px; margin: 20px 26px 6px; }
.rp-contract p { margin: 0 26px 10px; font-size: 14px; line-height: 1.6; color: var(--ink); }
.rp-contract-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 8px 26px 6px; padding: 16px; background: #f7f9fc; border-radius: 10px; }
.rp-contract-parties h3 { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.rp-contract-parties p { margin: 0; font-size: 13px; line-height: 1.55; }
.rp-sign { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 26px; padding-top: 18px; border-top: 1px dashed var(--line-strong); }
.rp-sign span { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.rp-sign-line { height: 34px; border-bottom: 1px solid var(--ink); margin: 4px 0 6px; }
.rp-sign small { color: var(--muted); font-size: 12px; }
.rp-contract .rp-hint { margin: 0 26px 24px; }
.rp-contract-form { max-width: 760px; }
.rp-accept { margin: 18px 0 12px; }
.rp-accept label { display: flex; flex-direction: row !important; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.rp-accept input { width: 18px; height: 18px; margin: 0; flex: 0 0 auto; }
.rp-accept span { line-height: 1.35; }
.rp-file { display: block; }
.rp-file input[type="file"] { display: block; margin-top: 6px; width: 100%; padding: 12px; border: 1px dashed var(--line-strong); border-radius: 8px; background: #f7f9fc; font-size: 14px; }
.rp-file span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
@media (max-width: 720px) { .rp-contract-head { flex-direction: column; align-items: flex-start; } .rp-contract-meta { text-align: left; } .rp-contract-parties, .rp-sign { grid-template-columns: 1fr; } }
.rp-file input[type="file"]::file-selector-button { background: var(--blue); color: #fff; border: 0; padding: 10px 16px; border-radius: 8px; font-weight: 600; margin-right: 12px; cursor: pointer; }
.rp-file input[type="file"]::file-selector-button:hover { background: var(--blue-dark); }
.rp-note-warn { background: #fff7e6; border: 1px solid #f0d9a8; }
.rp-review { margin: 0 0 18px; }
.rp-terms { margin: 28px 0 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.rp-terms h2 { font-size: 20px; margin: 0 0 6px; }

/* Panel de agencia: pestañas y formularios */
.rp-tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin: 20px 0 26px; }
.rp-tabs a { padding: 11px 14px; font-size: 14px; font-weight: 600; color: #6b7785; text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.rp-tabs a:hover { color: var(--blue); }
.rp-tabs a.is-active { color: var(--blue); border-bottom-color: var(--blue); }
.rp-form input[type="checkbox"] { width: auto; margin: 3px 0 0; }
.rp-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 14px !important; color: #3c4655; text-align: left; }
.rp-checks { display: grid; gap: 10px; padding: 4px 0; }

/* Modal reutilizable */
.rp-modal { position: fixed; inset: 0; background: rgba(13,27,42,.55); z-index: 9999; align-items: center; justify-content: center; padding: 20px; overflow: auto; }
.rp-modal-card { background: #fff; border-radius: 14px; padding: 26px; position: relative; width: 100%; box-shadow: 0 24px 60px rgba(13,27,42,.25); max-height: 90vh; overflow: auto; }
.rp-modal-close { position: absolute; top: 10px; right: 14px; border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: #6b7785; }

/* Contrato */
.rp-contract { max-width: 820px; margin: 24px auto; padding: 34px 38px; }
.rp-contract h3 { color: var(--blue); font-size: 15px; margin: 22px 0 6px; }
.rp-contract-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0 6px; }
.rp-contract-parties > div { background: #f7f9fc; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.rp-contract-parties h3 { margin: 0 0 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: #6b7785; }
.rp-sign { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 30px; }
.rp-sign > div { border-top: 1px solid var(--line-strong); padding-top: 10px; }
.rp-sign span { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: #6b7785; }
@media print { .rp-contract { border: 0; padding: 0; margin: 0; box-shadow: none; } .rp-contract-actions, .rp-terms, .rp-contract-form { display: none !important; } }

/* Footer siempre al fondo de la pantalla */
html { height: 100%; }
body { min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; width: 100%; }
.rp-foot { margin-top: auto; }

/* Tabla de candidatos del panel */
.rp-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.rp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: #3c4655; text-decoration: none; background: #fff; }
.rp-chip:hover { border-color: var(--blue); color: var(--blue); }
.rp-chip.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.rp-chip b { font-weight: 700; opacity: .85; }
.rp-avatar { width: 38px; height: 38px; border-radius: 50%; background: #eef2f8; color: #2557a7; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex: 0 0 38px; }
.rp-score { display: inline-block; padding: 4px 10px; border-radius: 999px; font-weight: 700; font-size: 13px; }
.rp-score-good { background: #e8f6ee; color: #1f7a4d; }
.rp-score-mid { background: #fff4d6; color: #8a5a00; }
.rp-score-low { background: #fdecec; color: #a12a2a; }
.rp-pill { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.rp-pill-proposed { background: #eef2f8; color: #2557a7; }
.rp-pill-accepted { background: #e8f6ee; color: #1f7a4d; }
.rp-pill-hired { background: #1f7a4d; color: #fff; }
.rp-pill-rejected { background: #f3f4f6; color: #6b7785; }
.rp-cand-links { display: flex; gap: 8px; margin-top: 4px; font-size: 12px; }
.rp-cand-links a { color: #2557a7; text-decoration: none; }

/* Rechazo en el panel */
.rp-reject { position: relative; display: inline-block; }
.rp-reject summary { list-style: none; cursor: pointer; background: #a12a2a; border: 1px solid #a12a2a; color: #fff; border-radius: 6px; padding: 7px 12px; font-size: 13px; font-weight: 600; display: inline-block; }
.rp-reject summary::-webkit-details-marker { display: none; }
.rp-reject-box { position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid #dfe5ee; border-radius: 10px; padding: 12px; box-shadow: 0 12px 30px rgba(13,27,42,.15); z-index: 20; width: 230px; font-size: 13px; text-align: left; }
.rp-reject-box label { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 8px; font-weight: 400; }
.rp-reject-box button { width: 100%; margin-top: 4px; }

/* ============================================================
   v1.8 — Inicio y tablero editoriales
   ============================================================ */
.rp2-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.rp2-kicker { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--blue); margin: 0 0 10px; }
.rp2-kicker-light { color: #8ab4f8; }
.rp2-hero { padding: 56px 0 44px; border-bottom: 1px solid var(--line); }
.rp2-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.rp2-hero h1 { font-size: clamp(38px, 4.6vw, 58px); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 18px; }
.rp2-lead { font-size: 18px; line-height: 1.5; color: #39434e; max-width: 52ch; margin: 0 0 24px; }
.rp2-search { display: grid; grid-template-columns: 1.2fr .8fr auto; background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; padding: 6px; gap: 6px; max-width: 620px; }
.rp2-search input, .rp2-search select { border: 0; background: transparent; padding: 11px 12px; font: 15px var(--font); color: var(--ink); min-width: 0; }
.rp2-search input:focus, .rp2-search select:focus { outline: 2px solid rgba(37, 87, 167, .25); border-radius: 6px; }
.rp2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--blue); color: #fff; border: 1px solid var(--blue); border-radius: 8px; padding: 11px 18px; font: 600 14px/1 var(--font); text-decoration: none; cursor: pointer; }
.rp2-btn:hover { background: var(--blue-dark); }
.rp2-btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.rp2-btn-light:hover { background: #e9eef5; }
.rp2-stats { display: flex; gap: 34px; margin-top: 26px; flex-wrap: wrap; }
.rp2-stats b { display: block; font-size: 22px; letter-spacing: -.02em; }
.rp2-stats span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rp2-hero-media { position: relative; }
.rp2-hero-media img { width: 100%; height: 420px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line-strong); }
.rp2-hero-card { position: absolute; left: -18px; bottom: 22px; background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; padding: 14px 16px; max-width: 280px; }
.rp2-hero-card-t { font-weight: 700; font-size: 14px; margin-bottom: 3px; }
.rp2-hero-card-m { font-size: 12px; color: var(--muted); }
.rp2-hero-card-p { font-size: 17px; font-weight: 700; margin-top: 8px; }
.rp2-hero-card-a { display: inline-block; margin-top: 8px; font-size: 12px; color: var(--blue); text-decoration: none; }
.rp2-sectors { padding: 26px 0; border-bottom: 1px solid var(--line); }
.rp2-sector-row { display: flex; flex-wrap: wrap; }
.rp2-sector { flex: 1; min-width: 150px; padding: 14px 18px 14px 0; border-right: 1px solid var(--line); text-decoration: none; color: inherit; }
.rp2-sector:last-child { border-right: 0; }
.rp2-sector b { display: block; font-size: 15px; margin-bottom: 2px; }
.rp2-sector span { font-size: 12px; color: var(--muted); }
.rp2-sector:hover b { color: var(--blue); }
.rp2-section { padding: 48px 0; }
.rp2-section-line { border-top: 1px solid var(--line); }
.rp2-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 8px; }
.rp2-head h2 { font-size: 30px; letter-spacing: -.025em; }
.rp2-head a { font-size: 13px; color: var(--blue); text-decoration: none; white-space: nowrap; }
.rp2-rows { border-top: 1px solid var(--line-strong); }
.rp2-row { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; transition: background .15s ease, padding .15s ease; }
.rp2-row:hover { background: #fff; padding-left: 8px; }
.rp2-row h3 { font-size: 17.5px; margin: 0 0 4px; letter-spacing: -.01em; }
.rp2-go { display: inline-block; opacity: 0; transform: translateX(-6px); transition: opacity .15s ease, transform .15s ease; margin-left: 6px; color: var(--blue); }
.rp2-row:hover .rp2-go { opacity: 1; transform: none; }
.rp2-meta { font-size: 13px; color: var(--muted); }
.rp2-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.rp2-tag { font-size: 11.5px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px 9px; color: #4a5560; background: #fff; }
.rp2-pay { text-align: right; font-size: 18px; font-weight: 700; white-space: nowrap; }
.rp2-pay small { display: block; font-size: 11px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.rp2-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 26px; }
.rp2-step { border-top: 2px solid var(--ink); padding-top: 14px; }
.rp2-n { font-size: 12px; letter-spacing: .12em; color: var(--blue); font-weight: 700; margin-bottom: 8px; }
.rp2-step h3 { font-size: 18px; margin: 0 0 6px; }
.rp2-step p { font-size: 14px; color: #4a5560; margin: 0; }
.rp2-band { background: #1f2328; color: #fff; padding: 52px 0; }
.rp2-band-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.rp2-band h2 { font-size: 32px; letter-spacing: -.025em; margin: 0 0 12px; }
.rp2-band p { color: #b7c0c9; margin: 0 0 20px; max-width: 52ch; }
.rp2-steps-dark .rp2-step { border-top-color: #3a4653; }
.rp2-steps-dark .rp2-n { color: #8ab4f8; }
.rp2-steps-dark h3 { color: #fff; }
.rp2-steps-dark p { color: #b7c0c9; }
.rp2-faq { border-top: 1px solid var(--line-strong); }
.rp2-faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.rp2-faq summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; }
.rp2-faq summary::-webkit-details-marker { display: none; }
.rp2-faq p { color: #4a5560; margin: 10px 0 0; max-width: 70ch; }
.rp2-page-head { padding: 40px 0 26px; border-bottom: 1px solid var(--line); }
.rp2-page-head h1 { font-size: clamp(30px, 3.4vw, 42px); margin: 0 0 8px; }
.rp2-sub { color: var(--muted); margin: 0 0 18px; }
.rp2-board { display: grid; grid-template-columns: 250px 1fr; gap: 40px; padding-top: 30px; padding-bottom: 60px; align-items: start; }
.rp2-filters { position: sticky; top: 20px; }
.rp2-fgroup { border-bottom: 1px solid var(--line); padding: 14px 0; }
.rp2-fgroup h3 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.rp2-fgroup a { display: flex; justify-content: space-between; font-size: 13.5px; text-decoration: none; padding: 4px 0; color: #39434e; }
.rp2-fgroup a:hover { color: var(--blue); }
.rp2-fgroup a.is-on { color: var(--blue); font-weight: 600; }
.rp2-fgroup b { font-weight: 600; color: var(--muted); }
.rp2-reset { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--muted); }
.rp2-count { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.rp2-empty { padding: 40px 0; }
.rp2-empty h2 { margin-bottom: 6px; }
.rp2-empty p { color: var(--muted); margin: 0 0 16px; }
@media (max-width: 900px) {
  .rp2-hero-grid, .rp2-band-grid, .rp2-board { grid-template-columns: 1fr; }
  .rp2-hero-media img { height: 320px; }
  .rp2-hero-card { left: 12px; bottom: 12px; }
  .rp2-steps { grid-template-columns: 1fr; }
  .rp2-filters { position: static; }
  .rp2-sector { border-right: 0; border-bottom: 1px solid var(--line); }
  .rp2-hero { padding: 36px 0 30px; }
}

@media (max-width: 640px) {
  .rp2-search { grid-template-columns: 1fr; padding: 8px; }
  .rp2-search input, .rp2-search select { border: 1px solid var(--line); border-radius: 8px; background: #fff; width: 100%; }
  .rp2-search .rp2-btn { width: 100%; }
  .rp2-row { grid-template-columns: 1fr; gap: 6px; }
  .rp2-pay { text-align: left; margin-top: 2px; }
  .rp2-pay small { display: inline; margin-left: 6px; }
  .rp2-hero-media img { height: 300px; }
  .rp2-hero-card { max-width: 250px; left: 10px; bottom: 10px; padding: 12px; }
  .rp2-hero-card-p { font-size: 15px; }
  .rp2-stats { gap: 22px; }
  .rp2-head h2 { font-size: 26px; }
}

/* v1.8.2 — Ficha de vacante */
.rp3-crumb { font-size: 12.5px; color: var(--muted); padding-top: 18px; }
.rp3-crumb a { color: var(--muted); text-decoration: none; }
.rp3-crumb a:hover { color: var(--blue); }
.rp3-grid { display: grid; grid-template-columns: 1fr 370px; gap: 44px; padding-top: 18px; padding-bottom: 60px; align-items: start; }
.rp3-grid h1 { font-size: clamp(30px, 3.4vw, 42px); margin: 0 0 10px; }
.rp3-meta { font-size: 14px; color: var(--muted); margin: 0 0 20px; }
.rp3-photo { width: 100%; height: 300px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line-strong); margin: 0 0 26px; }
.rp3-copy h2 { font-size: 19px; margin: 28px 0 10px; }
.rp3-copy ul { padding-left: 18px; margin: 0 0 12px; }
.rp3-copy li { margin-bottom: 6px; }
.rp3-apply { position: sticky; top: 20px; background: #fff; border: 1px solid var(--line-strong); border-radius: 12px; padding: 20px; }
.rp3-price { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.rp3-price small { display: block; font-size: 11px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.rp3-kv { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 12px; font-size: 13.5px; }
.rp3-kv div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.rp3-kv span { color: var(--muted); }
.rp3-kv b { text-align: right; }
.rp3-form { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 6px; }
.rp3-note { font-size: 12px; color: var(--muted); margin: 10px 0 0; line-height: 1.45; }
@media (max-width: 900px) {
  .rp3-grid { grid-template-columns: 1fr; gap: 24px; }
  .rp3-apply { position: static; }
  .rp3-photo { height: 220px; }
}

.rp2-btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.rp2-btn-ghost:hover { background: #fff; }
@media (max-width: 900px) {
  .rp2-section .rp2-wrap[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
}

.rp3-cta { display: none; }
@media (max-width: 900px) {
  .rp3-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; background: var(--blue); color: #fff; border-radius: 10px; padding: 14px 16px; font-weight: 600; justify-content: center; text-decoration: none; box-shadow: 0 8px 24px rgba(16, 24, 40, .25); }
  .rp3-grid { padding-bottom: 96px; }
}

/* v1.8.5 — Noticias y páginas estáticas */
.rp4-head { padding-top: 40px; padding-bottom: 10px; }
.rp4-head h1 { font-size: clamp(30px, 3.6vw, 44px); margin: 0 0 10px; }
.rp4-lead { font-size: 17px; color: #39434e; max-width: 60ch; margin: 0; }
.rp4-list { padding-top: 20px; padding-bottom: 50px; }
.rp4-featured { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; padding: 24px 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.rp4-featured img { width: 100%; height: 320px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line-strong); }
.rp4-featured h2 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.02em; margin: 8px 0 10px; }
.rp4-featured p { color: #4a5560; margin: 0 0 14px; }
.rp4-featured:hover h2 { color: var(--blue); }
.rp4-date { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.rp4-more { font-size: 13px; color: var(--blue); font-weight: 600; }
.rp4-rows { border-bottom: 1px solid var(--line); }
.rp4-row { display: grid; grid-template-columns: 1fr 170px; gap: 22px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; align-items: center; }
.rp4-row:last-child { border-bottom: 0; }
.rp4-row h3 { font-size: 18px; letter-spacing: -.01em; margin: 4px 0 6px; }
.rp4-row p { font-size: 13.5px; color: var(--muted); margin: 0; }
.rp4-row img { width: 170px; height: 110px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.rp4-row:hover h3 { color: var(--blue); }
.rp4-crumb { font-size: 12.5px; color: var(--muted); padding-top: 18px; }
.rp4-crumb a { color: var(--muted); text-decoration: none; }
.rp4-article { max-width: 780px; margin: 0 auto; padding: 20px 24px 50px; }
.rp4-article h1 { font-size: clamp(30px, 3.6vw, 44px); margin: 0 0 10px; }
.rp4-meta { font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.rp4-hero { width: 100%; height: 400px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line-strong); margin: 0 0 26px; }
.rp4-text { font-size: 17px; line-height: 1.7; color: #232b34; }
.rp4-text h2 { font-size: 22px; margin: 28px 0 10px; }
.rp4-text p { margin: 0 0 14px; }
.rp4-text ul, .rp4-text ol { padding-left: 20px; margin: 0 0 14px; }
.rp4-source { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 26px; }
.rp4-source a { color: var(--blue); }
.rp4-related { border-top: 1px solid var(--line-strong); margin-top: 34px; padding-top: 18px; }
.rp4-related h2 { font-size: 20px; margin: 0 0 10px; }
.rp4-related ul { padding-left: 18px; margin: 0; }
.rp4-related a { color: var(--blue); text-decoration: none; }
/* Páginas estáticas: tipografía y paneles */
.rp-page { padding-top: 40px; padding-bottom: 60px; }
.rp-page.rp-prose { max-width: 780px; }
.rp-prose h1 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 14px; }
.rp-prose h2 { font-size: 24px; margin: 30px 0 10px; }
.rp-prose .rp-lead { font-size: 18px; line-height: 1.55; color: #39434e; }
.rp-prose ol, .rp-prose ul { padding-left: 20px; line-height: 1.7; }
.rp-prose li { margin-bottom: 8px; }
.rp-panel { background: #fff; border: 1px solid var(--line-strong); border-radius: 12px; padding: 22px 24px; margin: 24px 0; }
.rp-panel h2 { font-size: 20px; margin-top: 0; }
@media (max-width: 900px) {
  .rp4-featured { grid-template-columns: 1fr; }
  .rp4-featured img { height: 240px; }
  .rp4-row { grid-template-columns: 1fr; }
  .rp4-row img { width: 100%; height: 180px; order: -1; }
  .rp4-hero { height: 240px; }
}

/* v1.8.7 — Ficha de candidato y login */
.rp4-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0 4px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; padding: 14px 16px; }
.rp4-summary div span { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.rp4-summary div b { font-size: 15px; }
.rp4-contacts { background: #eef7f1; border: 1px solid #cfe8d8; border-radius: 10px; padding: 14px 16px; margin: 16px 0 0; }
.rp4-contacts .l { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #5f6b7a; margin-bottom: 6px; }
.rp4-contacts a { color: var(--ink); font-weight: 600; text-decoration: none; }
.rp4-contacts a:hover { color: var(--blue); }
.rp4-status { border-radius: 10px; padding: 14px 16px; margin: 24px 0 0; font-weight: 600; border: 1px solid var(--line-strong); background: #fff; }
.rp4-status.ok { background: #eef7f1; border-color: #cfe8d8; color: #1f7a4d; }
.rp4-status.muted { background: #f4f7fb; color: #3c4655; }
.rp4-login { max-width: 430px; margin: 0 auto; padding: 44px 24px 64px; }
.rp4-login .brand { display: flex; justify-content: center; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; text-decoration: none; color: var(--ink); margin-bottom: 18px; }
.rp4-login .mark { width: 32px; height: 32px; border-radius: 7px; background: var(--blue); display: grid; place-items: center; color: #fff; font-weight: 800; }
.rp4-login h1 { font-size: 28px; text-align: center; margin: 0 0 6px; }
.rp4-login .sub { text-align: center; color: var(--muted); margin: 0 0 22px; }
.rp4-card { background: #fff; border: 1px solid var(--line-strong); border-radius: 12px; padding: 24px; }
.rp4-card label { display: block; margin-bottom: 14px; font-size: 13.5px; color: #3c4655; }
.rp4-card input[type=email], .rp4-card input[type=password] { display: block; width: 100%; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: 8px; font: inherit; margin-top: 6px; }
.rp4-card input[type=email]:focus, .rp4-card input[type=password]:focus { outline: 2px solid rgba(37, 87, 167, .25); border-color: var(--blue); }
.rp4-card .rp2-btn { width: 100%; }
.rp4-check { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.rp4-err { background: #fdecec; border: 1px solid #f3c6c6; color: #a12a2a; border-radius: 8px; padding: 10px 12px; margin-bottom: 14px; font-size: 14px; }
.rp4-login-link { text-align: center; margin: 16px 0 0; font-size: 14px; }
.rp4-login-link a, .rp4-login-note a { color: var(--blue); text-decoration: none; }
.rp4-login-note { text-align: center; margin: 18px 0 0; color: var(--muted); font-size: 14px; }
@media (max-width: 640px) { .rp4-summary { grid-template-columns: 1fr; gap: 10px; } }

/* v1.8.8 — Panel de agencia y distritos */
.rp-dash { padding-top: 34px; padding-bottom: 64px; }
.rp-dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.rp-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin: 0 0 22px; overflow-x: auto; scrollbar-width: none; }
.rp-tabs::-webkit-scrollbar { display: none; }
.rp-tabs a { padding: 10px 14px; font-size: 14px; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.rp-tabs a:hover { color: var(--blue); }
.rp-tabs a.is-active { color: var(--blue); border-bottom-color: var(--blue); font-weight: 600; }
.rp-table-wrap { overflow-x: auto; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; }
.rp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.rp-table th { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line-strong); font-weight: 600; }
.rp-table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.rp-table tr:last-child td { border-bottom: 0; }
.rp-dash-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 20px; }
.rp-card-stat { background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; padding: 14px 16px; }
.rp-card-stat span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); display: block; margin-bottom: 4px; }
.rp-card-stat strong { font-size: 22px; }
.rp-districts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 22px 0 0; }
.rp-district { background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; padding: 16px 18px; }
.rp-district h2 { font-size: 16px; margin: 0 0 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.rp-district h2 span { font-size: 12px; color: var(--muted); font-weight: 500; }
.rp-district ul { list-style: none; padding: 0; margin: 0; }
.rp-district li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.rp-district li a { color: var(--ink); text-decoration: none; }
.rp-district li a:hover { color: var(--blue); }
.rp-district li em { color: var(--muted); font-style: normal; white-space: nowrap; }
@media (max-width: 700px) { .rp-districts, .rp-dash-cards { grid-template-columns: 1fr; } }

@media (max-width: 640px) {
  .rp-menu { gap: 12px; }
  .rp-menu a { font-size: 13px; padding: 10px 0; }
}

.rp2-what { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0 8px; }
.rp2-what > div { background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; padding: 16px 18px; }
.rp2-what h3 { font-size: 16px; margin: 0 0 6px; }
.rp2-what p { font-size: 14px; color: #4a5560; margin: 0; line-height: 1.55; }
.rp2-cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 28px 0 0; }
@media (max-width: 700px) { .rp2-what { grid-template-columns: 1fr; } }

/* v2.0 — Landing de partners con formulario de lead */
.rp5-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: start; padding-top: 44px; padding-bottom: 50px; }
.rp5-points { list-style: none; padding: 0; margin: 20px 0 0; }
.rp5-points li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 14.5px; color: #39434e; }
.rp5-note { margin: 18px 0 0; font-size: 13px; color: var(--muted); }
.rp5-card { background: #fff; border: 1px solid var(--line-strong); border-radius: 12px; padding: 24px; }
.rp5-card h2 { font-size: 24px; margin: 0 0 6px; }
.rp5-card .sub { color: var(--muted); margin: 0 0 16px; font-size: 14px; }
.rp5-card label { display: block; font-size: 13.5px; color: #3c4655; margin-bottom: 12px; }
.rp5-card input, .rp5-card textarea { display: block; width: 100%; border: 1px solid var(--line-strong); border-radius: 8px; padding: 10px 12px; font: inherit; margin-top: 5px; background: #fff; }
.rp5-card input:focus, .rp5-card textarea:focus { outline: 2px solid rgba(37, 87, 167, .25); border-color: var(--blue); }
.rp5-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--muted); }
.rp5-consent input { width: auto; margin-top: 2px; }
.rp5-card .rp2-btn { width: 100%; margin-top: 6px; }
.rp5-alert { border-radius: 8px; padding: 10px 12px; margin-bottom: 14px; font-size: 14px; }
.rp5-alert.ok { background: #eef7f1; border: 1px solid #cfe8d8; color: #1f7a4d; }
.rp5-alert.err { background: #fdecec; border: 1px solid #f3c6c6; color: #a12a2a; }
.rp5-hp { position: absolute; left: -9999px; }
.rp5-small { font-size: 12px; color: var(--muted); margin: 10px 0 0; }
@media (max-width: 900px) { .rp5-grid { grid-template-columns: 1fr; gap: 26px; } }

/* v2.1.1 — Bloque de cuenta en cabecera */
.rp-account { display: flex; align-items: center; gap: 4px; padding-left: 10px; border-left: 1px solid var(--line); }
.rp-account-main { background: var(--blue-soft); color: var(--blue); border: 1px solid transparent; border-radius: 8px; padding: 8px 13px; font-weight: 600; font-size: 13.5px; text-decoration: none; transition: background .15s ease, color .15s ease; }
.rp-account-main:hover { background: #e1ebfa; color: var(--blue-dark); }
.rp-account-out { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-size: 13.5px; padding: 8px 10px; border-radius: 8px; transition: background .15s ease, color .15s ease; }
.rp-account-out:hover { background: #fdecec; color: #a12a2a; }
.rp-account-out svg { flex: 0 0 auto; }
@media (max-width: 640px) {
  .rp-account { padding-left: 6px; gap: 2px; }
  .rp-account-main { padding: 7px 10px; font-size: 13px; }
  .rp-account-out { padding: 7px 8px; font-size: 13px; }
  .rp-account-out svg { width: 14px; height: 14px; }
}

/* v2.6 — Solicitud de partner */
.rp6-section { padding-top: 40px; }
.rp6-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.rp6-card { background: #fff; border: 1px solid var(--line-strong); border-radius: 12px; padding: 26px; margin-top: 18px; }
.rp6-card h2 { font-size: 17px; margin: 18px 0 12px; }
.rp6-card h2:first-of-type { margin-top: 0; }
.rp6-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 6px; }
.rp6-card label { display: block; font-size: 13.5px; color: #3c4655; margin-bottom: 12px; }
.rp6-card input { display: block; width: 100%; border: 1px solid var(--line-strong); border-radius: 8px; padding: 10px 12px; font: inherit; margin-top: 5px; background: #fff; }
.rp6-card input:focus { outline: 2px solid rgba(37, 87, 167, .25); border-color: var(--blue); }
.rp6-aside { background: #0d1b2a; color: #dbe4ee; border-radius: 12px; padding: 24px; margin-top: 18px; }
.rp6-aside h2 { color: #fff; font-size: 18px; margin: 0 0 14px; }
.rp6-steps { list-style: none; counter-reset: rp6; padding: 0; margin: 0 0 18px; }
.rp6-steps li { counter-increment: rp6; position: relative; padding: 0 0 14px 34px; font-size: 14px; line-height: 1.55; }
.rp6-steps li::before { content: counter(rp6); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 11px; background: #1d3a5f; color: #8ab4f8; font-size: 12px; font-weight: 700; text-align: center; line-height: 22px; }
.rp6-steps b { color: #fff; }
.rp6-note { border-top: 1px solid #25303b; padding-top: 14px; font-size: 12.5px; color: #9aa5b0; line-height: 1.55; }
.rp6-note b { color: #fff; }
@media (max-width: 900px) { .rp6-grid { grid-template-columns: 1fr; } .rp6-grid2 { grid-template-columns: 1fr; } }

.rp6-card .rp5-consent { display: flex; align-items: flex-start; gap: 8px; margin: 16px 0 14px; font-size: 13px; }
.rp6-card .rp5-consent input { width: auto; margin-top: 2px; }

/* Documentos (subida segura) */
.rp-doc-card{margin:18px 0;padding:18px 20px;border:1px solid #dde3ea;border-radius:14px;background:#fff}
.rp-doc-card h2{margin:0 0 10px;font-size:18px}
.rp-doc-card form{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.rp-doc-card input[type=file]{max-width:100%}
.rp-notice{margin:14px 0;padding:12px 14px;border-radius:10px;font-size:14px}
.rp-notice-ok{background:#e8f6ee;border:1px solid #b7e2c8;color:#175c35}
.rp-notice-err{background:#fdecec;border:1px solid #f2b8b5;color:#7a1f1a}

/* Burbuja de chat */
.rp-chat{position:fixed;right:20px;bottom:20px;z-index:9999;font-family:inherit}
.rp-chat-fab{width:56px;height:56px;border-radius:50%;border:0;background:#2557a7;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 10px 28px rgba(20,45,90,.28)}
.rp-chat-fab:hover{background:#1d478c}
.rp-chat-panel{position:absolute;right:0;bottom:70px;width:300px;max-width:calc(100vw - 40px);background:#fff;border:1px solid #dde3ea;border-radius:16px;box-shadow:0 18px 48px rgba(20,45,90,.18);padding:16px}
.rp-chat-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.rp-chat-head strong{font-size:16px}
.rp-chat-x{border:0;background:transparent;font-size:22px;line-height:1;color:#68707a;cursor:pointer}
.rp-chat-lead{font-size:13px;color:#4b5563;margin:0 0 12px;line-height:1.45}
.rp-chat-link{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #dde3ea;border-radius:12px;margin-bottom:8px;text-decoration:none;color:#1f2937;background:#fff}
.rp-chat-link:hover{border-color:#2557a7;background:#f6f9ff}
.rp-chat-link strong{display:block;font-size:14px}
.rp-chat-link small{display:block;font-size:12px;color:#68707a}
.rp-chat-ico{width:34px;height:34px;border-radius:50%;background:#eef3fb;color:#2557a7;display:flex;align-items:center;justify-content:center;flex:none}
.rp-chat-tg .rp-chat-ico{background:#e7f5fb;color:#229ed9}
.rp-chat-note{font-size:12px;color:#68707a;margin:8px 0 0;line-height:1.4}
@media(max-width:600px){.rp-chat{right:14px;bottom:14px}.rp-chat-panel{bottom:66px}}

/* Popup de pregunta */
.rp-chat-overlay{position:fixed;inset:0;z-index:10000;background:rgba(14,23,38,.5);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:18px}
.rp-chat-overlay[hidden]{display:none!important}
.rp-chat-open,.rp-chat-open body{overflow:hidden}
.rp-chat-modal{position:relative;width:100%;max-width:560px;max-height:92vh;overflow:auto;background:#fff;border-radius:20px;padding:26px 26px 22px;box-shadow:0 30px 80px rgba(10,25,50,.28)}
.rp-chat-modal .rp-chat-x{position:absolute;top:12px;right:14px;font-size:26px;color:#68707a;background:transparent;border:0;cursor:pointer;line-height:1}
.rp-chat-kicker{margin:0 0 6px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#2557a7;font-weight:700}
.rp-chat-modal h2{margin:0 0 6px;font-size:24px;line-height:1.2;color:#16233a}
.rp-chat-lead{margin:0 0 16px;font-size:14px;color:#4b5563;line-height:1.5}
.rp-chat-label{display:block;font-size:13px;font-weight:600;color:#263244;margin:0 0 10px}
.rp-chat-label textarea{width:100%;margin-top:6px;border:1px solid #cfd8e3;border-radius:12px;padding:12px;font:inherit;font-size:14px;resize:vertical;min-height:88px}
.rp-chat-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px}
.rp-chat-row input{width:100%;border:1px solid #cfd8e3;border-radius:12px;padding:11px 12px;font:inherit;font-size:14px}
.rp-chat-consent{display:flex;gap:8px;align-items:flex-start;font-size:12px;color:#4b5563;line-height:1.4;margin:4px 0 12px}
.rp-chat-consent input{margin-top:2px}
.rp-chat-answer{margin:14px 0;padding:12px 14px;border-radius:12px;background:#eef4ff;border:1px solid #cfdfff;color:#1c2b45;font-size:14px;line-height:1.55;white-space:pre-wrap}
.rp-chat-answer.is-err{background:#fdecec;border-color:#f2b8b5;color:#7a1f1a}
.rp-chat-submit{width:100%;margin:0 0 6px}
.rp-chat-or{display:flex;align-items:center;gap:12px;margin:16px 0 14px;color:#7a8492;font-size:12px;text-transform:uppercase;letter-spacing:.06em}
.rp-chat-or:before,.rp-chat-or:after{content:"";height:1px;flex:1;background:#e3e8ef}
.rp-chat-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.rp-chat-card{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:14px;border:1px solid #dde3ea;border-radius:16px;background:#fff;text-decoration:none;color:#1f2937;transition:border-color .15s,box-shadow .15s,transform .15s}
.rp-chat-card:hover{border-color:#2557a7;box-shadow:0 10px 24px rgba(20,45,90,.12);transform:translateY(-1px)}
.rp-chat-card-ico{width:46px;height:46px;border-radius:14px;background:#eef3fb;color:#2557a7;display:flex;align-items:center;justify-content:center}
.rp-chat-card[data-chat-card=tg] .rp-chat-card-ico{background:#e7f5fb;color:#229ed9}
.rp-chat-card strong{font-size:16px}
.rp-chat-card small{font-size:12px;color:#5b6675;line-height:1.4}
.rp-chat-card-go{font-size:12px;font-weight:700;color:#2557a7;margin-top:2px}
.rp-chat-note{font-size:12px;color:#7a8492;margin:14px 0 0;line-height:1.4}
@media(max-width:600px){.rp-chat-modal{padding:22px 18px 18px;border-radius:16px}.rp-chat-row{grid-template-columns:1fr}.rp-chat-cards{grid-template-columns:1fr}.rp-chat-modal h2{font-size:21px}}

/* Popup: acabado visual */
.rp-chat-modal{max-width:620px;padding:32px 32px 26px;border-radius:24px;border:1px solid rgba(37,87,167,.10)}
.rp-chat-modal:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#2557a7,#6f9bf0);border-radius:24px 24px 0 0}
.rp-chat-x{top:14px;right:14px;width:34px;height:34px;border-radius:50%;background:#f1f4f8;color:#5b6675;display:flex;align-items:center;justify-content:center;font-size:20px;transition:background .15s}
.rp-chat-x:hover{background:#e6ebf3;color:#1f2937}
.rp-chat-brand{display:flex;align-items:center;gap:12px;margin:2px 0 18px}
.rp-chat-brand img{width:44px;height:44px;border-radius:12px;box-shadow:0 6px 16px rgba(37,87,167,.18)}
.rp-chat-kicker{margin:0 0 2px;font-size:11px;letter-spacing:.1em}
.rp-chat-status{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:#1a7f4b;font-weight:600}
.rp-chat-status i{width:6px;height:6px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.15)}
.rp-chat-modal h2{font-size:27px;letter-spacing:-.01em;margin:0 0 6px}
.rp-chat-lead{font-size:14.5px;margin:0 0 18px}
.rp-chat-label textarea{background:#f8fafc;border-color:#d7dfe9;padding:13px;min-height:96px}
.rp-chat-label textarea:focus{outline:none;border-color:#2557a7;background:#fff;box-shadow:0 0 0 3px rgba(37,87,167,.12)}
.rp-chat-row input{background:#f8fafc;border-color:#d7dfe9;padding:12px 13px}
.rp-chat-row input:focus{outline:none;border-color:#2557a7;background:#fff;box-shadow:0 0 0 3px rgba(37,87,167,.12)}
.rp-chat-consent{font-size:12px;color:#5b6675;margin:8px 0 14px}
.rp-chat-consent input{accent-color:#2557a7;width:15px;height:15px}
.rp-chat-submit{height:48px;font-size:15px;font-weight:700;border-radius:12px;box-shadow:0 8px 20px rgba(37,87,167,.22)}
.rp-chat-or{margin:20px 0 16px}
.rp-chat-cards{gap:14px}
.rp-chat-card{min-height:210px;padding:18px;border-radius:18px;background:linear-gradient(180deg,#f8fbff,#fff);border-color:#dbe6f3}
.rp-chat-card[data-chat-card=tg]{background:linear-gradient(180deg,#edf9ff,#fff);border-color:#cfeafb}
.rp-chat-card[data-chat-card=max]{background:linear-gradient(180deg,#f1f3ff,#fff);border-color:#d9ddff}
.rp-chat-card-ico{width:58px;height:58px;border-radius:18px;margin-bottom:4px}
.rp-chat-card-ico svg{width:30px;height:30px}
.rp-chat-card[data-chat-card=tg] .rp-chat-card-ico{background:#dff3fd;color:#1e9bd7}
.rp-chat-card[data-chat-card=max] .rp-chat-card-ico{background:#e6e9ff;color:#4b5bd6}
.rp-chat-card strong{font-size:17px;letter-spacing:-.01em}
.rp-chat-card small{font-size:12.5px;line-height:1.45}
.rp-chat-card-go{margin-top:auto;font-size:12.5px;padding-top:8px}
.rp-chat-note{font-size:12px;margin-top:16px}
@media(max-width:600px){.rp-chat-modal{padding:26px 20px 20px;border-radius:20px}.rp-chat-brand{margin-bottom:14px}.rp-chat-modal h2{font-size:23px}.rp-chat-card{min-height:0}}

/* Panel de chat anclado (estilo openingsportal) */
.rp-chat-window{position:absolute;right:0;bottom:68px;width:min(390px,calc(100vw - 28px));height:min(620px,calc(100dvh - 110px));display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #dde3ea;border-radius:18px;box-shadow:0 24px 64px rgba(20,24,20,.18);animation:rpChatIn .22s cubic-bezier(.22,1,.36,1)}
.rp-chat-window[hidden]{display:none!important}
@keyframes rpChatIn{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
.rp-chat-window-head{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid #edf0f4;background:#fff;flex:none}
.rp-chat-window-head img{width:40px;height:40px;border-radius:11px;box-shadow:0 4px 12px rgba(37,87,167,.16);flex:none}
.rp-chat-window-id{min-width:0}
.rp-chat-window-id strong{display:block;font-size:15px;line-height:1.2;color:#16233a}
.rp-chat-window-id span{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:#1a7f4b;font-weight:600;margin-top:2px}
.rp-chat-window-id i{width:6px;height:6px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.15)}
.rp-chat-window .rp-chat-x{margin-left:auto;width:32px;height:32px;border-radius:50%;background:#f1f4f8;color:#5b6675;display:flex;align-items:center;justify-content:center;font-size:19px;border:0;cursor:pointer;flex:none}
.rp-chat-window .rp-chat-x:hover{background:#e6ebf3;color:#1f2937}
.rp-chat-window-body{flex:1;overflow-y:auto;padding:14px;background:#f7f9fc;display:flex;flex-direction:column;gap:10px;overscroll-behavior:contain}
.rp-chat-bubble{max-width:92%;padding:10px 12px;border-radius:14px 14px 14px 4px;background:#fff;border:1px solid #e3e8ef;color:#263244;font-size:13.5px;line-height:1.45}
.rp-chat-window form{display:flex;flex-direction:column;gap:8px}
.rp-chat-window textarea{width:100%;min-height:74px;resize:vertical;border:1px solid #cfd8e3;border-radius:12px;padding:10px 12px;font:inherit;font-size:13.5px;background:#fff;color:#1f2937}
.rp-chat-window textarea:focus{outline:none;border-color:#2557a7;box-shadow:0 0 0 3px rgba(37,87,167,.12)}
.rp-chat-window .rp-chat-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.rp-chat-window .rp-chat-row input{width:100%;border:1px solid #cfd8e3;border-radius:10px;padding:9px 11px;font:inherit;font-size:12.5px;background:#fff;color:#1f2937}
.rp-chat-window .rp-chat-row input:focus{outline:none;border-color:#2557a7;box-shadow:0 0 0 3px rgba(37,87,167,.12)}
.rp-chat-window .rp-chat-consent{display:flex;gap:7px;align-items:flex-start;font-size:11.5px;color:#5b6675;line-height:1.35;margin:0}
.rp-chat-window .rp-chat-consent input{accent-color:#2557a7;width:14px;height:14px;margin-top:1px}
.rp-chat-answer{max-width:92%;align-self:flex-end;padding:10px 12px;border-radius:14px 14px 4px 14px;background:#e8f0ff;border:1px solid #cfdfff;color:#1c2b45;font-size:13.5px;line-height:1.5;white-space:pre-wrap}
.rp-chat-answer.is-err{background:#fdecec;border-color:#f2b8b5;color:#7a1f1a;align-self:flex-start}
.rp-chat-window .rp-chat-submit{height:40px;border:0;border-radius:10px;background:#2557a7;color:#fff;font:inherit;font-size:13.5px;font-weight:700;cursor:pointer;box-shadow:0 6px 16px rgba(37,87,167,.18)}
.rp-chat-window .rp-chat-submit:hover{background:#1d478c}
.rp-chat-window .rp-chat-submit:disabled{opacity:.65;cursor:default}
.rp-chat-or{display:flex;align-items:center;gap:10px;margin:4px 0;color:#7a8492;font-size:11px;text-transform:uppercase;letter-spacing:.06em}
.rp-chat-or:before,.rp-chat-or:after{content:"";height:1px;flex:1;background:#e3e8ef}
.rp-chat-cards{display:flex;flex-direction:column;gap:8px}
.rp-chat-card{display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:10px;padding:10px;border:1px solid #dbe6f3;border-radius:14px;background:#fff;text-decoration:none;color:#1f2937;transition:border-color .15s,box-shadow .15s,transform .15s}
.rp-chat-card:hover{border-color:#2557a7;box-shadow:0 8px 20px rgba(20,45,90,.10);transform:translateY(-1px)}
.rp-chat-card[data-chat-card=tg]{background:linear-gradient(180deg,#f2fbff,#fff);border-color:#cfeafb}
.rp-chat-card[data-chat-card=max]{background:linear-gradient(180deg,#f4f5ff,#fff);border-color:#d9ddff}
.rp-chat-card-ico{width:44px;height:44px;border-radius:13px;display:flex;align-items:center;justify-content:center;background:#eef3fb;color:#2557a7;flex:none}
.rp-chat-card[data-chat-card=tg] .rp-chat-card-ico{background:#dff3fd;color:#1e9bd7}
.rp-chat-card[data-chat-card=max] .rp-chat-card-ico{background:#e6e9ff;color:#4b5bd6}
.rp-chat-card-ico svg{width:24px;height:24px}
.rp-chat-card-txt strong{display:block;font-size:14px;line-height:1.2}
.rp-chat-card-txt small{display:block;font-size:11.5px;color:#5b6675;margin-top:2px;line-height:1.3}
.rp-chat-card-go{color:#2557a7;font-weight:700;font-size:15px}
.rp-chat-note{font-size:11px;color:#7a8492;margin:2px 0 0}
.rp-chat-note a{color:#2557a7}
@media(max-width:600px){.rp-chat-window{position:fixed;left:10px;right:10px;bottom:82px;width:auto;height:min(78dvh,600px);border-radius:16px}.rp-chat-window-body{padding:12px}}
.rp-chat-window .rp-chat-answer{margin:0}
.rp-chat-window .rp-chat-card{min-height:0}
.rp-chat-window .rp-chat-card-ico{margin:0}

/* Chat: logo, historial y composer */
.rp-chat-window-logo{width:38px;height:38px;flex:none;display:flex;align-items:center;justify-content:center;border-radius:11px;overflow:hidden;box-shadow:0 4px 12px rgba(37,87,167,.18)}
.rp-chat-window-logo svg{display:block;width:38px;height:38px}
.rp-chat-window-head img{display:none}
.rp-chat-window-body{padding:14px;gap:10px;background:#f7f9fc}
.rp-chat-bubble.bot{background:#fff;border:1px solid #e3e8ef;border-radius:14px 14px 14px 4px;align-self:flex-start;max-width:92%}
.rp-chat-bubble.user{background:#2557a7;color:#fff;border:0;border-radius:14px 14px 4px 14px;align-self:flex-end;max-width:86%}
.rp-chat-bubble.err{background:#fdecec;border:1px solid #f2b8b5;color:#7a1f1a;align-self:flex-start;max-width:92%}
.rp-chat-quick{margin-top:2px}
.rp-chat-quick .rp-chat-or{margin:8px 0}
.rp-chat-composer{flex:none;display:flex;flex-direction:column;gap:8px;padding:10px 12px 12px;border-top:1px solid #edf0f4;background:#fff}
.rp-chat-contact{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.rp-chat-contact input{width:100%;border:1px solid #cfd8e3;border-radius:10px;padding:8px 10px;font:inherit;font-size:12.5px;background:#f8fafc;color:#1f2937}
.rp-chat-contact input:focus{outline:none;border-color:#2557a7;background:#fff;box-shadow:0 0 0 3px rgba(37,87,167,.12)}
.rp-chat-inputrow{display:flex;align-items:flex-end;gap:8px}
.rp-chat-inputrow textarea{flex:1;min-height:42px;max-height:120px;resize:none;border:1px solid #cfd8e3;border-radius:12px;padding:10px 12px;font:inherit;font-size:13.5px;line-height:1.4;background:#f8fafc;color:#1f2937}
.rp-chat-inputrow textarea:focus{outline:none;border-color:#2557a7;background:#fff;box-shadow:0 0 0 3px rgba(37,87,167,.12)}
.rp-chat-inputrow button{width:42px;height:42px;flex:none;border:0;border-radius:50%;background:#2557a7;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 6px 16px rgba(37,87,167,.22)}
.rp-chat-inputrow button:hover{background:#1d478c}
.rp-chat-inputrow button:disabled{opacity:.6;cursor:default}
.rp-chat-window.is-chatting .rp-chat-contact,.rp-chat-window.is-chatting .rp-chat-consent{display:none}
.rp-chat-window.is-chatting .rp-chat-composer{padding-top:8px}
@media(max-width:600px){.rp-chat-window-body{padding:12px}.rp-chat-composer{padding:8px 10px 10px}}

/* Pie fijo de mensajeros dentro del chat */
.rp-chat-messengers{flex:none;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:8px 12px 10px;border-top:1px solid #edf0f4;background:#fff}
.rp-chat-messengers .rp-chat-card{display:grid;grid-template-columns:30px 1fr;align-items:center;gap:8px;padding:8px;border-radius:12px;min-height:0;box-shadow:none}
.rp-chat-messengers .rp-chat-card-ico{width:30px;height:30px;border-radius:9px}
.rp-chat-messengers .rp-chat-card-ico svg{width:17px;height:17px}
.rp-chat-messengers .rp-chat-card-txt strong{font-size:12.5px;line-height:1.15}
.rp-chat-messengers .rp-chat-card-txt small{font-size:10.5px;margin-top:1px;line-height:1.25}
.rp-chat-messengers .rp-chat-card-go{display:none}
.rp-chat-messengers .rp-chat-card:hover{transform:none}
@media(max-width:600px){.rp-chat-messengers{padding:7px 10px 9px}.rp-chat-messengers .rp-chat-card-txt small{display:none}}

/* Pie de mensajeros: una descripción y opción VK */
.rp-chat-messengers{display:block;padding:8px 12px 10px}
.rp-chat-messengers-note{margin:0 0 6px;font-size:11px;line-height:1.3;color:#7a8492;text-align:center}
.rp-chat-messenger-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:6px}
.rp-chat-messengers .rp-chat-card{grid-template-columns:28px 1fr;gap:7px;padding:7px 8px;border-radius:11px}
.rp-chat-messengers .rp-chat-card-ico{width:28px;height:28px;border-radius:8px}
.rp-chat-messengers .rp-chat-card-ico svg{width:16px;height:16px}
.rp-chat-messengers .rp-chat-card-txt strong{font-size:12.5px;line-height:1.1}
.rp-chat-messengers .rp-chat-card-txt small{display:none}
@media(max-width:600px){.rp-chat-messengers{padding:7px 10px 9px}.rp-chat-messengers-note{font-size:10.5px}}
.rp-chat-cta{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;padding:9px 12px;border-radius:10px;background:#2557a7;color:#fff;font-size:12.5px;font-weight:700;text-decoration:none;box-shadow:0 6px 16px rgba(37,87,167,.18)}
.rp-chat-cta:hover{background:#1d478c;color:#fff}
.rp-chat-gate{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:24px 18px;background:#f7f9fc;text-align:center}
.rp-chat-gate-title{margin:0;font-size:14px;font-weight:700;color:#263244}
.rp-chat-gate .smart-captcha{min-height:80px}
.rp-chat-gate-btn{height:42px;padding:0 22px;border:0;border-radius:10px;background:#2557a7;color:#fff;font:inherit;font-size:13.5px;font-weight:700;cursor:pointer;box-shadow:0 6px 16px rgba(37,87,167,.18)}
.rp-chat-gate-btn:disabled{opacity:.6;cursor:default}
.rp-chat-gate-err{margin:0;font-size:12px;color:#7a1f1a}
.rp-chat-window.captcha-pending .rp-chat-window-body,.rp-chat-window.captcha-pending .rp-chat-composer,.rp-chat-window.captcha-pending .rp-chat-messengers{display:none}
.rp-chat-gate[hidden]{display:none!important}

/* Verificación de email compacta */
.rp-verify{max-width:560px}
.rp-verify h1{font-size:32px;line-height:1.15;margin:0 0 10px;letter-spacing:-.01em}
.rp-verify .rp-lead{font-size:15px;margin:0 0 18px;line-height:1.5}
.rp-verify-form{max-width:360px}
.rp-verify-form label{font-size:13px}
.rp-verify-code{display:block;width:220px;max-width:100%;margin-top:6px;padding:11px 12px;font-size:22px;letter-spacing:.32em;text-align:center;font-weight:700;border:1px solid #cfd8e3;border-radius:10px;background:#fff;color:#16233a}
.rp-verify-code:focus{outline:none;border-color:#2557a7;box-shadow:0 0 0 3px rgba(37,87,167,.12)}
.rp-verify-btn{width:220px;max-width:100%;margin-top:10px}
@media(max-width:600px){.rp-verify h1{font-size:27px}.rp-verify-code{width:100%}}

/* Página de QR: cabecera con icono corporativo */
.rp-channel-head{display:flex;align-items:center;gap:10px;margin:0 0 12px}
.rp-channel-head h2{margin:0;font-size:20px;line-height:1.2}
.rp-channel-ico{width:40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex:none}
.rp-channel-ico svg{width:22px;height:22px}
.rp-channel-ico-tg{background:#e7f5fb;color:#229ed9}
.rp-channel-ico-max{background:#e9ebff;color:#4b5bd6}
.rp-continue-note{margin:-4px 0 22px;font-size:14px;color:#4b5563;line-height:1.5}
.rp-channel .rp-hint{display:none}
.rp-channel .rp-link{display:inline-block;margin-top:10px;font-size:13px}

/* Home: acabado 9/10 */
.rp2-hero{padding:48px 0 42px}
.rp2-hero h1{max-width:11ch}
.rp2-lead{font-size:17px;max-width:46ch}
.rp2-trust{background:#f7f9fc;border-bottom:1px solid var(--line)}
.rp2-trust-row{display:flex;align-items:center;gap:14px 30px;flex-wrap:wrap;padding:14px 0}
.rp2-trust-item{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:#39434e}
.rp2-trust-item svg{color:#2557a7;flex:none}
.rp2-sectors{padding:22px 0;background:#fff}
.rp2-sector-row{display:flex;flex-wrap:wrap;gap:10px}
.rp2-sector{flex:1 1 0;min-width:175px;position:relative;padding:14px 38px 14px 16px;border:1px solid var(--line);border-radius:10px;background:#fff;transition:border-color .15s,box-shadow .15s,transform .15s}
.rp2-sector:hover{border-color:var(--blue);box-shadow:0 8px 22px rgba(20,45,90,.08);transform:translateY(-1px)}
.rp2-sector::after{content:"→";position:absolute;right:14px;top:14px;color:var(--blue);opacity:0;transform:translateX(-4px);transition:opacity .15s,transform .15s}
.rp2-sector:hover::after{opacity:1;transform:none}
.rp2-sector b{font-size:15px;margin-bottom:2px}
.rp2-sector:last-child{border-right:1px solid var(--line)}
.rp2-rows{border-top:0}
.rp2-row{padding:20px 0;align-items:center}
.rp2-row:hover{background:#f8fafc;padding-left:12px;padding-right:12px;border-radius:8px}
.rp2-row h3{font-size:18px}
.rp2-pay{font-size:19px}
@media(max-width:900px){.rp2-sector{flex:1 1 45%}}
@media(max-width:640px){
  .rp2-hero{padding:30px 0 26px}
  .rp2-hero h1{max-width:none;font-size:clamp(32px,9vw,42px)}
  .rp2-lead{font-size:16px}
  .rp2-trust-row{display:grid;grid-template-columns:1fr;gap:9px;padding:13px 0}
  .rp2-sector{flex:1 1 100%;min-width:0}
  .rp2-row:hover{padding-left:0;padding-right:0}
}

/* Home 9/10: direcciones con icono, filas con etiqueta */
.rp2-hero h1{max-width:13ch}
.rp2-hero-card{bottom:-14px;left:-18px;box-shadow:0 18px 42px rgba(15,35,70,.18);border-radius:12px}
.rp2-sector{display:flex;align-items:center;gap:12px;padding:14px 40px 14px 14px}
.rp2-sector-ico{width:40px;height:40px;border-radius:10px;background:#eef4ff;color:#2557a7;display:flex;align-items:center;justify-content:center;flex:none}
.rp2-sector-ico svg{width:22px;height:22px}
.rp2-sector-txt{min-width:0}
.rp2-sector-txt b{display:block;font-size:15px;margin-bottom:2px}
.rp2-sector-txt span{display:block;font-size:12px;color:var(--muted)}
.rp2-sector::after{opacity:.35;transform:none;top:50%;margin-top:-10px}
.rp2-sector:hover::after{opacity:1}
.rp2-meta-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:4px}
.rp2-sector-tag{display:inline-flex;align-items:center;padding:3px 9px;border-radius:999px;background:#eef4ff;color:#2557a7;font-size:11.5px;font-weight:600;letter-spacing:.01em}
.rp2-meta{font-size:13px;color:var(--muted)}
@media(max-width:640px){
  .rp2-hero h1{max-width:none}
  .rp2-hero-card{bottom:8px;left:10px}
  .rp2-sector{padding:12px 34px 12px 12px}
}

/* Móvil: más aire lateral en todas las páginas */
@media (max-width: 640px) {
  .rp-page, .rp-hero-in, .rp-block, .rp-cta, .rp-foot-in, .rp-board-top, .rp-top-in {
    padding-left: 22px;
    padding-right: 22px;
  }
  .rp2-wrap {
    padding-left: 22px;
    padding-right: 22px;
  }
}
.rp-district-city{background:#f7f9fc;border-color:#cfdbea}
.rp-namegrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.rp-label-note{font-weight:400;color:#7a8492;font-size:12px;margin-left:4px}
@media(max-width:640px){.rp-namegrid{grid-template-columns:1fr}}
.rp-citywide{background:#f7f9fc;border:1px solid #cfdbea;border-radius:12px;padding:16px 18px;margin:22px 0}
.rp-citywide h2{display:flex;justify-content:space-between;font-size:16px;margin:0 0 4px}
.rp-citywide h2 span{color:#2557a7;font-size:13px}
.rp-citywide p{margin:0 0 8px;font-size:13px;color:#5b6675}
.rp-citywide ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:0 18px}
.rp-citywide li{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px solid #e3e8ef;font-size:13px}
.rp-citywide li:last-child{border-bottom:0}
.rp-citywide li a{text-decoration:none}
.rp-citywide li em{font-style:normal;color:#5b6675;white-space:nowrap}

/* Franja de confianza: alineación móvil */
@media (max-width: 640px) {
  .rp2-trust-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 0;
  }
  .rp2-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    text-align: left;
    line-height: 1.35;
  }
  .rp2-trust-item svg {
    margin-top: 1px;
    flex: none;
  }
}

/* Móvil: franja de confianza como tarjeta con aire interno */
@media (max-width: 640px) {
  .rp2-trust {
    background: #fff;
    border-bottom: 0;
    padding: 8px 0 4px;
  }
  .rp2-trust-row {
    padding: 14px 16px;
    background: #f7f9fc;
    border: 1px solid var(--line);
    border-radius: 12px;
    gap: 10px;
  }
  .rp2-trust-item {
    gap: 9px;
  }
}

/* Franja de confianza: tres columnas alineadas en escritorio */
@media (min-width: 641px) {
  .rp2-trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 24px;
    align-items: center;
  }
  .rp2-trust-item {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
  }
}

/* Chat agencia ↔ candidato */
.rp-candidate-code{margin:0 0 10px;font-size:13px;color:#6b7785}
.rp-chat-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:22px 0 0;padding:14px 0;border-top:1px solid #dfe5ee}
.rp-chat-note{font-size:13px;color:#6b7785}
.rp-chat-modal{position:fixed;inset:0;z-index:10000;background:rgba(13,27,42,.55);display:flex;align-items:center;justify-content:center;padding:20px}
.rp-chat-modal[hidden]{display:none!important}
.rp-chat-box{position:relative;width:100%;max-width:560px;max-height:88vh;overflow:auto;background:#fff;border-radius:16px;padding:22px;box-shadow:0 24px 70px rgba(13,27,42,.28)}
.rp-chat-box h2{margin:0 0 6px;font-size:20px}
.rp-chat-hint{margin:0 0 14px;font-size:12.5px;color:#6b7785;line-height:1.45}
.rp-chat-close{position:absolute;top:10px;right:14px;border:0;background:none;font-size:26px;line-height:1;color:#6b7785;cursor:pointer}
.rp-chat-messages{max-height:300px;overflow-y:auto;background:#f7f9fc;border:1px solid #e3e8ef;border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:8px;margin-bottom:12px}
.rp-chat-msg{max-width:88%;padding:9px 11px;border-radius:12px;font-size:13.5px;line-height:1.45}
.rp-chat-msg.agency{align-self:flex-end;background:#2557a7;color:#fff;border-bottom-right-radius:4px}
.rp-chat-msg.candidate{align-self:flex-start;background:#fff;border:1px solid #e3e8ef;border-bottom-left-radius:4px}
.rp-chat-msg small{display:block;margin-top:4px;font-size:10px;opacity:.7}
.rp-chat-label{display:block;font-size:13px;font-weight:600;color:#263244}
.rp-chat-label textarea{width:100%;margin:6px 0 10px;border:1px solid #cfd8e3;border-radius:10px;padding:10px;font:inherit;font-size:14px;resize:vertical}
.rp-chat-status{display:inline-block;margin-left:10px;font-size:12.5px;color:#2557a7}
@media(max-width:600px){.rp-chat-box{padding:18px}.rp-chat-messages{max-height:240px}}

/* Respuesta del candidato */
.rp-otvet{max-width:760px}
.rp-otvet-thread{display:flex;flex-direction:column;gap:10px;margin:18px 0 22px}
.rp-otvet-msg{max-width:88%;padding:11px 13px;border-radius:13px;font-size:14px;line-height:1.5}
.rp-otvet-msg.agency{align-self:flex-start;background:#fff;border:1px solid #e3e8ef;border-bottom-left-radius:4px}
.rp-otvet-msg.candidate{align-self:flex-end;background:#eef4ff;border:1px solid #cfdfff;border-bottom-right-radius:4px}
.rp-otvet-msg small{display:block;margin-top:6px;font-size:11px;color:#6b7785}
.rp-otvet-form{max-width:560px;margin-top:18px}
.rp-chat-files{display:flex;flex-direction:column;gap:4px;margin-top:8px}
.rp-chat-files a,.rp-chat-file{font-size:12.5px;color:#2557a7;text-decoration:underline}
.rp-chat-file{display:block;margin-top:4px}

/* Página pública de respuesta del candidato */
.rp-otvet{max-width:840px;margin:0 auto;padding:34px 20px 60px}
.rp-otvet h1{font-size:clamp(28px,3.4vw,40px);line-height:1.12;margin:6px 0 10px;color:#17202b}
.rp-otvet .rp-lead{font-size:15px;color:#4b5665;margin:0 0 18px}
.rp-otvet-thread{display:flex;flex-direction:column;gap:10px;margin:0 0 22px;padding:16px;background:#f4f7fb;border:1px solid #dfe5ee;border-radius:16px;max-height:420px;overflow-y:auto;overscroll-behavior:contain;scroll-behavior:smooth}
.rp-otvet-msg{max-width:86%;padding:11px 14px;border-radius:14px;font-size:14px;line-height:1.55;box-shadow:0 1px 2px rgba(13,27,42,.04)}
.rp-otvet-msg.agency{align-self:flex-start;background:#fff;border:1px solid #e1e7ef;border-bottom-left-radius:5px}
.rp-otvet-msg.candidate{align-self:flex-end;background:#2557a7;color:#fff;border-bottom-right-radius:5px}
.rp-otvet-msg small{display:block;margin-top:6px;font-size:11px;color:#6b7785}
.rp-otvet-msg.candidate small{color:#d7e3f7}
.rp-otvet-form{background:#fff;border:1px solid #dfe5ee;border-radius:16px;padding:22px;box-shadow:0 8px 30px rgba(13,27,42,.06);max-width:none;margin:0}
.rp-otvet-form label{display:block;font-size:13px;font-weight:600;color:#263244;margin-bottom:12px}
.rp-otvet-form textarea{width:100%;margin-top:6px;border:1px solid #cfd8e3;border-radius:10px;padding:11px;font:inherit;font-size:14px;resize:vertical}
.rp-otvet-form input[type=file]{display:block;margin-top:6px;font-size:13px}
.rp-otvet-form .rp-btn{margin-top:4px}
@media(max-width:600px){.rp-otvet{padding:24px 16px 44px}.rp-otvet-form{padding:16px}.rp-otvet-msg{max-width:94%}.rp-otvet-thread{max-height:340px}}
