/* ==========================================================================
   Gráficos de los programas (ref/partials/programa-arte.blade.php) y franjas
   que los muestran fuera de /programas (portada y fichas de producto).
   Autocontenido: no depende de las variables de programas.css ni de home.css.
   ========================================================================== */
.pg-art {
    --c: #00d4ff;
    border-radius: 14px; overflow: hidden; text-align: left;
    background: #0b1020; border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
.pg-art--lg { zoom: 1.3; }
@media (max-width: 991px) {
    .pg-art--lg { zoom: 1; }
}
.pg-art-bar {
    display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px;
    background: rgba(255, 255, 255, .05); border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.pg-art-bar span { flex: 1; font-size: 11.5px; line-height: 1; font-weight: 600; color: rgba(255, 255, 255, .72); }
.pg-art-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.pg-art-body {
    padding: 14px;
    background: radial-gradient(90% 120% at 100% 0, color-mix(in srgb, var(--c) 24%, transparent), transparent 62%);
}
.pg-art em {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 9px; border-radius: 7px; font-style: normal;
    font-size: 10.5px; line-height: 1.2; font-weight: 600; color: rgba(255, 255, 255, .72);
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08);
}
.pg-art em i { font-size: 11.5px; }
.pg-art em.on { color: #04121c; background: var(--c); border-color: transparent; }
.pg-art-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }

/* RGUARD: el aula, una miniatura por computadora */
.pg-aula { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pg-pc-screen {
    aspect-ratio: 16 / 10; padding: 6px; border-radius: 6px;
    display: flex; flex-direction: column; justify-content: center; gap: 4px;
    background: #141b30; border: 1px solid rgba(255, 255, 255, .1);
}
.pg-pc-screen b { display: block; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .2); }
.pg-pc-screen b:nth-child(1) { width: 70%; background: color-mix(in srgb, var(--c) 70%, #fff); }
.pg-pc-screen b:nth-child(2) { width: 92%; }
.pg-pc-screen b:nth-child(3) { width: 48%; }
.pg-pc--web .pg-pc-screen b:nth-child(1) { background: #60a5fa; }
.pg-pc-screen i { align-self: center; font-size: 15px; line-height: 1; }
.pg-pc--lock .pg-pc-screen { background: color-mix(in srgb, var(--c) 18%, #141b30); border-color: var(--c); color: var(--c); }
.pg-pc--alert .pg-pc-screen { border-color: rgba(248, 113, 113, .8); color: #f87171; }
.pg-pc--off .pg-pc-screen { color: rgba(255, 255, 255, .3); background: #0d1222; }
.pg-pc small { display: block; margin-top: 4px; text-align: center; font-size: 9.5px; line-height: 1.2; color: rgba(255, 255, 255, .5); }
.pg-art-note {
    display: flex; align-items: center; gap: 7px; margin-top: 12px; padding: 7px 10px; border-radius: 9px;
    font-size: 11px; line-height: 1.3; color: rgba(255, 255, 255, .82); background: rgba(255, 255, 255, .06);
}
.pg-art-note i { color: var(--c); font-size: 13px; }

/* RCompu: temporizador de apagado + sus cuatro funciones */
.pg-compu { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: center; }
.pg-compu-timer small { display: block; font-size: 10px; line-height: 1.2; letter-spacing: .8px; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.pg-compu-timer strong { display: block; margin: 6px 0 10px; font-size: 30px; line-height: 1; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.5px; }
.pg-art-progress { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.pg-art-progress span { display: block; width: 62%; height: 100%; border-radius: inherit; background: var(--c); }
.pg-compu-tiles { display: grid; gap: 6px; }
.pg-compu-tiles em { justify-content: flex-start; }

/* Genérico */
.pg-art-generic { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.pg-art-logo {
    width: 64px; height: 64px; border-radius: 18px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; font-weight: 700; color: #fff;
    background: linear-gradient(145deg, color-mix(in srgb, var(--c) 85%, #fff), color-mix(in srgb, var(--c) 60%, #000));
}
.pg-art-logo img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Franja que presenta un programa en una página clara (portada, ficha de producto) ---- */
.rs-banda { padding: 30px 0 90px; }
.rs-banda-card {
    --c: #00d4ff;
    display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center;
    padding: 44px 48px; border-radius: 22px; color: #fff;
    background:
        radial-gradient(60% 110% at 0 100%, rgba(0, 102, 255, .28), transparent 62%),
        radial-gradient(50% 90% at 100% 0, color-mix(in srgb, var(--c) 22%, transparent), transparent 62%),
        linear-gradient(160deg, #0d1424, #070b14);
}
.rs-banda-kicker {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 6px 14px; border-radius: 100px;
    font-size: 12px; line-height: 1.3; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
    color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
}
.rs-banda-kicker i { color: var(--c); font-size: 14px; }
.rs-banda-card h2 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; font-weight: 700; letter-spacing: -1px; color: #fff; }
.rs-banda-card p { margin: 0 0 24px; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .72); max-width: 460px; }
.rs-banda-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.rs-banda-btn {
    display: inline-flex; align-items: center; gap: 9px; min-height: 50px; padding: 0 24px; border-radius: 100px;
    font-size: 16px; font-weight: 700; color: #0d1424 !important; background: #fff; transition: transform .2s, box-shadow .2s;
}
.rs-banda-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, .35); }
.rs-banda-link { font-weight: 600; color: #fff !important; border-bottom: 2px solid var(--c); padding-bottom: 3px; }
.rs-banda-link i { margin-left: 6px; font-size: 13px; }
.rs-banda-meta { display: block; margin-top: 20px; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .5); }
@media (max-width: 991px) {
    .rs-banda { padding: 20px 0 64px; }
    .rs-banda-card { grid-template-columns: 1fr; gap: 30px; padding: 32px 24px; }
    .rs-banda-card p { max-width: none; }
}
@media (max-width: 480px) {
    .pg-compu { grid-template-columns: 1fr; }
    .rs-banda-btn { width: 100%; justify-content: center; }
}
