/* ==========================================================================
   REGULUS — alma: precisión del tiempo. Panel de control sobre cielo azul, escena
   clara en escalera, mapa de sedes y planes en tabla de dos filas.
   ========================================================================== */
body.rg { --c: #0c5078; --cg: #7cc0f5; }

/* ---------- Hero: titular centrado + panel que emerge ---------- */
.hp.rg { min-height: 0; padding-bottom: 0; }
.hp.rg .hp-top { padding-top: clamp(30px, 5vh, 64px); }
.hp.rg h1 { max-width: 20ch; }
.rg-cta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: clamp(20px, 3vh, 30px); pointer-events: auto; }
.rg-mock { position: relative; z-index: 2; width: min(1080px, 94%); margin: clamp(30px, 5vh, 56px) auto -110px; perspective: 1700px; }
.rg-chip { position: absolute; z-index: 4; display: flex; gap: 10px; align-items: center; padding: 9px 14px 9px 10px; border-radius: 14px; background: rgba(255,255,255,.96); color: #0f172a; font-size: .84rem; box-shadow: 0 18px 40px -14px rgba(0,0,0,.55); opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
.rg-chip.on { opacity: 1; transform: none; }
.rg-chip .av { width: 30px; height: 30px; border-radius: 50%; background: #e1ecf4; color: #0c5078; display: grid; place-items: center; font-weight: 700; font-size: .7rem; flex: none; }
.rg-chip b { display: block; font-weight: 600; } .rg-chip small { color: #64748b; font-size: .72rem; display: block; }
.rg-chip .bd { margin-left: 8px; font-size: .68rem; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: #d1fae5; color: #047857; } .rg-chip .bd.t { background: #fef3c7; color: #b45309; }
.rg-chip.c1 { left: 4%; top: -34px; } .rg-chip.c2 { right: 4%; top: -34px; } .rg-chip.c3 { display: none; }
@media (max-width: 1100px) { .rg-chip { display: none; } }
@media (max-width: 760px) { .rg-mock { margin-bottom: -60px; } }

/* ---------- Franja de tres garantías ---------- */
.rg-strip { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--paper); margin-top: 40px; }
.rg-strip > div { padding: 30px 28px; display: grid; gap: 10px; align-content: start; border-left: 1px dashed #bdb7a5; }
.rg-strip > div:first-child { border-left: 0; }
.rg-strip svg { width: 22px; height: 22px; color: var(--reg); }
.rg-strip h3 { font-size: 1.15rem; letter-spacing: -.02em; }
.rg-strip p { color: var(--mut); font-size: .95rem; }
@media (max-width: 800px) { .rg-strip { grid-template-columns: 1fr; } .rg-strip > div { border-left: 0; border-top: 1px dashed #bdb7a5; } .rg-strip > div:first-child { border-top: 0; } }

/* ---------- Escena clara "del marcaje al reporte" ---------- */
.story.light { background: var(--paper); color: var(--ink); height: 440vh; }
.story.light .story-pin::before { background-image: linear-gradient(rgba(28,27,24,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(28,27,24,.045) 1px, transparent 1px); opacity: 1; }
.story.light .story-grid { grid-template-columns: .62fr 1.38fr; gap: clamp(20px, 3vw, 48px); }
.story.light .eyebrow { color: var(--reg); }
.story.light .story-text h2 { color: var(--ink); }
.story.light .sst { border-color: #d3cebd; opacity: .45; }
.story.light .sst.on { opacity: 1; }
.story.light .sst .n { color: var(--mut); } .story.light .sst h3 { color: var(--ink2); } .story.light .sst p { color: var(--mut); }
.story.light .sst.on .n { color: var(--reg); } .story.light .sst.on h3 { color: var(--ink); }
.story.light .story-bar { background: #d3cebd; } .story.light .story-bar i { background: var(--reg); }
.story.light .story-stage { max-width: 1000px; height: min(82svh, 760px); }
.story.light .st-trace { stroke: #cdc7b6; stroke-width: 2.4; }
.story.light .st-lit { stroke: #0c5078; filter: none; stroke-width: 3; }
.story.light .st-card { fill: #fff; stroke: #d5cfbf; stroke-width: 1.4; filter: drop-shadow(0 14px 22px rgba(28,27,24,.08)); }
.story.light .st-hot { fill: #0c5078; }
.story.light .ink { fill: #1c1b18; font-family: 'Geist', sans-serif; } .story.light .ink2 { fill: #3d3a33; font-family: 'Geist', sans-serif; }
.story.light .lab2 { fill: #8a8577; font-family: 'Geist Mono', monospace; text-transform: uppercase; } .story.light .lab3 { fill: #6b675c; font-family: 'Geist', sans-serif; }
@media (max-width: 900px) { .story.light { height: 380vh; } .story.light .story-grid { grid-template-columns: 1fr; } .story.light .story-stage { height: 52svh; } .story.light .sst.on { display: grid; } }

/* ---------- Pantallas (pestañas) ---------- */
.rg-scr .sc-stage { background: color-mix(in srgb, #0c5078 12%, var(--paper2)); }
.rg-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 8px; border-top: 1px solid var(--line); }
.rg-notes > div { padding: 18px 22px 0 0; }
.rg-notes b { display: block; font-weight: 500; font-size: 1.1rem; letter-spacing: -.02em; }
.rg-notes span { color: var(--mut); font-family: var(--serif); font-size: 1.05rem; line-height: 1.4; display: block; margin-top: 6px; }
@media (max-width: 800px) { .rg-notes { grid-template-columns: 1fr; } }

/* ---------- Multisucursal ---------- */
.rg-map { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(20px, 4vw, 70px); align-items: center; }
.rg-map .bo-stage { max-height: 80vh; }
.rg-branches { display: grid; gap: 10px; margin-top: 26px; }
.rg-br { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 18px; border: 1px dashed #3a3a36; background: rgba(255,255,255,.02); transition: border-color .3s, background .3s; }
.rg-br.on { border-color: var(--reg-g); background: rgba(124,192,245,.07); }
.rg-br i { width: 10px; height: 10px; border-radius: 50%; background: #55554e; transition: background .3s, box-shadow .3s; } .rg-br.on i { background: var(--reg-g); box-shadow: 0 0 0 4px rgba(124,192,245,.22); }
.rg-br b { font-weight: 500; color: #fff; display: block; } .rg-br small { color: #8d897d; font-size: .82rem; }
.rg-br .n { font-family: 'Geist Mono', monospace; color: #fff; font-size: 1.2rem; letter-spacing: -.04em; text-align: right; } .rg-br .n small { display: block; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
.rg-bl { display: grid; gap: 0; margin-top: 22px; border-top: 1px solid #2a2a26; } .rg-bl li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #2a2a26; color: #cfcbbe; font-size: .95rem; } .rg-bl svg { width: 18px; height: 18px; color: var(--reg-g); flex: none; margin-top: 2px; }
@media (max-width: 960px) { .rg-map { grid-template-columns: 1fr; } }

/* ---------- Planes en tabla ---------- */
.plans2 { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px dashed #bdb7a5; background: var(--white); }
.plans2 > div { padding: 26px 24px 28px; display: grid; gap: 12px; align-content: start; border-left: 1px dashed #bdb7a5; position: relative; transition: background .3s; }
.plans2 > div:first-child { border-left: 0; }
.plans2 > div:hover { background: #fff; }
.plans2 .nm { font-family: 'Geist Mono', monospace; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--reg); }
.plans2 .cap { font-family: 'Geist Mono', monospace; font-size: 2.6rem; letter-spacing: -.06em; line-height: 1; font-weight: 500; }
.plans2 .cap small { display: block; font: 400 .8rem 'Geist', sans-serif; letter-spacing: 0; color: var(--mut); margin-top: 8px; }
.plans2 .br { display: inline-flex; gap: 8px; align-items: center; font-size: .86rem; color: var(--ink2); font-weight: 500; } .plans2 .br svg { width: 15px; height: 15px; color: var(--reg); }
.plans2 p { color: var(--mut); font-family: var(--serif); font-size: 1.02rem; line-height: 1.38; }
.plans2 .go { margin-top: 6px; font-weight: 500; font-size: .9rem; display: inline-flex; gap: 8px; align-items: center; color: var(--reg); } .plans2 .go svg { width: 14px; height: 14px; transition: transform .3s var(--ease); } .plans2 > div:hover .go svg { transform: translateX(4px); }
.plan-more { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 22px 26px; border: 1px dashed #bdb7a5; border-top: 0; background: var(--paper); }
.plan-more b { font-weight: 500; font-size: 1.1rem; letter-spacing: -.02em; } .plan-more span { color: var(--mut); font-size: .95rem; display: block; max-width: 60ch; }
.plan-notes { margin-top: 18px; display: grid; gap: 6px; color: var(--mut); font-size: .88rem; }
@media (max-width: 1000px) { .plans2 { grid-template-columns: 1fr 1fr; } .plans2 > div:nth-child(3) { border-left: 0; } .plans2 > div:nth-child(n+3) { border-top: 1px dashed #bdb7a5; } }
@media (max-width: 560px) { .plans2 { grid-template-columns: 1fr; } .plans2 > div { border-left: 0; border-top: 1px dashed #bdb7a5; } .plans2 > div:first-child { border-top: 0; } }
.still .story.light { height: auto; } .still .story.light .story-pin { height: 760px; }
@media (max-width: 760px) { .hp.rg .hp-sky { position: absolute; inset: 0; height: auto; margin: 0; } }

.rg-chip .bd.e { background: #dbeafe; color: #1d4ed8; }
