/* Página pública «Ver la demo» y banda de aviso dentro de la demo (empresa y trabajador). */
.demo-hero { text-align: center; }
.demo-error { margin: 18px auto 0; max-width: 640px; padding: 12px 16px; border-radius: 12px; background: #fdecea; color: #8a1c14; font-weight: 700; }
.demo-hero { padding-bottom: 120px; }
.demo-hero h1 { max-width: 900px; margin-left: auto; margin-right: auto; }
.demo-hero > p:not(.eyebrow) { max-width: 760px; margin-left: auto; margin-right: auto; }
.demo-choices { position: relative; margin-top: -80px; padding: 0 16px 90px; }
.demo-choices__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1040px; margin: 0 auto; }
.demo-choice { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 32px; overflow: hidden; border: 1px solid #dbe7f2; border-radius: 24px; background: #fff; box-shadow: 0 24px 50px rgba(19, 48, 80, .10); }
.demo-choice::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, #0b67c8, #38bdf8); }
.demo-choice--worker::before { background: linear-gradient(90deg, #7c3aed, #c084fc); }
.demo-choice__head { display: flex; align-items: center; gap: 16px; }
.demo-choice__icon { flex: 0 0 auto; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; background: #eaf4ff; color: #0b67c8; }
.demo-choice--worker .demo-choice__icon { background: #f3ecff; color: #7c3aed; }
.demo-choice__kicker { margin: 0 0 2px; color: #0b67c8; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.demo-choice--worker .demo-choice__kicker { color: #7c3aed; }
.demo-choice h2 { margin: 0; color: #0b2a52; font-size: 26px; line-height: 1.15; letter-spacing: -.5px; }
.demo-choice > p { margin: 0; color: #4d6580; font-size: 16px; line-height: 1.55; }
.demo-choice__list { display: grid; gap: 10px; margin: 0; padding: 18px 0 0; border-top: 1px solid #eef3f8; list-style: none; }
.demo-choice__list li { position: relative; padding-left: 30px; color: #243b57; font-size: 15px; line-height: 1.4; }
.demo-choice__list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: #e3f5ea; }
.demo-choice__list li::after { content: ""; position: absolute; left: 7px; top: 5px; width: 5px; height: 9px; border: solid #168a4a; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.demo-choice__form { margin-top: auto; padding-top: 8px; }
.demo-choice .button { width: 100%; justify-content: center; }
.demo-choice--worker .button { background: #7c3aed; border-color: #7c3aed; }
.demo-choice--worker .button:hover { background: #6d28d9; border-color: #6d28d9; }
.demo-choices__note { margin: 22px auto 0; color: #61748b; font-size: 14px; text-align: center; }
@media (max-width: 760px) {
    .demo-hero { padding-bottom: 100px; }
    .demo-choices__grid { grid-template-columns: 1fr; }
    .demo-choice { padding: 24px 20px; }
    .demo-choice h2 { font-size: 22px; }
}

.demo-busy { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 16px; background: rgba(12, 28, 48, .55); }
.demo-busy[hidden] { display: none; }
.demo-busy__box { display: grid; justify-items: center; gap: 10px; width: min(420px, 100%); box-sizing: border-box; padding: 30px 26px; border-radius: 18px; background: #fff; text-align: center; box-shadow: 0 24px 60px rgba(8, 24, 44, .35); }
.demo-busy__box strong { color: #142238; font-size: 19px; }
.demo-busy__box p { margin: 0; color: #4d6580; font-size: 14px; }
.demo-busy__spinner { width: 50px; height: 50px; border: 5px solid #dbe8f6; border-top-color: #0b67c8; border-radius: 50%; animation: demo-spin .9s linear infinite; }
@keyframes demo-spin { to { transform: rotate(360deg); } }

/* Banda fija dentro de la demo */
.demo-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; padding: 9px 16px; background: linear-gradient(90deg, #0b67c8, #7c3aed); color: #fff; font-size: 13.5px; font-weight: 600; text-align: center; }
.demo-banner strong { font-weight: 900; }
.demo-banner a { padding: 5px 12px; border-radius: 999px; background: #fff; color: #0b3f82; font-weight: 900; text-decoration: none; white-space: nowrap; }
.demo-banner a:hover { background: #eaf4ff; }
