.rl-app,
.rl-app * { box-sizing: border-box; }
.rl-app {
  --rl-navy: #172f68; --rl-dark: #1b3d82; --rl-primary: #2858c7;
  --rl-cta: #2e61d5; --rl-hover: #3573e3; --rl-hover-soft: #6d9bed;
  --rl-light: #edf3fc; --rl-bg: #edf3fc; --rl-border: #d5e0ef;
  --rl-text: #17243b; --rl-muted: #617189;
  color: var(--rl-text); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5; margin-inline: auto; max-width: 1240px; scroll-behavior: smooth;
  scroll-margin-top: 120px; width: calc(100% - 32px);
}
.rl-app button, .rl-app input, .rl-app textarea { font: inherit; }
.rl-app button { cursor: pointer; }
.rl-app h2 { color: var(--rl-navy) !important; font-size: clamp(1.58rem, 2.2vw, 2.05rem); font-weight: 700 !important; letter-spacing: -.035em; line-height: 1.12; margin: 0; }
.rl-app h3 { color: var(--rl-navy) !important; font-weight: 600 !important; }
.rl-eyebrow { color: var(--rl-primary) !important; font-size: .69rem !important; font-weight: 700 !important; letter-spacing: .14em !important; margin: 0 0 8px !important; text-transform: uppercase; }

/* Portada */
.rl-intro { background: #fff; border: 1px solid var(--rl-border); border-radius: 26px; display: grid; grid-template-columns: minmax(0, 48%) minmax(0, 52%); min-height: 490px; overflow: hidden; }
.rl-intro-media { min-height: 490px; overflow: hidden; position: relative; }
.rl-intro-media::after { background: linear-gradient(180deg, transparent 55%, rgba(23, 47, 104, .46)); content: ""; inset: 0; position: absolute; }
.rl-intro-media img { display: block; height: 100%; object-fit: cover; object-position: center; width: 100%; }
.rl-intro-media > span { background: var(--rl-primary); bottom: 28px; clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%); color: #fff; font-size: .9rem; font-weight: 700; left: 28px; padding: 14px 35px 14px 18px; position: absolute; z-index: 1; }
.rl-intro-content { align-self: center; padding: 30px clamp(27px, 3.5vw, 45px); }
.rl-intro-content > p:not(.rl-eyebrow) { color: var(--rl-muted); font-size: .97rem; margin: 15px 0 22px; max-width: 590px; }
.rl-entry-grid { display: grid; gap: 9px; }
.rl-entry, .rl-family-card { appearance: none; background: #fff !important; border: 1px solid var(--rl-border) !important; color: var(--rl-text) !important; text-align: left; }
.rl-entry { align-items: center; border-radius: 14px !important; box-shadow: none !important; display: grid; gap: 12px; grid-template-columns: 42px 1fr 18px; min-height: 72px; padding: 10px 13px; transition: background .25s, border-color .25s, box-shadow .25s, transform .25s; }
.rl-entry::before, .rl-entry::after { display: none !important; }
.rl-entry:hover, .rl-entry:focus-visible { background: var(--rl-light) !important; border-color: var(--rl-hover-soft) !important; box-shadow: 0 8px 20px color-mix(in srgb, var(--rl-primary) 12%, transparent) !important; outline: 0; transform: translateY(-1px); }
.rl-entry-icon, .rl-icon, .rl-option-icon { align-items: center; background: var(--rl-light); border-radius: 12px; color: var(--rl-primary); display: flex; justify-content: center; }
.rl-entry-icon { height: 42px; width: 42px; }
.rl-entry-icon svg { height: 22px; width: 22px; }
.rl-entry strong, .rl-family-card strong, .rl-option strong { color: var(--rl-navy) !important; display: block; font-size: .96rem; font-weight: 600; }
.rl-entry small, .rl-family-card small, .rl-option small { color: var(--rl-muted) !important; display: block; font-size: .78rem; margin-top: 2px; }
.rl-entry > i, .rl-arrow, .rl-option > i { color: var(--rl-primary); font-size: 1.05rem; font-style: normal; transition: transform .2s; }
.rl-entry:hover > i, .rl-family-card:hover .rl-arrow, .rl-option:hover > i { transform: translateX(4px); }

/* Catálogo reutilizado en página y panel */
.rl-catalog { padding: 58px 0 18px; }
.rl-section-head { align-items: end; display: flex; gap: 24px; justify-content: space-between; margin-bottom: 20px; }
.rl-section-head > p, .rl-search-message { color: var(--rl-muted); }
.rl-section-head > p { font-size: .92rem; margin: 0; max-width: 380px; }
.rl-search { align-items: center; background: #fff; border: 1px solid var(--rl-border); border-radius: 14px; color: var(--rl-text); display: flex; margin-bottom: 9px; min-height: 52px; padding: 0 13px; transition: border-color .2s, box-shadow .2s; }
.rl-search:focus-within { border-color: var(--rl-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--rl-primary) 12%, transparent); }
.rl-search > span { color: var(--rl-primary); font-size: 1.25rem; }
.rl-search input { background: transparent; border: 0 !important; box-shadow: none !important; color: var(--rl-dark); flex: 1; font-size: .94rem; min-width: 0; outline: 0 !important; padding: 13px; }
.rl-search-clear { background: transparent; border: 0; color: var(--rl-dark); font-size: 1.35rem; height: 36px; width: 36px; }
.rl-search-clear[hidden], .rl-load-more[hidden] { display: none !important; }
.rl-search-message { font-size: .82rem; min-height: 23px; }
.rl-search-message strong { color: var(--rl-dark); }
.rl-grid { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rl-family-card { border-radius: 16px; display: grid; gap: 12px; grid-template-columns: 46px 1fr 18px; min-height: 112px; overflow: hidden; padding: 16px; position: relative; transition: background .28s, border-color .28s, box-shadow .28s, transform .28s; }
.rl-family-card::after { background: var(--rl-primary); bottom: 0; content: ""; height: 3px; left: 0; position: absolute; transform: scaleX(0); transform-origin: left; transition: transform .32s; width: 100%; }
.rl-family-card:hover, .rl-family-card:focus-visible { background: var(--rl-light) !important; border-color: var(--rl-hover-soft) !important; box-shadow: 0 11px 26px color-mix(in srgb, var(--rl-primary) 12%, transparent); outline: 0; transform: translateY(-3px); }
.rl-family-card:hover::after, .rl-family-card:focus-visible::after { transform: scaleX(1); }
.rl-family-card.is-new { animation: rl-new 1.8s ease; }
.rl-icon { height: 46px; width: 46px; }
.rl-icon svg, .rl-option-icon svg { height: 24px; width: 24px; }
.rl-card-copy { min-width: 0; }
.rl-family-card em { color: var(--rl-primary); display: block; font-size: .7rem; font-style: normal; font-weight: 600; margin-top: 6px; }
.rl-card-photo { background-position: center; background-size: cover; grid-column: 1 / -1; height: 78px; margin: -16px -16px 3px; }
.rl-load-more { align-items: center; background: linear-gradient(135deg, var(--rl-cta), var(--rl-primary)) !important; border: 0; border-radius: 999px; box-shadow: 0 11px 24px color-mix(in srgb, var(--rl-primary) 22%, transparent); color: #fff !important; display: flex; gap: 16px; justify-content: space-between; margin: 22px auto 0; min-width: 220px; padding: 8px 10px 8px 18px; transition: background .25s, box-shadow .25s, transform .25s; }
.rl-load-more:hover, .rl-load-more:focus-visible { background: linear-gradient(135deg, var(--rl-hover), var(--rl-cta)) !important; box-shadow: 0 15px 30px color-mix(in srgb, var(--rl-primary) 30%, transparent); outline: 2px solid var(--rl-light); outline-offset: 3px; transform: translateY(-2px); }
.rl-load-more span { text-align: left; }
.rl-load-more strong, .rl-load-more small { display: block; }
.rl-load-more strong { font-size: .86rem; }
.rl-load-more small { font-size: .66rem; opacity: .8; }
.rl-load-more i { align-items: center; background: rgba(255, 255, 255, .16); border-radius: 50%; display: flex; font-style: normal; height: 34px; justify-content: center; width: 34px; }

/* Panel guiado */
.rl-overlay { align-items: center; background: rgba(23, 47, 104, .42); display: flex; inset: 0; justify-content: center; padding: 22px; position: fixed; z-index: 999999; }
.rl-overlay[hidden] { display: none !important; }
.rl-dialog { background: #fff; border: 1px solid rgba(255, 255, 255, .55); border-radius: 24px; box-shadow: 0 28px 80px rgba(23, 47, 104, .26); display: flex; flex-direction: column; height: min(790px, calc(100vh - 44px)); max-width: 980px; overflow: hidden; width: 100%; }
.rl-dialog-header { align-items: center; border-bottom: 1px solid var(--rl-border); display: grid; gap: 16px; grid-template-columns: 44px 1fr 44px; padding: 16px 21px; }
.rl-dialog-header > div { text-align: center; }
.rl-dialog-header h2 { font-size: 1.22rem; letter-spacing: -.02em; }
.rl-dialog-header .rl-eyebrow { margin-bottom: 1px !important; }
.rl-circle { align-items: center; background: #fff !important; border: 1px solid var(--rl-border) !important; border-radius: 50%; color: var(--rl-navy) !important; display: flex; font-size: 1.15rem; height: 44px; justify-content: center; transition: background .2s, border-color .2s, color .2s; width: 44px; }
.rl-circle:hover, .rl-circle:focus-visible { background: var(--rl-navy) !important; border-color: var(--rl-navy) !important; color: #fff !important; outline: 3px solid var(--rl-light); }
.rl-progress { padding: 14px 25px 7px; }
.rl-progress-labels { display: flex; justify-content: space-between; }
.rl-progress-labels span { color: #8496a3; font-size: .7rem; font-weight: 600; transition: color .3s; }
.rl-progress-labels span.is-active { color: var(--rl-primary); }
.rl-progress-labels span.is-current { color: var(--rl-navy); font-weight: 700; }
.rl-progress-track { background: var(--rl-bg); border-radius: 999px; height: 5px; margin-top: 8px; overflow: hidden; }
.rl-progress-track i { background: linear-gradient(90deg, var(--rl-navy), var(--rl-primary), var(--rl-hover-soft)); border-radius: inherit; display: block; height: 100%; transition: width .38s cubic-bezier(.2, .8, .2, 1); width: 10%; }
.rl-dialog-body { flex: 1; overflow: auto; outline: 0; padding: 24px clamp(22px, 4vw, 52px); }
.rl-step-head { margin: 0 auto 22px; max-width: 700px; text-align: center; }
.rl-step-head h2 { font-size: clamp(1.5rem, 2.5vw, 2.05rem); }
.rl-step-head > p:not(.rl-eyebrow) { color: var(--rl-muted); font-size: .92rem; margin: 9px auto 0; }
.rl-family-hero { border-radius: 16px; height: 160px; margin: 0 0 23px; overflow: hidden; }
.rl-family-hero img { height: 100%; object-fit: cover; width: 100%; }
.rl-option-list { display: grid; gap: 9px; margin: 0 auto 18px; max-width: 740px; }
.rl-option { align-items: center; background: #fff !important; border: 1px solid var(--rl-border) !important; border-radius: 15px; color: var(--rl-text) !important; cursor: pointer; display: grid; gap: 13px; grid-template-columns: 46px 1fr 20px; min-height: 70px; padding: 11px 15px; position: relative; transition: background .22s, border-color .22s, transform .22s; }
.rl-option:hover, .rl-option:has(input:checked) { background: var(--rl-light) !important; border-color: var(--rl-hover-soft) !important; }
.rl-option:hover { transform: translateY(-1px); }
.rl-option input { inset: 0; opacity: 0; position: absolute; }
.rl-option:has(input:checked) { box-shadow: 0 0 0 2px color-mix(in srgb, var(--rl-primary) 12%, transparent); }
.rl-option:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--rl-primary) 28%, transparent); outline-offset: 2px; }
.rl-option-icon { height: 46px; width: 46px; }
.rl-choice-grid { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); margin: 0 auto 20px; max-width: 810px; }
.rl-choice-grid .rl-option { grid-template-columns: 42px 1fr 18px; min-height: 82px; }
.rl-choice-grid.rl-two { grid-template-columns: repeat(2, 1fr); max-width: none; }
.rl-field { display: flex; flex-direction: column; gap: 6px; }
.rl-field.rl-full { margin: 0 auto; max-width: 740px; }
.rl-field > span, .rl-contact-method legend { color: var(--rl-dark); font-size: .86rem; font-weight: 600; }
.rl-field b { color: var(--rl-primary); }
.rl-field small { color: var(--rl-muted); font-weight: 400; }
.rl-field input, .rl-field textarea { background: #fff; border: 1px solid var(--rl-border); border-radius: 12px; color: var(--rl-text); outline: 0; padding: 11px 13px; transition: border-color .2s, box-shadow .2s; width: 100%; }
.rl-field input:focus, .rl-field textarea:focus { border-color: var(--rl-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--rl-primary) 11%, transparent); }
.rl-field.has-error input, .rl-field.has-error textarea, .has-error.rl-choice-grid, .has-error.rl-option-list, .rl-contact-method.has-error .rl-choice-grid { border-color: var(--rl-primary); }
.rl-error { color: var(--rl-dark); font-size: .74rem; font-style: normal; min-height: 16px; }
.rl-form-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); margin: 0 auto; max-width: 740px; }
.rl-contact-method { border: 0; margin: 21px auto 0; max-width: 740px; padding: 0; }
.rl-contact-method legend { margin-bottom: 8px; }
.rl-summary { display: grid; gap: 11px; margin: 0 auto 20px; max-width: 740px; }
.rl-summary section { background: var(--rl-bg); border: 1px solid var(--rl-border); border-radius: 14px; padding: 15px 18px; }
.rl-summary p { color: var(--rl-primary); font-size: .68rem; font-weight: 700; letter-spacing: .1em; margin: 0 0 4px; text-transform: uppercase; }
.rl-summary h3 { font-size: 1rem; margin: 0; }
.rl-summary span, .rl-summary small { color: var(--rl-muted); display: block; font-size: .84rem; margin-top: 3px; }
.rl-consent { align-items: flex-start; cursor: pointer; display: flex; font-size: .86rem; gap: 9px; margin: 0 auto; max-width: 740px; }
.rl-consent input { accent-color: var(--rl-primary); height: 17px; margin-top: 2px; width: 17px; }
.rl-consent.has-error { color: var(--rl-dark); font-weight: 600; }
.rl-dialog-footer { align-items: center; background: #fff; border-top: 1px solid var(--rl-border); display: flex; gap: 18px; justify-content: flex-end; min-height: 72px; padding: 11px 21px; }
.rl-dialog-footer[hidden] { display: none !important; }
.rl-step-note { color: var(--rl-dark); font-size: .79rem; margin: 0 auto 0 0; }
.rl-primary, .rl-secondary { border-radius: 999px; font-weight: 600; min-height: 46px; padding: 10px 20px; }
.rl-primary { background: linear-gradient(135deg, var(--rl-cta), var(--rl-primary)) !important; border: 0; color: #fff !important; min-width: 180px; }
.rl-primary:hover, .rl-primary:focus-visible { background: linear-gradient(135deg, var(--rl-hover), var(--rl-cta)) !important; box-shadow: 0 10px 25px color-mix(in srgb, var(--rl-primary) 28%, transparent); outline: 3px solid var(--rl-light); }
.rl-primary:disabled { cursor: wait; opacity: .65; }
.rl-secondary { background: #fff; border: 1px solid var(--rl-primary); color: var(--rl-dark); }
.rl-success { align-items: center; display: flex; flex-direction: column; justify-content: center; min-height: 100%; text-align: center; }
.rl-success > span { align-items: center; background: var(--rl-light); border-radius: 50%; color: var(--rl-primary); display: flex; font-size: 1.8rem; height: 68px; justify-content: center; margin-bottom: 18px; width: 68px; }
.rl-success h2 { margin-bottom: 8px; }
.rl-success p:not(.rl-eyebrow) { color: var(--rl-muted); max-width: 530px; }
.rl-success > strong { background: var(--rl-light); border-radius: 999px; color: var(--rl-dark); letter-spacing: .08em; margin: 12px 0 22px; padding: 8px 14px; }
.rl-modal-catalog { margin: 0 auto; max-width: 850px; }
.rl-honeypot { left: -10000px; position: absolute; }
.rl-lock { overflow: hidden; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute !important; width: 1px; word-wrap: normal !important; }

@keyframes rl-new { 0% { background: var(--rl-light); box-shadow: 0 0 0 3px var(--rl-hover-soft); opacity: .45; transform: translateY(8px); } 35% { opacity: 1; transform: translateY(0); } 100% { background: #fff; box-shadow: none; } }

@media (max-width: 1050px) {
  .rl-app { max-width: 960px; }
  .rl-intro { grid-template-columns: 43% 57%; min-height: 470px; }
  .rl-intro-media { min-height: 470px; }
  .rl-intro-content { padding: 27px; }
  .rl-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .rl-intro { grid-template-columns: 1fr; min-height: 0; }
  .rl-intro-media { height: 260px; min-height: 0; }
  .rl-intro-content { padding: 24px; }
  .rl-choice-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Móvil: portada breve y navegación de aplicación en una sola pantalla. */
@media (max-width: 680px) {
  .rl-app { width: calc(100% - 60px); }
  .rl-intro { border-radius: 18px; }
  .rl-intro-media { height: 180px; }
  .rl-intro-media > span { bottom: 12px; font-size: .7rem; left: 12px; padding: 8px 23px 8px 12px; }
  .rl-intro-content { padding: 18px 16px 20px; }
  .rl-app h2 { font-size: 1.42rem; }
  .rl-intro-content > p:not(.rl-eyebrow) { font-size: .84rem; line-height: 1.45; margin: 9px 0 14px; }
  .rl-entry-grid { gap: 7px; }
  .rl-entry { gap: 9px; grid-template-columns: 38px 1fr 14px; min-height: 61px; padding: 8px 10px; }
  .rl-entry-icon { border-radius: 10px; height: 38px; width: 38px; }
  .rl-entry-icon svg { height: 20px; width: 20px; }
  .rl-entry strong { font-size: .86rem; line-height: 1.25; }
  .rl-entry small { font-size: .7rem; line-height: 1.3; }
  .rl-entry > i { font-size: .92rem; }

  .rl-catalog { display: none; }
  .rl-overlay { padding: 0; }
  .rl-dialog { border: 0; border-radius: 0; height: 100dvh; max-height: none; }
  .rl-dialog-header { gap: 10px; grid-template-columns: 38px 1fr 38px; padding: calc(8px + env(safe-area-inset-top)) 18px 8px; }
  .rl-circle { height: 38px; width: 38px; }
  .rl-dialog-header h2 { font-size: .96rem; }
  .rl-dialog-header .rl-eyebrow { font-size: .58rem !important; }
  .rl-progress { padding: 8px 30px 5px; }
  .rl-progress-labels span { font-size: .59rem; }
  .rl-progress-track { height: 4px; margin-top: 6px; }
  .rl-dialog-body { padding: 15px 30px 18px; }
  .rl-step-head { margin-bottom: 14px; }
  .rl-step-head h2 { font-size: 1.35rem; }
  .rl-step-head > p:not(.rl-eyebrow) { font-size: .8rem; line-height: 1.4; margin-top: 6px; }
  .rl-family-hero { height: 96px; margin-bottom: 14px; }
  .rl-option-list { gap: 7px; margin-bottom: 13px; }
  .rl-choice-grid, .rl-choice-grid.rl-two { gap: 7px; grid-template-columns: 1fr; margin-bottom: 13px; }
  .rl-option, .rl-choice-grid .rl-option { gap: 9px; grid-template-columns: 38px 1fr 14px; min-height: 60px; padding: 8px 10px; }
  .rl-option-icon { border-radius: 10px; height: 38px; width: 38px; }
  .rl-option-icon svg { height: 20px; width: 20px; }
  .rl-option strong { font-size: .85rem; line-height: 1.25; }
  .rl-option small { font-size: .69rem; line-height: 1.3; }
  .rl-form-grid { gap: 8px; grid-template-columns: 1fr; }
  .rl-field { gap: 4px; }
  .rl-field > span, .rl-contact-method legend { font-size: .8rem; }
  .rl-field input, .rl-field textarea { padding: 9px 11px; }
  .rl-field textarea { max-height: 88px; }
  .rl-contact-method { margin-top: 13px; }
  .rl-summary { gap: 7px; margin-bottom: 13px; }
  .rl-summary section { padding: 10px 12px; }
  .rl-summary h3 { font-size: .9rem; }
  .rl-summary span, .rl-summary small { font-size: .75rem; }
  .rl-consent { font-size: .78rem; }
  .rl-dialog-footer { align-items: stretch; flex-direction: column; gap: 5px; min-height: 0; padding: 7px 30px calc(8px + env(safe-area-inset-bottom)); }
  .rl-step-note { font-size: .7rem; line-height: 1.25; text-align: center; width: 100%; }
  .rl-primary { min-height: 43px; padding-block: 8px; width: 100%; }

  .rl-catalog-head { margin-bottom: 12px; }
  .rl-modal-catalog .rl-search { min-height: 44px; }
  .rl-modal-catalog .rl-search input { font-size: .84rem; padding: 10px; }
  .rl-modal-catalog .rl-search-message { font-size: .72rem; min-height: 20px; }
  .rl-modal-catalog .rl-grid { gap: 7px; grid-template-columns: 1fr; }
  .rl-modal-catalog .rl-family-card { align-items: center; gap: 9px; grid-template-columns: 38px 1fr 14px; min-height: 64px; padding: 9px 10px; }
  .rl-modal-catalog .rl-family-card strong { font-size: .84rem; }
  .rl-modal-catalog .rl-family-card small { font-size: .68rem; line-height: 1.25; }
  .rl-modal-catalog .rl-icon { border-radius: 10px; height: 38px; width: 38px; }
  .rl-modal-catalog .rl-icon svg { height: 20px; width: 20px; }
  .rl-modal-catalog .rl-card-photo { display: none; }
  .rl-modal-catalog .rl-load-more { margin-top: 13px; min-height: 42px; }
}
@media (prefers-reduced-motion: reduce) { .rl-app * { animation-duration: .01ms !important; scroll-behavior: auto !important; transition-duration: .01ms !important; } }
