/* Estilos para la página de programas */
.programas-content {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.programas-content .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.programas-content h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.programas-content p {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.programas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.programa-window {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.programa-window:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.window-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    color: white;
}

.window-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.programa-icon {
    font-size: 2rem;
}

.window-controls {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
    margin-top: 10px;
}

.window-control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
}

.window-control.red { background: #ff5f57; }
.window-control.yellow { background: #ffbd2e; }
.window-control.green { background: #28ca42; }

.window-content {
    padding: 25px;
}

.window-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.programa-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.programa-btn:hover {
    transform: scale(1.05);
}

.programa-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Estilos para tarjetas MAO */
.mao-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mao-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.mao-card:hover::before {
    transform: scaleX(1);
}

.mao-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.mao-card.disabled {
    opacity: 0.7;
    filter: grayscale(50%);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.mao-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.mao-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.mao-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mao-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.mao-btn:hover::before {
    width: 300px;
    height: 300px;
}

.mao-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102,126,234,0.4);
}

.mao-btn:disabled {
    background: linear-gradient(135deg, #ccc 0%, #999 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.mao-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Responsive */
@media (max-width: 768px) {
    .programas-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mao-card {
        padding: 25px;
    }

    .card-icon {
        font-size: 2.5rem;
    }

    .mao-card h3 {
        font-size: 1.3rem;
    }

    .mao-card p {
        font-size: 0.9rem;
    }
}
