/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --bg:         #FAF8F4;
  --bg-alt:     #F1EEE7;
  --navy:       #0E2A3D;
  --blue:       #2F7FE0;
  --blue-h:     #1F5FBF;
  --gold:       #C98A2C;
  --blue-tint:  #E3EDFB;
  --blue-tint-c:#1F5FBF;
  --gold-tint:  #FBF3E4;
  --gold-tint-c:#9A6A1E;
  --text:       #14202B;
  --text-2:     #3E4C56;
  --text-3:     #4B5A64;
  --text-4:     #5B6B76;
  --muted:      #8A97A0;
  --border:     #E4DFD6;
  --red:        #D8483F;
  --yellow:     #F2C744;
  --font-h:     'Lora', serif;
  --font-b:     'Plus Jakarta Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-b); background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: var(--blue); }
a:hover { color: var(--blue-h); }
::selection { background: var(--blue); color: #fff; }

.rd-c { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ── NAV ─────────────────────────────────────────────────── */
.rd-nav {
  position: sticky; top: 0; z-index: 500;
  background: rgba(250,248,244,0.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.rd-nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.rd-nav-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-h); font-weight: 600; font-size: 20px; color: var(--navy); }
.rd-nav-logo { height: 45px; width: auto; }
.rd-nav-links { display: flex; align-items: center; gap: 32px; }
.rd-nav-links a { color: var(--text-2); font-size: 15px; font-weight: 500; }
.rd-nav-links a:hover { color: var(--blue); }
.rd-btn-primary {
  display: inline-block; background: var(--blue); color: #fff; padding: 11px 22px;
  border-radius: 8px; font-size: 15px; font-weight: 700; white-space: nowrap;
}
.rd-btn-primary:hover { background: var(--blue-h); color: #fff; }
.rd-nav-mobile-toggle { display: none; }

/* ── HERO ────────────────────────────────────────────────── */
.rd-hero {
  max-width: 1200px; margin: 0 auto; padding: 76px 32px 40px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
}
.rd-hero-tag {
  display: inline-flex; align-items: center; gap: 8px; background: var(--blue-tint); color: var(--blue-tint-c);
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .02em; margin-bottom: 22px;
}
.rd-hero-h1 { font-family: var(--font-h); font-size: clamp(2.1rem, 4vw, 3.25rem); line-height: 1.14; font-weight: 600; color: var(--navy); margin: 0 0 22px; }
.rd-hero-h1 .accent { color: var(--blue); }
.rd-hero-h1 .gold { color: var(--gold); }
.rd-hero-p { font-size: 18px; line-height: 1.6; color: var(--text-3); margin: 0 0 32px; max-width: 520px; }
.rd-hero-actions { display: flex; align-items: center; gap: 16px; margin-bottom: 36px; flex-wrap: wrap; }
.rd-btn-hero {
  background: var(--blue); color: #fff; padding: 16px 28px; border-radius: 10px; font-size: 16px; font-weight: 700;
  box-shadow: 0 8px 20px -6px rgba(47,127,224,0.45);
}
.rd-btn-hero:hover { background: var(--blue-h); color: #fff; }
.rd-link-secondary { color: var(--navy); padding: 16px 8px; font-size: 16px; font-weight: 600; border-bottom: 2px solid var(--navy); }
.rd-link-secondary:hover { color: var(--blue); border-color: var(--blue); }
.rd-proof { display: flex; align-items: center; gap: 14px; }
.rd-proof-avatars { display: flex; }
.rd-proof-avatars span {
  width: 38px; height: 38px; border-radius: 50%; border: 2.5px solid var(--bg); margin-left: -10px;
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700;
}
.rd-proof-avatars span:first-child { margin-left: 0; }
.rd-proof-stars { color: var(--gold); font-size: 14px; letter-spacing: 1px; }
.rd-proof-text { font-size: 13.5px; color: var(--text-4); }
.rd-proof-text strong { color: var(--navy); }

.rd-sync { display: flex; flex-direction: column; gap: 14px; }
.rd-sync-card {
  background: #fff; border: 2px solid var(--border); box-shadow: 0 20px 40px -24px rgba(14,42,61,0.25);
  border-radius: 16px; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.rd-sync-card.brand-red { border-color: var(--red); }
.rd-sync-card.brand-yellow { border-color: var(--yellow); }
.rd-sync-card-left { display: flex; align-items: center; gap: 12px; }
.rd-sync-icon { width: 38px; height: 38px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.rd-sync-icon img { width: 100%; height: 100%; object-fit: contain; }
.rd-sync-name { font-weight: 700; font-size: 16px; color: var(--navy); }
.rd-sync-url { font-size: 13px; color: var(--muted); }
.rd-live { font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; white-space: nowrap; background: var(--blue-tint); color: var(--blue-tint-c); }
.rd-sync-label { display: flex; justify-content: center; color: var(--muted); font-size: 12.5px; font-weight: 600; letter-spacing: .04em; }
.rd-hero-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 14px; }
.rd-hero-stat { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 14px 10px; text-align: center; }
.rd-hero-stat-val { font-family: var(--font-h); font-size: 22px; font-weight: 600; color: var(--blue); }
.rd-hero-stat-label { font-size: 11.5px; color: var(--text-4); margin-top: 2px; }

/* ── SECTION SHELL ──────────────────────────────────────── */
.rd-section { max-width: 1200px; margin: 0 auto; padding: 96px 32px; }
.rd-section-dark { background: var(--navy); }
.rd-section-alt { background: var(--bg-alt); }
.rd-eyebrow { font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; color: var(--blue); }
.rd-eyebrow.gold { color: var(--gold); }
.rd-h2 { font-family: var(--font-h); font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 600; color: var(--navy); margin: 0; }
.rd-h2.on-dark { color: #fff; }
.rd-p { color: var(--text-4); font-size: 16px; margin: 14px 0 0; }
.rd-p.on-dark { color: #A9C2CE; }
.rd-head-center { text-align: center; max-width: 640px; margin: 0 auto 56px; }

/* ── HOW IT WORKS ───────────────────────────────────────── */
.rd-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.rd-step { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 32px 26px; }
.rd-step-num { font-family: var(--font-h); font-size: 34px; font-weight: 600; color: var(--border); margin-bottom: 14px; }
.rd-step-title { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.rd-step-desc { font-size: 15px; line-height: 1.6; color: var(--text-4); }

/* ── BENEFITS ───────────────────────────────────────────── */
.rd-benefits { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.rd-benefit { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; padding: 26px 22px; }
.rd-benefit-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--blue); margin-bottom: 18px; display: flex; align-items: center; justify-content: center; }
.rd-benefit-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.rd-benefit-desc { font-size: 14px; line-height: 1.6; color: #A9C2CE; }

/* ── INTEGRACIONES ──────────────────────────────────────── */
.rd-wasi { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.rd-wasi-points { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.rd-wasi-point { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--text-2); }
.rd-wasi-check { width: 18px; height: 18px; border-radius: 50%; background: var(--blue-tint); color: var(--blue-tint-c); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; flex-shrink: 0; }
.rd-wasi-badge { margin-top: 22px; display: inline-block; background: var(--gold-tint); color: var(--gold-tint-c); font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 8px; }
.rd-wasi-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 28px; box-shadow: 0 24px 48px -28px rgba(14,42,61,0.2); }
.rd-wasi-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.rd-wasi-card-icon { width: 30px; height: 30px; border-radius: 8px; background: var(--navy); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 14px; flex-shrink: 0; overflow: hidden; }
.rd-wasi-card-icon img { width: 100%; height: 100%; object-fit: contain; }
.rd-wasi-listing { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: var(--bg); border-radius: 10px; font-size: 14px; color: var(--text-2); margin-bottom: 10px; }
.rd-wasi-listing:last-of-type { margin-bottom: 0; }
.rd-wasi-more { text-align: center; font-size: 13px; color: var(--muted); padding-top: 12px; }
.rd-feed-bar {
  max-width: 1200px; margin: -40px auto 0; padding: 0 32px 96px;
}
.rd-feed-bar-inner {
  background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 28px 32px;
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.rd-feed-title { font-size: 14px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.rd-feed-desc { font-size: 14px; color: var(--text-4); flex: 1; min-width: 220px; }
.rd-feed-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.rd-feed-chip { display: flex; align-items: center; gap: 8px; background: var(--bg-alt); border-radius: 10px; padding: 10px 16px; }
.rd-feed-chip-dot { width: 8px; height: 8px; border-radius: 2px; background: var(--blue); }
.rd-feed-chip span { font-size: 13.5px; font-weight: 700; color: var(--navy); }

/* ── PORTALES ───────────────────────────────────────────── */
.rd-portals { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.rd-portal { background: #fff; border: 2px solid var(--border); border-radius: 18px; padding: 32px; }
.rd-portal.brand-red { border-color: var(--red); }
.rd-portal.brand-yellow { border-color: var(--yellow); }
.rd-portal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.rd-portal-id { display: flex; align-items: center; gap: 12px; }
.rd-portal-icon { width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.rd-portal-icon img { width: 100%; height: 100%; object-fit: contain; }
.rd-portal-name { font-weight: 700; font-size: 19px; color: var(--navy); }
.rd-portal-url { font-size: 13px; color: var(--muted); }
.rd-portal-desc { font-size: 14.5px; line-height: 1.6; margin: 0 0 22px; color: var(--text-4); }
.rd-portal-link { display: inline-block; font-weight: 700; font-size: 14.5px; }

/* ── TESTIMONIOS ────────────────────────────────────────── */
.rd-testimonials { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.rd-testi { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.rd-testi-stars { color: var(--gold); font-size: 14px; margin-bottom: 16px; }
.rd-testi-quote { font-size: 14.5px; line-height: 1.65; color: var(--text-2); margin: 0 0 22px; }
.rd-testi-author { display: flex; align-items: center; gap: 12px; }
.rd-testi-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.rd-testi-name { font-size: 14px; font-weight: 700; color: var(--navy); }
.rd-testi-role { font-size: 12.5px; color: var(--muted); }

/* ── COBERTURA ──────────────────────────────────────────── */
.rd-coverage { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; padding: 56px 32px; }
.rd-coverage-stats { display: flex; gap: 34px; margin-top: 20px; }
.rd-coverage-stat-val { font-family: var(--font-h); font-size: 24px; font-weight: 600; color: #fff; }
.rd-coverage-stat-label { font-size: 12.5px; color: #8FA3AF; }
.rd-coverage-chips { display: flex; flex-wrap: wrap; gap: 10px; max-width: 380px; margin-left: auto; }
.rd-coverage-chip { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); color: #E7EFF1; font-size: 13.5px; font-weight: 600; padding: 9px 16px; border-radius: 999px; }

/* ── FAQ ────────────────────────────────────────────────── */
.rd-faq-wrap { max-width: 800px; margin: 0 auto; padding: 96px 32px; }
.rd-faq-list { display: flex; flex-direction: column; gap: 12px; }
.rd-faq-item { background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.rd-faq-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer; background: none; border: none; text-align: left;
}
.rd-faq-q { font-size: 15.5px; font-weight: 700; color: var(--navy); }
.rd-faq-icon { font-size: 20px; color: var(--blue); font-weight: 400; flex-shrink: 0; margin-left: 16px; }
.rd-faq-body { display: none; padding: 0 24px 22px; font-size: 14.5px; line-height: 1.65; color: var(--text-4); }
.rd-faq-item.open .rd-faq-body { display: block; }

/* ── PRICING ────────────────────────────────────────────── */
.rd-pricing-wrap { padding: 96px 32px; }
.rd-pricing-inner { max-width: 1240px; margin: 0 auto; }
.rd-pricing-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
.rd-price-card {
  background: #fff; border-radius: 16px; padding: 26px 20px; display: flex; flex-direction: column;
  position: relative; border: 2px solid var(--border);
}
.rd-price-card.popular { border-color: var(--blue); }
.rd-price-popular {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff;
  font-size: 11px; font-weight: 800; padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.rd-price-name { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.rd-price-tagline { font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.rd-price-amount { display: flex; align-items: baseline; gap: 4px; margin-bottom: 20px; }
.rd-price-num { font-family: var(--font-h); font-size: 32px; font-weight: 600; color: var(--navy); }
.rd-price-per { font-size: 13px; color: var(--muted); }
.rd-price-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; flex: 1; }
.rd-price-feature { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-2); line-height: 1.4; }
.rd-price-feature span { color: var(--blue); font-weight: 800; flex-shrink: 0; }
.rd-price-cta { text-align: center; padding: 12px; border-radius: 9px; font-size: 14px; font-weight: 700; background: var(--bg-alt); color: var(--navy); }
.rd-price-cta:hover { color: var(--navy); opacity: .85; }
.rd-price-cta.popular { background: var(--blue); color: #fff; }
.rd-price-cta.popular:hover { color: #fff; background: var(--blue-h); }

/* ── CTA FINAL ──────────────────────────────────────────── */
.rd-final { background: var(--navy); padding: 100px 32px; text-align: center; }
.rd-final-inner { max-width: 640px; margin: 0 auto; }
.rd-final-h2 { font-family: var(--font-h); font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 600; color: #fff; margin: 0 0 18px; line-height: 1.2; }
.rd-final-p { font-size: 16.5px; color: #A9C2CE; margin: 0 0 34px; line-height: 1.6; }
.rd-final-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.rd-final-sub { font-size: 13.5px; color: #7A8D97; margin-bottom: 14px; }
.rd-final-contact { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; font-size: 14px; }
.rd-final-contact a { color: #B7CBD3; }
.rd-final-contact a.wa { color: #8CC0FA; }

/* ── FOOTER ─────────────────────────────────────────────── */
.rd-footer { padding: 36px 32px; text-align: center; }
.rd-footer-links { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 16px; font-size: 13.5px; }
.rd-footer-links a { color: var(--text-4); }
.rd-footer-copy { font-size: 12.5px; color: var(--muted); }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .rd-hero { grid-template-columns: 1fr; }
  .rd-sync { max-width: 480px; }
  .rd-steps { grid-template-columns: 1fr; }
  .rd-benefits { grid-template-columns: repeat(2,1fr); }
  .rd-wasi { grid-template-columns: 1fr; }
  .rd-portals { grid-template-columns: 1fr; }
  .rd-testimonials { grid-template-columns: 1fr; }
  .rd-coverage { grid-template-columns: 1fr; }
  .rd-pricing-grid { grid-template-columns: repeat(3,1fr); }
  .rd-nav-links { display: none; }
}
@media (max-width: 640px) {
  .rd-c, .rd-section, .rd-nav-inner, .rd-hero { padding-left: 20px; padding-right: 20px; }
  .rd-benefits { grid-template-columns: 1fr; }
  .rd-hero-stats { grid-template-columns: repeat(2,1fr); }
  .rd-pricing-grid { grid-template-columns: 1fr 1fr; }
  .rd-price-card:last-child { grid-column: span 2; }
  .rd-feed-bar-inner { flex-direction: column; align-items: flex-start; }
}
