.public-body { position: relative; overflow-x: hidden; background:
    radial-gradient(circle at 20% 10%, rgba(0,184,255,.18), transparent 28rem),
    radial-gradient(circle at 85% 8%, rgba(255,193,7,.14), transparent 22rem),
    linear-gradient(180deg, #070B14, #05070D 60%, #070B14); }
.page-glow { position: fixed; pointer-events: none; width: 32rem; height: 32rem; filter: blur(40px); opacity: .2; border-radius: 999px; }
.page-glow--blue { left: -10rem; top: 6rem; background: var(--electric-blue); }
.page-glow--yellow { right: -12rem; top: 12rem; background: var(--brand-yellow); }
.public-navbar { width: min(1180px, calc(100% - 32px)); margin: 18px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem; border: 1px solid var(--border-soft); border-radius: 24px; background: rgba(7,11,20,.72); backdrop-filter: blur(18px); position: sticky; top: 12px; z-index: 20; }
.public-navlinks { display: flex; gap: 1rem; color: var(--text-soft); font-weight: 700; }
.public-navlinks a { padding: .75rem; border-radius: 14px; transition: var(--transition-fast); }
.public-navlinks a:hover { color: var(--text-main); background: rgba(255,255,255,.08); }
.hero { width: min(1180px, calc(100% - 32px)); margin: 72px auto 0; display: grid; grid-template-columns: 1.08fr .92fr; gap: 2rem; align-items: center; }
.hero h1 { font-family: Poppins, Inter, sans-serif; font-size: clamp(2.55rem, 5vw, 5.7rem); line-height: .95; margin: 1rem 0; letter-spacing: -.06em; }
.hero p { color: var(--text-soft); font-size: 1.14rem; line-height: 1.8; max-width: 660px; }
.hero-actions, .trust-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.3rem; }
.trust-row span { display: inline-flex; align-items: center; gap: .5rem; color: var(--text-muted); font-weight: 800; }
.hero-card { padding: 1.4rem; min-height: 550px; display: grid; gap: 1.2rem; align-content: center; position: relative; overflow: hidden; }
.hero-card::before { content: ''; position: absolute; inset: -2px; background: radial-gradient(circle at 70% 0%, rgba(0,184,255,.2), transparent 18rem), radial-gradient(circle at 20% 100%, rgba(255,193,7,.18), transparent 14rem); pointer-events: none; }
.hero-logo { position: relative; border-radius: 24px; border: 1px solid rgba(255,255,255,.14); background: #fff; padding: .35rem; }
.route-preview { position: relative; display: grid; gap: .9rem; }
.route-line { position: absolute; left: 24px; top: 18px; bottom: 18px; width: 2px; background: linear-gradient(var(--electric-blue), var(--brand-yellow)); }
.route-stop { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: .8rem; padding: 1rem; border-radius: 20px; background: rgba(255,255,255,.07); border: 1px solid var(--border-soft); }
.route-stop span { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--brand-yellow); font-weight: 900; }
.route-stop strong, .route-stop small { grid-column: 2; }
.route-stop strong { margin-top: -48px; }
.route-stop small { color: var(--text-muted); margin-top: -18px; }
.route-stop.is-current { border-color: var(--border-blue); box-shadow: var(--shadow-blue); }
.route-stop.is-done span { background: rgba(34,197,94,.16); color: var(--success); }
.section { width: min(1180px, calc(100% - 32px)); margin: 86px auto 0; }
.section-heading { text-align: center; max-width: 760px; margin: 0 auto 2rem; }
.section-heading h2, .split-section h2 { font-family: Poppins, Inter, sans-serif; font-size: clamp(2rem, 3vw, 3.4rem); margin: .6rem 0; letter-spacing: -.04em; }
.section-heading p, .split-section p { color: var(--text-soft); line-height: 1.75; }
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.module-card { padding: 1.25rem; transition: var(--transition-fast); }
.module-card:hover { transform: translateY(-6px); border-color: var(--border-blue); box-shadow: var(--shadow-blue); }
.module-card h3 { font-size: 1.2rem; margin: 1rem 0 .4rem; }
.module-card p { color: var(--text-muted); line-height: 1.65; }
.split-section { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1rem; margin-bottom: 72px; }
.glass-card { padding: 1.35rem; }
.check-list { display: grid; gap: .75rem; padding: 0; list-style: none; }
.check-list li { display: flex; gap: .75rem; color: var(--text-soft); }
.public-footer { width: min(1180px, calc(100% - 32px)); margin: 48px auto 24px; display: flex; justify-content: space-between; color: var(--text-muted); }
.auth-wrap { min-height: 78vh; display: grid; place-items: center; padding: 3rem 1rem; }
.auth-card { width: min(480px, 100%); padding: 1.4rem; }
.auth-brand img { width: 100%; border-radius: 22px; background: #fff; margin-bottom: 1rem; }
.auth-brand h1 { font-family: Poppins, Inter, sans-serif; font-size: 2.2rem; margin: .45rem 0; }
.auth-brand p { color: var(--text-soft); line-height: 1.65; }
.form-stack { display: grid; gap: 1rem; margin-top: 1.25rem; }
.form-stack label { display: grid; gap: .45rem; color: var(--text-soft); font-weight: 800; }
.form-stack select, .form-stack input { border: 1px solid var(--border-soft); background: rgba(255,255,255,.06); color: var(--text-main); border-radius: var(--radius-input); min-height: 54px; padding: 0 1rem; outline: none; }
.form-stack option { background: var(--bg-card); color: var(--text-main); }
.error-page { min-height: 70vh; display: grid; place-items: center; padding: 2rem; }
@media (max-width: 960px) { .hero, .split-section { grid-template-columns: 1fr; } .module-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .public-navbar { border-radius: 20px; } .public-actions .btn { min-height: 42px; padding: .65rem .85rem; } .module-grid { grid-template-columns: 1fr; } .hero { margin-top: 42px; } .hero-card { min-height: auto; } .public-footer { flex-direction: column; gap: .6rem; } }

.auth-card--wide { width: min(760px, 100%); }
.auth-link { color: var(--electric-blue); font-weight: 900; text-align: center; transition: var(--transition-fast); }
.auth-link:hover { color: var(--brand-yellow); }
.demo-credentials { margin-top: 1.25rem; border-top: 1px solid var(--border-soft); padding-top: 1rem; }
.credential-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-top: .75rem; }
.credential-grid button { text-align: left; border: 1px solid var(--border-soft); border-radius: 18px; color: var(--text-main); background: rgba(255,255,255,.055); padding: .85rem; cursor: pointer; transition: var(--transition-fast); }
.credential-grid button:hover { transform: translateY(-3px); border-color: var(--border-blue); box-shadow: var(--shadow-blue); }
.credential-grid strong { display: block; font-family: 'Space Grotesk', Inter, sans-serif; }
.credential-grid small { color: var(--text-muted); display: block; margin-top: .2rem; overflow-wrap: anywhere; }
.form-stack input:focus, .form-stack select:focus { border-color: var(--border-blue); box-shadow: var(--shadow-blue); background: rgba(0,184,255,.08); }
@media (max-width: 640px) { .credential-grid { grid-template-columns: 1fr; } .auth-card--wide { width: min(480px, 100%); } }

/* Bloque 18 · Landing premium refinada */
.public-navbar { box-shadow: 0 18px 60px rgba(0,0,0,.32); }
.public-body main { position: relative; z-index: 1; }
.hero-copy { position: relative; }
.hero-copy::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: -1rem;
    width: 7rem;
    height: 7rem;
    border-radius: 2rem;
    background: linear-gradient(135deg, rgba(255,193,7,.13), transparent);
    pointer-events: none;
    z-index: -1;
}
.hero h1 strong,
.gradient-text {
    background: linear-gradient(135deg, var(--brand-yellow), var(--electric-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-card { box-shadow: 0 28px 80px rgba(0,0,0,.45), 0 0 38px rgba(0,184,255,.14); }
.module-card { min-height: 220px; }
.module-card .icon-bubble { transition: var(--transition-fast); }
.module-card:hover .icon-bubble { transform: scale(1.05) rotate(-2deg); }
.check-list li i { color: var(--brand-yellow); flex: 0 0 auto; }
.auth-card { box-shadow: 0 28px 80px rgba(0,0,0,.42), 0 0 35px rgba(0,184,255,.16); }
.auth-brand img { max-height: 230px; object-fit: contain; }
.form-stack .btn { width: 100%; }

@media (max-width: 760px) {
    .public-navbar { width: calc(100% - 20px); margin-top: 10px; }
    .public-actions .btn { width: auto; }
    .hero h1 { font-size: clamp(2.25rem, 12vw, 4rem); }
    .hero p { font-size: 1rem; }
    .hero-actions { display: grid; grid-template-columns: 1fr; }
    .hero-actions .btn { width: 100%; }
    .trust-row { display: grid; grid-template-columns: 1fr; }
    .section { margin-top: 58px; }
    .auth-wrap { padding: 1rem; align-items: start; }
    .auth-card { padding: 1rem; }
}

/* Bloque 22.1 · Logos limpios sobre fondo oscuro */
.hero-logo,
.auth-brand img {
    background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
    border: 1px solid rgba(255,255,255,.12);
    padding: 1rem;
    object-fit: contain;
    box-shadow: 0 24px 70px rgba(0,0,0,.32);
}
.hero-logo { max-height: 320px; width: 100%; }
.auth-brand img { max-height: 250px; }
@media (max-width: 640px) {
    .hero-logo { max-height: 230px; padding: .75rem; }
    .auth-brand img { max-height: 180px; padding: .75rem; }
}
