/* brand_id: 2f5c220a-502f-41ec-8444-9b1430ee145d
   RH360 la plataforma: hub /rh360/, precios, páginas de módulo y herramientas gratis (/herramientas/).
   Mismos tokens que landing.css (tinta #2D2C2C, dorado #E0AA30, Raleway). Sin dependencias. */
.rp {
  --ink: #2D2C2C; --ink-soft: #3C3B3A; --ink-deep: #222121; --gold: #E0AA30; --gold-hi: #EDC25E; --gold-soft: #FBF3DF;
  --paper: #FFFFFF; --mist: #F4F4F2; --line: #E2E1DD; --line-strong: #C9C8C3; --muted: #5F5E5A; --muted-ink: #CAC8C2;
  --gutter: clamp(20px, 4vw, 56px); --sec: clamp(64px, 8vw, 120px); --gap: clamp(28px, 5vw, 72px); --ease: cubic-bezier(.2, .7, .2, 1);
  color: var(--ink); font-family: var(--font-family);
}
.rp *, .rp *::before, .rp *::after { box-sizing: border-box; }
.rp h1, .rp h2, .rp h3 { color: inherit; font-weight: 700; margin: 0; letter-spacing: -.025em; line-height: 1.08; text-wrap: balance; }
.rp h1 { font-size: clamp(2.1rem, 1.3rem + 3.6vw, 4.2rem); }
.rp h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem); }
.rp h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -.01em; }
.rp p { margin: 0; }
.rp-shell { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.rp-sec { padding-block: var(--sec); }
.rp-sec--mist { background: var(--mist); }
.rp-sec--ink { background: var(--ink); color: var(--paper); }
.rp-kicker { display: inline-flex; align-items: center; gap: .55em; color: var(--muted); font-size: .9375rem; font-weight: 700; letter-spacing: .02em; margin-bottom: 1rem; }
.rp-kicker::before { content: ""; width: .7em; height: .7em; background: var(--gold); rotate: 45deg; border-radius: 2px; }
.rp-sec--ink .rp-kicker, .rp-hero .rp-kicker { color: var(--gold); }
.rp-lead { margin-top: 1.25rem; font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); line-height: 1.55; color: var(--muted); max-width: 56ch; }
.rp-sec--ink .rp-lead, .rp-hero .rp-lead { color: var(--muted-ink); }
.rp-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.rp-ico { width: 1em; height: 1em; flex: none; }

.rp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 24px; border: 0; border-radius: 12px; background: var(--gold); color: var(--ink); font: inherit; font-size: 1.0625rem; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background-color .2s, box-shadow .25s; }
.rp-btn:hover { background: var(--gold-hi); transform: translateY(-2px); box-shadow: 0 16px 28px -16px rgb(224 170 48 / .9); }
.rp-btn--ink { background: var(--ink); color: var(--paper); }
.rp-btn--ink:hover { background: var(--ink-deep); box-shadow: 0 16px 28px -16px rgb(45 44 44 / .8); }
.rp-btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px var(--line-strong); }
.rp-btn--ghost:hover { background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 2px currentColor; }
.rp-btn--block { width: 100%; }
.rp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.rp-note { margin-top: .9rem; font-size: .9375rem; color: var(--muted); }
.rp-hero .rp-note, .rp-sec--ink .rp-note { color: var(--muted-ink); }
.rp-link { color: inherit; font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.rp-link:hover { text-underline-offset: 2px; }

/* apertura */
.rp-hero { background: var(--ink); color: var(--paper); padding-block: clamp(36px, 5vw, 72px) clamp(56px, 7vw, 104px); overflow: clip; }
.rp-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--gap); align-items: center; }
.rp-hero h1 em { font-style: normal; color: var(--gold); }
.rp-crumbs { display: flex; flex-wrap: wrap; gap: .4em; margin: 0 0 1.25rem; padding: 0; list-style: none; font-size: .875rem; color: var(--muted-ink); }
.rp-crumbs li + li::before { content: "/"; margin-right: .4em; opacity: .6; }
.rp-crumbs a { color: inherit; }
.rp-price-tag { display: inline-flex; align-items: baseline; gap: .4em; margin-top: 1.5rem; padding: 10px 16px; border-radius: 999px; background: rgb(255 255 255 / .08); font-size: .9375rem; color: var(--muted-ink); }
.rp-price-tag b { color: var(--paper); font-size: 1.25rem; }

/* mosaico de módulos (apertura del hub) */
.rp-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.rp-tile { display: grid; gap: 8px; align-content: start; min-height: 104px; padding: 14px; border-radius: 14px; background: rgb(255 255 255 / .06); color: var(--paper); text-decoration: none; font-size: .9375rem; font-weight: 600; line-height: 1.25; transition: background-color .2s, transform .25s var(--ease); }
.rp-tile .rp-ico { width: 26px; height: 26px; color: var(--gold); }
.rp-tile:hover { background: rgb(224 170 48 / .18); transform: translateY(-3px); }
.rp-tile--core { background: var(--gold); color: var(--ink); }
.rp-tile--core .rp-ico { color: var(--ink); }
.rp-tile--core:hover { background: var(--gold-hi); }

/* tarjetas y rejillas */
.rp-grid { display: grid; gap: 16px; margin-top: clamp(32px, 4vw, 56px); }
.rp-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rp-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rp-card { position: relative; display: grid; gap: 10px; align-content: start; padding: clamp(20px, 2.4vw, 28px); border-radius: 18px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: inherit; text-decoration: none; }
a.rp-card { transition: box-shadow .2s, transform .25s var(--ease); }
a.rp-card:hover { box-shadow: inset 0 0 0 2px var(--ink); transform: translateY(-3px); }
.rp-card p { color: var(--muted); line-height: 1.5; }
.rp-card .rp-ico { width: 28px; height: 28px; color: var(--gold); }
.rp-card__price { font-size: .9375rem; font-weight: 700; color: var(--ink) !important; }
.rp-card__go { display: inline-flex; align-items: center; gap: .4em; margin-top: 4px; font-weight: 700; color: var(--ink) !important; }
.rp-sec--ink .rp-card { background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px var(--ink-soft); }
.rp-sec--ink .rp-card p { color: var(--muted-ink); }
.rp-sec--ink a.rp-card:hover { box-shadow: inset 0 0 0 2px var(--gold); }
.rp-sec--ink .rp-card__go, .rp-sec--ink .rp-card__price { color: var(--gold) !important; }
.rp-group { margin-top: clamp(32px, 4vw, 48px); }
.rp-group > h3 { font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rp-group .rp-grid { margin-top: 14px; }

/* problemas: de lo que duele al módulo */
.rp-problems { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; list-style: none; }
.rp-problems a { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.rp-problems q { quotes: "“" "”"; font-weight: 600; line-height: 1.4; }
.rp-problems small { grid-column: 1; color: var(--muted); font-size: .9375rem; }
.rp-problems .rp-ico { grid-row: 1 / 3; grid-column: 2; width: 18px; height: 18px; color: var(--gold); transition: translate .25s var(--ease); }
.rp-problems a:hover .rp-ico { translate: 4px 0; }

/* lista con palomita */
.rp-checks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rp-checks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; line-height: 1.45; }
.rp-checks li::before { content: ""; width: 14px; height: 8px; margin-top: .35em; border-left: 3px solid var(--gold); border-bottom: 3px solid var(--gold); rotate: -45deg; translate: 2px 0; }
.rp-checks--no li::before { width: 14px; height: 3px; margin-top: .6em; border: 0; background: var(--line-strong); rotate: 0deg; }

/* planes */
.rp-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(32px, 4vw, 56px); align-items: stretch; }
.rp-plan { display: flex; flex-direction: column; gap: 14px; padding: 26px 22px; border-radius: 20px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.rp-plan--hi { background: var(--ink); color: var(--paper); box-shadow: none; }
.rp-plan--hi .rp-plan__pitch, .rp-plan--hi .rp-plan__period { color: var(--muted-ink); }
.rp-plan__name { font-size: 1.125rem; font-weight: 700; }
.rp-plan__price { font-size: 2.6rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.rp-plan__price small { font-size: .9375rem; font-weight: 600; letter-spacing: 0; }
.rp-plan__period { font-size: .9375rem; color: var(--muted); }
.rp-plan__pitch { color: var(--muted); line-height: 1.45; }
.rp-plan .rp-checks { font-size: .9375rem; }
.rp-plan .rp-btn { margin-top: auto; }
.rp-plan__badge { align-self: start; padding: 4px 10px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: .8125rem; font-weight: 700; }

.rp-plans--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .rp-plans--3 { grid-template-columns: minmax(0, 1fr); } }
.rp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* tablas */
.rp-table-wrap { position: relative; margin-top: clamp(28px, 4vw, 48px); overflow-x: auto; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); background: var(--paper); }
.rp-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .9375rem; }
.rp-table th, .rp-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.45; }
.rp-table thead th { background: var(--mist); font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rp-table tbody tr:last-child td, .rp-table tbody tr:last-child th { border-bottom: 0; }
.rp-table th[scope=row] a { color: inherit; font-weight: 700; }
.rp-table td.num, .rp-table th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rp-table tfoot td { font-weight: 700; background: var(--gold-soft); }

/* comparativa gratis contra pago */
.rp-vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(28px, 4vw, 48px); }
.rp-vs__col { padding: 28px; border-radius: 20px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.rp-vs__col--paid { background: var(--ink); color: var(--paper); box-shadow: none; }
.rp-vs__who { margin: 6px 0 18px; color: var(--muted); }
.rp-vs__col--paid .rp-vs__who { color: var(--muted-ink); }
.rp-vs__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; padding-top: 16px; border-top: 2px solid currentColor; font-weight: 700; font-size: 1.25rem; }
.rp-lines { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: .9375rem; }
.rp-lines li { display: flex; justify-content: space-between; gap: 16px; }
.rp-lines li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* cotizador */
.rp-quote { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--gap); align-items: start; margin-top: clamp(28px, 4vw, 48px); }
.rp-quote__list { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; border: 0; }
.rp-quote__list label { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; font-weight: 600; }
.rp-quote__list label:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink); }
.rp-quote__list input { width: 18px; height: 18px; accent-color: var(--ink); }
.rp-quote__list span { margin-left: auto; color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.rp-quote__box { position: sticky; top: 96px; padding: 26px; border-radius: 20px; background: var(--ink); color: var(--paper); }
.rp-quote__total { margin: 6px 0; font-size: 2.6rem; font-weight: 700; letter-spacing: -.03em; }
.rp-quote__hint { color: var(--muted-ink); font-size: .9375rem; line-height: 1.45; min-height: 2.9em; }
html:not(.js) .rp-quote__box { display: none; }

/* módulo: antes y después */
.rp-shift { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 20px; align-items: stretch; margin-top: clamp(28px, 4vw, 48px); }
.rp-shift__side { padding: 28px; border-radius: 20px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); line-height: 1.5; font-size: 1.0625rem; }
.rp-shift__side--after { background: var(--gold-soft); box-shadow: inset 0 0 0 1px #F0DDA8; }
.rp-shift__side b { display: block; margin-bottom: 8px; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rp-shift__arrow { align-self: center; width: 32px; height: 32px; color: var(--gold); }

.rp-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--gap); align-items: start; }
.rp-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 0; padding: 0; list-style: none; }
.rp-feats li { padding: 16px 0; border-top: 2px solid var(--ink); font-weight: 600; line-height: 1.35; }

.rp-tool-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: clamp(24px, 3vw, 40px); border-radius: 24px; background: var(--gold); color: var(--ink); }
.rp-tool-cta p { margin-top: 8px; max-width: 60ch; line-height: 1.5; }

.rp-faq { max-width: 820px; margin-top: clamp(24px, 3vw, 40px); }
.rp-faq details { border-bottom: 1px solid var(--line); }
.rp-faq summary { padding: 20px 0; font-weight: 700; font-size: 1.0625rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.rp-faq summary::-webkit-details-marker { display: none; }
.rp-faq summary::after { content: "+"; color: var(--gold); font-size: 1.5rem; line-height: 1; }
.rp-faq details[open] summary::after { content: "–"; }
.rp-faq details p { padding-bottom: 20px; color: var(--muted); line-height: 1.6; }

.rp-steps3 { counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; list-style: none; }
.rp-steps3 li { counter-increment: s; padding: 26px; border-radius: 20px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px var(--ink-soft); }
.rp-steps3 li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 14px; border-radius: 10px; background: var(--gold); color: var(--ink); font-weight: 700; }
.rp-steps3 p { margin-top: 8px; color: var(--muted-ink); line-height: 1.5; }

@media (max-width: 1080px) {
  .rp-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .rp-hero__grid, .rp-split, .rp-quote, .rp-vs { grid-template-columns: minmax(0, 1fr); }
  .rp-grid--3, .rp-problems, .rp-steps3 { grid-template-columns: minmax(0, 1fr); }
  .rp-shift { grid-template-columns: minmax(0, 1fr); }
  .rp-shift__arrow { rotate: 90deg; justify-self: center; }
  .rp-tool-cta { grid-template-columns: minmax(0, 1fr); }
  .rp-quote__box { position: static; }
}
@media (max-width: 560px) {
  .rp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp-plans, .rp-grid--2, .rp-grid--4, .rp-feats, .rp-quote__list { grid-template-columns: minmax(0, 1fr); }
  .rp-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .rp *, .rp *::before { transition: none !important; } }
